Browse Source

improve variable order for dungeon balancing patch

master
poikilos 5 years ago
committed by Jacob Gustafson
parent
commit
5a34ae0377
  1. 35
      Bucket_Game-branches/codermobs-dungeon-balancing-190815-vs-190812/mods/codermobs/codermobs/mdskeleton.lua
  2. 69
      Bucket_Game-branches/codermobs-dungeon-balancing-190815-vs-190812/mods/codermobs/codermobs/oerkki.lua

35
Bucket_Game-branches/codermobs-dungeon-balancing-190815-vs-190812/mods/codermobs/codermobs/mdskeleton.lua

@ -46,35 +46,35 @@ codermobs.adjust_param()
mobs_param.core_param = { mobs_param.core_param = {
type = mobs_param.spawn_type , type = mobs_param.spawn_type ,
makes_footstep_sound = true , passive = false ,
armor = 100 ,
attack_animals = true , attack_animals = true ,
attack_type = "dogfight" , attack_type = "dogfight" ,
damage = 2 , damage = 2 ,
floats = 0 ,
hp_max = 33 ,
hp_min = 7 ,
stepheight = 1.2 ,
jump_height = 0 ,
jump = false ,
passive = false ,
reach = 2 ,
run_velocity = 3 ,
view_range = 15 , view_range = 15 ,
walk_velocity = 1 , reach = 2 ,
hp_min = 7 ,
hp_max = 33 ,
armor = 100 ,
fall_damage = 0 , fall_damage = 0 ,
lava_damage = 0 , lava_damage = 0 ,
light_damage = 2 , light_damage = 2 ,
water_damage = 0 , water_damage = 0 ,
drops = {
{ name="default:apple", chance=2, min=1, max=3 } ,
} ,
collisionbox = { -0.40, -0.01, -0.40, 0.40, 1.80, 0.40 } , collisionbox = { -0.40, -0.01, -0.40, 0.40, 1.80, 0.40 } ,
visual = "mesh" ,
drawtype = "front" , drawtype = "front" ,
mesh = msname .. ".x" , mesh = msname .. ".x" ,
textures = { msname .. "_mesh.png" } , textures = { msname .. "_mesh.png" } ,
visual = "mesh" , stepheight = 1.2 ,
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 ,
@ -92,15 +92,12 @@ mobs_param.core_param = {
speed_run = 60 , speed_run = 60 ,
} , } ,
drops = {
{ name="default:apple", chance=2, min=1, max=3 } ,
} ,
sounds = { sounds = {
death = msname .. "_death" , death = msname .. "_death" ,
hurt = msname .. "_hurt" , hurt = msname .. "_hurt" ,
random = msname .. "_random" , random = msname .. "_random" ,
} , } ,
makes_footstep_sound = true ,
} }
-- =================================================================== -- ===================================================================

69
Bucket_Game-branches/codermobs-dungeon-balancing-190815-vs-190812/mods/codermobs/codermobs/oerkki.lua

@ -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" ,
} }
-- =================================================================== -- ===================================================================

Loading…
Cancel
Save