|
@ -43,52 +43,49 @@ codermobs.adjust_param() |
|
|
|
|
|
|
|
|
mobs_param.core_param = { |
|
|
mobs_param.core_param = { |
|
|
type = mobs_param.spawn_type , |
|
|
type = mobs_param.spawn_type , |
|
|
|
|
|
passive = false , |
|
|
armor = 100 , |
|
|
runaway = true , |
|
|
|
|
|
attack_animals = true , |
|
|
attack_type = "dogfight" , |
|
|
attack_type = "dogfight" , |
|
|
damage = 4 , |
|
|
damage = 4 , |
|
|
attack_animals = true , |
|
|
|
|
|
fear_height = 4 , |
|
|
|
|
|
hp_max = 34 , |
|
|
|
|
|
hp_min = 8 , |
|
|
|
|
|
stepheight = 1.2 , |
|
|
|
|
|
jump_height = 0 , |
|
|
|
|
|
jump = false , |
|
|
|
|
|
passive = false , |
|
|
|
|
|
pathfinding = true , |
|
|
|
|
|
reach = 2 , |
|
|
|
|
|
run_velocity = 3 , |
|
|
|
|
|
view_range = 10 , |
|
|
view_range = 10 , |
|
|
walk_velocity = 1 , |
|
|
reach = 2 , |
|
|
floats = 0 , |
|
|
|
|
|
runaway = true , |
|
|
|
|
|
|
|
|
|
|
|
lava_damage = 4 , |
|
|
|
|
|
light_damage = 1 , |
|
|
|
|
|
water_damage = 2 , |
|
|
|
|
|
|
|
|
|
|
|
-- This mob eats torches |
|
|
-- This mob eats torches |
|
|
replace_offset = -1 , |
|
|
replace_offset = -1 , |
|
|
replace_rate = 5 , |
|
|
replace_rate = 5 , |
|
|
replace_what = { "default:torch" } , |
|
|
replace_what = { "default:torch" } , |
|
|
replace_with = "air" , |
|
|
replace_with = "air" , |
|
|
|
|
|
|
|
|
makes_footstep_sound = false , |
|
|
hp_min = 8 , |
|
|
|
|
|
hp_max = 34 , |
|
|
drops = { |
|
|
armor = 100 , |
|
|
{ name = "default:obsidian" , |
|
|
lava_damage = 4 , |
|
|
chance = 3, min = 1, max = 2 } , |
|
|
light_damage = 1 , |
|
|
}, |
|
|
water_damage = 2 , |
|
|
|
|
|
|
|
|
immune_to = { |
|
|
immune_to = { |
|
|
{ "default:sword_wood" , 0 } , -- No damage |
|
|
{ "default:sword_wood" , 0 } , -- No damage |
|
|
{ "default:gold_lump" , -10 } , -- Heals by 10 points |
|
|
{ "default:gold_lump" , -10 } , -- Heals by 10 points |
|
|
}, |
|
|
}, |
|
|
|
|
|
drops = { |
|
|
sounds = { |
|
|
{ name = "default:obsidian" , |
|
|
random = "codermobs_oerkki" , |
|
|
chance = 3, min = 1, max = 2 } , |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
collisionbox = { -0.4, -1, -0.4, 0.4, 0.9, 0.4 } , |
|
|
|
|
|
visual = "mesh" , |
|
|
|
|
|
mesh = "codermobs_oerkki.b3d" , |
|
|
|
|
|
textures = { |
|
|
|
|
|
{ "codermobs_oerkki1.png" } , |
|
|
|
|
|
{ "codermobs_oerkki2.png" } , |
|
|
|
|
|
}, |
|
|
|
|
|
pathfinding = true , |
|
|
|
|
|
stepheight = 1.2 , |
|
|
|
|
|
fear_height = 4 , |
|
|
|
|
|
jump_height = 0 , |
|
|
|
|
|
jump = false , |
|
|
|
|
|
floats = 0 , |
|
|
|
|
|
walk_velocity = 1 , |
|
|
|
|
|
run_velocity = 3 , |
|
|
animation = { |
|
|
animation = { |
|
|
stand_start = 0 , |
|
|
stand_start = 0 , |
|
|
stand_end = 23 , |
|
|
stand_end = 23 , |
|
@ -102,14 +99,10 @@ mobs_param.core_param = { |
|
|
speed_run = 15 , |
|
|
speed_run = 15 , |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
textures = { |
|
|
sounds = { |
|
|
{ "codermobs_oerkki1.png" } , |
|
|
random = "codermobs_oerkki" , |
|
|
{ "codermobs_oerkki2.png" } , |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
makes_footstep_sound = false , |
|
|
collisionbox = { -0.4, -1, -0.4, 0.4, 0.9, 0.4 } , |
|
|
|
|
|
mesh = "codermobs_oerkki.b3d" , |
|
|
|
|
|
visual = "mesh" , |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
-- =================================================================== |
|
|
-- =================================================================== |
|
|