poikilos
6 years ago
committed by
Jacob Gustafson
15 changed files with 498 additions and 22 deletions
@ -0,0 +1,94 @@ |
|||
codermobs = {} |
|||
mobs_param = {} |
|||
|
|||
codermobs.modname = minetest.get_current_modname() |
|||
codermobs.modpath = minetest.get_modpath (codermobs.modname) |
|||
local mp = codermobs.modpath |
|||
|
|||
local enable_moontest = |
|||
minetest.setting_getbool ("enable_moon" ) or |
|||
minetest.setting_getbool ("enable_moontest" ) |
|||
|
|||
-- =================================================================== |
|||
-- These must come first. |
|||
|
|||
dofile (mp .. "/globals.lua" ) |
|||
dofile (mp .. "/util.lua" ) |
|||
dofile (mp .. "/animal_materials.lua" ) |
|||
dofile (mp .. "/vombie_flame.lua" ) |
|||
|
|||
-- =================================================================== |
|||
|
|||
dofile (mp .. "/badger.lua" ) |
|||
dofile (mp .. "/bat.lua" ) |
|||
dofile (mp .. "/bear.lua" ) |
|||
dofile (mp .. "/bee.lua" ) |
|||
dofile (mp .. "/beetle.lua" ) |
|||
|
|||
dofile (mp .. "/bird.lua" ) |
|||
dofile (mp .. "/bug.lua" ) |
|||
dofile (mp .. "/bunny.lua" ) |
|||
dofile (mp .. "/butterfly.lua" ) |
|||
dofile (mp .. "/cacodemon.lua" ) |
|||
|
|||
dofile (mp .. "/car.lua" ) |
|||
dofile (mp .. "/chicken.lua" ) |
|||
dofile (mp .. "/cow.lua" ) |
|||
dofile (mp .. "/cyberdemon.lua" ) |
|||
|
|||
dofile (mp .. "/deer.lua" ) |
|||
dofile (mp .. "/dirt_monster.lua" ) |
|||
dofile (mp .. "/dog.lua" ) |
|||
dofile (mp .. "/elephant.lua" ) |
|||
dofile (mp .. "/elk.lua" ) |
|||
|
|||
dofile (mp .. "/farhorse.lua" ) |
|||
dofile (mp .. "/flying_pig.lua" ) |
|||
dofile (mp .. "/ghost.lua" ) |
|||
dofile (mp .. "/goat.lua" ) |
|||
dofile (mp .. "/hedgehog.lua" ) |
|||
|
|||
dofile (mp .. "/jeraf.lua" ) |
|||
dofile (mp .. "/kitten.lua" ) |
|||
dofile (mp .. "/lava_flan.lua" ) |
|||
dofile (mp .. "/lostsoul.lua" ) |
|||
dofile (mp .. "/lott_spider.lua" ) |
|||
|
|||
dofile (mp .. "/mammoth.lua" ) |
|||
dofile (mp .. "/mdskeleton.lua" ) |
|||
dofile (mp .. "/oerkki.lua" ) |
|||
dofile (mp .. "/ostrich.lua" ) |
|||
dofile (mp .. "/owl.lua" ) |
|||
|
|||
dofile (mp .. "/panda.lua" ) |
|||
dofile (mp .. "/penguin.lua" ) |
|||
dofile (mp .. "/plane.lua" ) |
|||
dofile (mp .. "/polar_bear.lua" ) |
|||
dofile (mp .. "/rat.lua" ) |
|||
|
|||
dofile (mp .. "/rat_better.lua" ) |
|||
dofile (mp .. "/sacreeper.lua" ) |
|||
dofile (mp .. "/santa.lua" ) |
|||
dofile (mp .. "/sheep.lua" ) |
|||
dofile (mp .. "/silverfish.lua" ) |
|||
|
|||
dofile (mp .. "/snake_garter.lua" ) |
|||
dofile (mp .. "/snake_ice.lua" ) |
|||
dofile (mp .. "/snowman.lua" ) |
|||
dofile (mp .. "/tree_monster.lua" ) |
|||
dofile (mp .. "/vombie.lua" ) |
|||
|
|||
dofile (mp .. "/warthog.lua" ) |
|||
dofile (mp .. "/wolf.lua" ) |
|||
dofile (mp .. "/zebra.lua" ) |
|||
|
|||
dofile (mp .. "/baby_chick.lua" ) |
|||
|
|||
-- Moon Cow must be defined after regular cow. |
|||
|
|||
if enable_moontest then |
|||
dofile (mp .. "/mooncow.lua") |
|||
end |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
@ -0,0 +1,100 @@ |
|||
-- Sapier Creeper. Descended from Sapier version. |
|||
|
|||
-- =================================================================== |
|||
-- Media license. Applies to model but not associated texture. |
|||
-- |
|||
-- You may copy, use, modify or do nearly anything but remove this |
|||
-- copyright notice. Of course, you're not allowed to pretend you've |
|||
-- created or written the Sapier pieces. |
|||
-- |
|||
-- CC-BY-SA 3.0. Attribution: Sapier. |
|||
|
|||
-- =================================================================== |
|||
|
|||
local lcname = "sacreeper" |
|||
local ucname = "Sapier Creeper" |
|||
local msname = "codermobs_" .. lcname |
|||
local obj_name = "codermobs:" .. lcname |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param = { |
|||
lcname = lcname , |
|||
ucname = ucname , |
|||
obj_name = obj_name , |
|||
|
|||
aoc = 1 , |
|||
obr = 1 , |
|||
day_mode = false , |
|||
min_light = 0 , |
|||
max_light = 7 , |
|||
min_height = 1 , |
|||
max_height = 200 , |
|||
spawn_chance = 50000 , |
|||
spawn_type = "monster" , |
|||
|
|||
spawn_nodes = { |
|||
"default:desert_sand" , |
|||
"default:silver_sand" , |
|||
} , |
|||
|
|||
add_egg = true , |
|||
egg_image = "default_brick.png" , |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.adjust_param() |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param.core_param = { |
|||
type = mobs_param.spawn_type , |
|||
makes_footstep_sound = true , |
|||
|
|||
armor = 100 , |
|||
attack_animals = false , |
|||
attack_type = "explode" , |
|||
damage = 3 , |
|||
explosion_radius = 3 , |
|||
fall_damage = 0 , |
|||
hp_min = 7 , |
|||
hp_max = 33 , |
|||
jump = true , |
|||
lava_damage = 0 , |
|||
light_damage = 2 , |
|||
passive = false , |
|||
reach = 2 , |
|||
run_velocity = 2 , |
|||
view_range = 4 , |
|||
walk_velocity = 1 , |
|||
water_damage = 0 , |
|||
floats = 0, |
|||
|
|||
drops = { |
|||
{ name = "default:apple" , |
|||
chance = 2, min = 1, max = 3 } , |
|||
}, |
|||
|
|||
sounds = { |
|||
random = "codermobs_sacreeper_random" , |
|||
explode = "codermobs_sacreeper_explode" , |
|||
} , |
|||
|
|||
textures = { |
|||
{ "codermobs_sacreeper_mesh.png" } , |
|||
}, |
|||
|
|||
collisionbox = { -0.9, -0.9, -0.9, 0.9, 0.9, 0.9 } , |
|||
visual_size = { x=0.9, y=0.9 } , |
|||
mesh = "codermobs_sacreeper.b3d" , |
|||
visual = "mesh" , |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.setup_mob() |
|||
codermobs.log_done() |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
@ -0,0 +1,115 @@ |
|||
-- BOM. Descended from Sapier Creeper. |
|||
|
|||
-- =================================================================== |
|||
-- Media license. Applies to model and texture. |
|||
-- |
|||
-- You may copy, use, modify or do nearly anything but remove this |
|||
-- copyright notice. Of course, you're not allowed to pretend you've |
|||
-- created or written the Poikilos and OldCoder pieces. |
|||
-- |
|||
-- CC-BY-SA 3.0. Attribution: Poikilos and OldCoder. |
|||
|
|||
-- =================================================================== |
|||
|
|||
local lcname = "bom" |
|||
local ucname = "BOM" |
|||
local msname = "codermobs_" .. lcname |
|||
local obj_name = "codermobs:" .. lcname |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param = { |
|||
lcname = lcname , |
|||
ucname = ucname , |
|||
obj_name = obj_name , |
|||
|
|||
aoc = 1 , |
|||
obr = 1 , |
|||
day_mode = false , |
|||
min_light = 0 , |
|||
max_light = 7 , |
|||
min_height = 1 , |
|||
max_height = 200 , |
|||
spawn_chance = 50000 , |
|||
spawn_type = "monster" , |
|||
|
|||
spawn_nodes = { |
|||
"default:desert_sand" , |
|||
"default:silver_sand" , |
|||
} , |
|||
|
|||
add_egg = true , |
|||
egg_image = "default_brick.png" , |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.adjust_param() |
|||
|
|||
-- =================================================================== |
|||
|
|||
mobs_param.core_param = { |
|||
type = mobs_param.spawn_type , |
|||
makes_footstep_sound = true , |
|||
|
|||
armor = 100 , |
|||
attack_animals = false , |
|||
attack_type = "explode" , |
|||
damage = 3 , |
|||
explosion_radius = 3 , |
|||
fall_damage = 0 , |
|||
hp_min = 7 , |
|||
hp_max = 33 , |
|||
jump = true , |
|||
lava_damage = 0 , |
|||
light_damage = 2 , |
|||
passive = false , |
|||
reach = 2 , |
|||
run_velocity = 2 , |
|||
view_range = 4 , |
|||
walk_velocity = 1 , |
|||
water_damage = 0 , |
|||
floats = 0, |
|||
|
|||
drops = { |
|||
{ name = "default:apple" , |
|||
chance = 2, min = 1, max = 3 } , |
|||
}, |
|||
|
|||
sounds = { |
|||
random = "codermobs_sacreeper_random" , |
|||
explode = "codermobs_sacreeper_explode" , |
|||
} , |
|||
|
|||
textures = { |
|||
{ "codermobs_bom_mesh.png" } , |
|||
}, |
|||
|
|||
animation = { |
|||
-- speed_normal = 10 , |
|||
speed_normal = 5 , |
|||
stand_start = 1 , |
|||
stand_end = 29 , |
|||
walk_start = 31 , |
|||
walk_end = 50 , |
|||
-- speed_run = 20 , |
|||
speed_run = 10 , |
|||
run_start = 31 , |
|||
run_end = 50 , |
|||
}, |
|||
|
|||
collisionbox = { -0.65, 0, -0.65, 0.65, 1.75, 0.65 } , |
|||
visual_size = { x=0.9, y=0.9 } , |
|||
-- visual_scale = 1 , |
|||
visual_scale = 2 , |
|||
mesh = "codermobs_bom.b3d" , |
|||
visual = "mesh" , |
|||
} |
|||
|
|||
-- =================================================================== |
|||
|
|||
codermobs.setup_mob() |
|||
codermobs.log_done() |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
@ -0,0 +1,94 @@ |
|||
codermobs = {} |
|||
mobs_param = {} |
|||
|
|||
codermobs.modname = minetest.get_current_modname() |
|||
codermobs.modpath = minetest.get_modpath (codermobs.modname) |
|||
local mp = codermobs.modpath |
|||
|
|||
local enable_moontest = |
|||
minetest.setting_getbool ("enable_moon" ) or |
|||
minetest.setting_getbool ("enable_moontest" ) |
|||
|
|||
-- =================================================================== |
|||
-- These must come first. |
|||
|
|||
dofile (mp .. "/globals.lua" ) |
|||
dofile (mp .. "/util.lua" ) |
|||
dofile (mp .. "/animal_materials.lua" ) |
|||
dofile (mp .. "/vombie_flame.lua" ) |
|||
|
|||
-- =================================================================== |
|||
|
|||
dofile (mp .. "/badger.lua" ) |
|||
dofile (mp .. "/bat.lua" ) |
|||
dofile (mp .. "/bear.lua" ) |
|||
dofile (mp .. "/bee.lua" ) |
|||
dofile (mp .. "/beetle.lua" ) |
|||
|
|||
dofile (mp .. "/bird.lua" ) |
|||
dofile (mp .. "/bug.lua" ) |
|||
dofile (mp .. "/bunny.lua" ) |
|||
dofile (mp .. "/butterfly.lua" ) |
|||
dofile (mp .. "/cacodemon.lua" ) |
|||
|
|||
dofile (mp .. "/car.lua" ) |
|||
dofile (mp .. "/chicken.lua" ) |
|||
dofile (mp .. "/cow.lua" ) |
|||
dofile (mp .. "/cyberdemon.lua" ) |
|||
|
|||
dofile (mp .. "/deer.lua" ) |
|||
dofile (mp .. "/dirt_monster.lua" ) |
|||
dofile (mp .. "/dog.lua" ) |
|||
dofile (mp .. "/elephant.lua" ) |
|||
dofile (mp .. "/elk.lua" ) |
|||
|
|||
dofile (mp .. "/farhorse.lua" ) |
|||
dofile (mp .. "/flying_pig.lua" ) |
|||
dofile (mp .. "/ghost.lua" ) |
|||
dofile (mp .. "/goat.lua" ) |
|||
dofile (mp .. "/hedgehog.lua" ) |
|||
|
|||
dofile (mp .. "/jeraf.lua" ) |
|||
dofile (mp .. "/kitten.lua" ) |
|||
dofile (mp .. "/lava_flan.lua" ) |
|||
dofile (mp .. "/lostsoul.lua" ) |
|||
dofile (mp .. "/lott_spider.lua" ) |
|||
|
|||
dofile (mp .. "/mammoth.lua" ) |
|||
dofile (mp .. "/mdskeleton.lua" ) |
|||
dofile (mp .. "/oerkki.lua" ) |
|||
dofile (mp .. "/ostrich.lua" ) |
|||
dofile (mp .. "/owl.lua" ) |
|||
|
|||
dofile (mp .. "/panda.lua" ) |
|||
dofile (mp .. "/penguin.lua" ) |
|||
dofile (mp .. "/plane.lua" ) |
|||
dofile (mp .. "/polar_bear.lua" ) |
|||
dofile (mp .. "/rat.lua" ) |
|||
|
|||
dofile (mp .. "/rat_better.lua" ) |
|||
dofile (mp .. "/bom.lua" ) |
|||
dofile (mp .. "/santa.lua" ) |
|||
dofile (mp .. "/sheep.lua" ) |
|||
dofile (mp .. "/silverfish.lua" ) |
|||
|
|||
dofile (mp .. "/snake_garter.lua" ) |
|||
dofile (mp .. "/snake_ice.lua" ) |
|||
dofile (mp .. "/snowman.lua" ) |
|||
dofile (mp .. "/tree_monster.lua" ) |
|||
dofile (mp .. "/vombie.lua" ) |
|||
|
|||
dofile (mp .. "/warthog.lua" ) |
|||
dofile (mp .. "/wolf.lua" ) |
|||
dofile (mp .. "/zebra.lua" ) |
|||
|
|||
dofile (mp .. "/baby_chick.lua" ) |
|||
|
|||
-- Moon Cow must be defined after regular cow. |
|||
|
|||
if enable_moontest then |
|||
dofile (mp .. "/mooncow.lua") |
|||
end |
|||
|
|||
-- =================================================================== |
|||
-- End of file. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
@ -0,0 +1,20 @@ |
|||
Copyright 2019 Poikilos (Jake Gustafson) |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a |
|||
copy of this software and associated documentation files (the |
|||
"Software"), to deal in the Software without restriction, including |
|||
without limitation the rights to use, copy, modify, merge, publish, |
|||
distribute, sublicense, and/or sell copies of the Software, and to |
|||
permit persons to whom the Software is furnished to do so, subject to |
|||
the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be included |
|||
in all copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
|||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
|||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
|||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -0,0 +1 @@ |
|||
codermobs |
@ -0,0 +1,2 @@ |
|||
Convert the sacreeper (from old versions of ENLIVEN or Bucket_Game, |
|||
derived from mobf) to codermobs:bom. |
@ -0,0 +1,7 @@ |
|||
-- ../generatemod.py (EnlivenMinetest) generated |
|||
-- the original version of this file. |
|||
if minetest.get_modpath("codermobs") ~= nil then |
|||
mobs:alias_mob("codermobs:sacreeper", "codermobs:bom") |
|||
end |
|||
-- minetest.register_alias("codermobs:sacreeper", "codermobs:bom") |
|||
|
@ -0,0 +1 @@ |
|||
name = sacreeper_legacy |
@ -0,0 +1,6 @@ |
|||
sacreeper_legacy Minetest Mod |
|||
============================= |
|||
See description.txt |
|||
|
|||
## License |
|||
See LICENSE.txt |
Loading…
Reference in new issue