mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Remove explicit stepheight from most mobs
This commit is contained in:
parent
31b367eb83
commit
21d5b93baa
10 changed files with 1 additions and 10 deletions
|
@ -50,7 +50,7 @@ functions needed for the mob to work properly which contains the following:
|
||||||
'jump' when true allows your mob to jump updwards.
|
'jump' when true allows your mob to jump updwards.
|
||||||
'jump_height' holds the height your mob can jump, 0 to disable jumping.
|
'jump_height' holds the height your mob can jump, 0 to disable jumping.
|
||||||
'stepheight' height of a block that your mob can easily walk up onto,
|
'stepheight' height of a block that your mob can easily walk up onto,
|
||||||
defaults to 1.1.
|
defaults to 0.6.
|
||||||
'fly' when true allows your mob to fly around instead of walking.
|
'fly' when true allows your mob to fly around instead of walking.
|
||||||
'fly_in' holds the node name or a table of node names in which the
|
'fly_in' holds the node name or a table of node names in which the
|
||||||
mob flies (or swims) around in. The special name
|
mob flies (or swims) around in. The special name
|
||||||
|
|
|
@ -7,7 +7,6 @@ local S = minetest.get_translator("mobs_mc")
|
||||||
mobs:register_mob("mobs_mc:agent", {
|
mobs:register_mob("mobs_mc:agent", {
|
||||||
type = "npc",
|
type = "npc",
|
||||||
passive = true,
|
passive = true,
|
||||||
stepheight = 1.2,
|
|
||||||
hp_min = 20,
|
hp_min = 20,
|
||||||
hp_max = 20,
|
hp_max = 20,
|
||||||
armor = 100,
|
armor = 100,
|
||||||
|
|
|
@ -32,7 +32,6 @@ mobs:register_mob("mobs_mc:enderdragon", {
|
||||||
damage = 10,
|
damage = 10,
|
||||||
jump = true,
|
jump = true,
|
||||||
jump_height = 14,
|
jump_height = 14,
|
||||||
stepheight = 1.2,
|
|
||||||
fly = true,
|
fly = true,
|
||||||
dogshoot_switch = 1,
|
dogshoot_switch = 1,
|
||||||
dogshoot_count_max =5,
|
dogshoot_count_max =5,
|
||||||
|
|
|
@ -170,7 +170,6 @@ mobs:register_mob("mobs_mc:enderman", {
|
||||||
type = "monster",
|
type = "monster",
|
||||||
passive = false,
|
passive = false,
|
||||||
pathfinding = 1,
|
pathfinding = 1,
|
||||||
stepheight = 1.2,
|
|
||||||
hp_min = 40,
|
hp_min = 40,
|
||||||
hp_max = 40,
|
hp_max = 40,
|
||||||
collisionbox = {-0.3, -0.01, -0.3, 0.3, 2.89, 0.3},
|
collisionbox = {-0.3, -0.01, -0.3, 0.3, 2.89, 0.3},
|
||||||
|
|
|
@ -76,7 +76,6 @@ mobs:register_mob("mobs_mc:guardian", {
|
||||||
},
|
},
|
||||||
fly = true,
|
fly = true,
|
||||||
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
||||||
stepheight = 0.1,
|
|
||||||
jump = false,
|
jump = false,
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
})
|
})
|
||||||
|
|
|
@ -83,7 +83,6 @@ mobs:register_mob("mobs_mc:guardian_elder", {
|
||||||
},
|
},
|
||||||
fly = true,
|
fly = true,
|
||||||
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
||||||
stepheight = 0.1,
|
|
||||||
jump = false,
|
jump = false,
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
})
|
})
|
||||||
|
|
|
@ -11,7 +11,6 @@ mobs:register_mob("mobs_mc:polar_bear", {
|
||||||
type = "animal",
|
type = "animal",
|
||||||
runaway = false,
|
runaway = false,
|
||||||
passive = false,
|
passive = false,
|
||||||
stepheight = 1.2,
|
|
||||||
hp_min = 30,
|
hp_min = 30,
|
||||||
hp_max = 30,
|
hp_max = 30,
|
||||||
breath_max = -1,
|
breath_max = -1,
|
||||||
|
|
|
@ -42,7 +42,6 @@ mobs:register_mob("mobs_mc:squid", {
|
||||||
},
|
},
|
||||||
visual_size = {x=3, y=3},
|
visual_size = {x=3, y=3},
|
||||||
makes_footstep_sound = false,
|
makes_footstep_sound = false,
|
||||||
stepheight = 0.1,
|
|
||||||
fly = true,
|
fly = true,
|
||||||
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
|
||||||
breathes_in_water = true,
|
breathes_in_water = true,
|
||||||
|
|
|
@ -27,7 +27,6 @@ mobs:register_mob("mobs_mc:wither", {
|
||||||
fear_height = 4,
|
fear_height = 4,
|
||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
run_velocity = 4,
|
run_velocity = 4,
|
||||||
stepheight = 1.2,
|
|
||||||
sounds = {
|
sounds = {
|
||||||
shoot_attack = "mobs_mc_ender_dragon_shoot",
|
shoot_attack = "mobs_mc_ender_dragon_shoot",
|
||||||
attack = "mobs_mc_ender_dragon_attack",
|
attack = "mobs_mc_ender_dragon_attack",
|
||||||
|
|
|
@ -40,7 +40,6 @@ local wolf = {
|
||||||
walk_chance = default_walk_chance,
|
walk_chance = default_walk_chance,
|
||||||
walk_velocity = 2,
|
walk_velocity = 2,
|
||||||
run_velocity = 3,
|
run_velocity = 3,
|
||||||
stepheight = 1.1,
|
|
||||||
damage = 4,
|
damage = 4,
|
||||||
reach = 2,
|
reach = 2,
|
||||||
attack_type = "dogfight",
|
attack_type = "dogfight",
|
||||||
|
|
Loading…
Reference in a new issue