1
0
Fork 0

Remove explicit stepheight from most mobs

This commit is contained in:
Wuzzy 2020-04-08 02:31:24 +02:00
parent 31b367eb83
commit 21d5b93baa
10 changed files with 1 additions and 10 deletions

View File

@ -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_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,
defaults to 1.1.
defaults to 0.6.
'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
mob flies (or swims) around in. The special name

View File

@ -7,7 +7,6 @@ local S = minetest.get_translator("mobs_mc")
mobs:register_mob("mobs_mc:agent", {
type = "npc",
passive = true,
stepheight = 1.2,
hp_min = 20,
hp_max = 20,
armor = 100,

View File

@ -32,7 +32,6 @@ mobs:register_mob("mobs_mc:enderdragon", {
damage = 10,
jump = true,
jump_height = 14,
stepheight = 1.2,
fly = true,
dogshoot_switch = 1,
dogshoot_count_max =5,

View File

@ -170,7 +170,6 @@ mobs:register_mob("mobs_mc:enderman", {
type = "monster",
passive = false,
pathfinding = 1,
stepheight = 1.2,
hp_min = 40,
hp_max = 40,
collisionbox = {-0.3, -0.01, -0.3, 0.3, 2.89, 0.3},

View File

@ -76,7 +76,6 @@ mobs:register_mob("mobs_mc:guardian", {
},
fly = true,
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
stepheight = 0.1,
jump = false,
view_range = 16,
})

View File

@ -83,7 +83,6 @@ mobs:register_mob("mobs_mc:guardian_elder", {
},
fly = true,
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
stepheight = 0.1,
jump = false,
view_range = 16,
})

View File

@ -11,7 +11,6 @@ mobs:register_mob("mobs_mc:polar_bear", {
type = "animal",
runaway = false,
passive = false,
stepheight = 1.2,
hp_min = 30,
hp_max = 30,
breath_max = -1,

View File

@ -42,7 +42,6 @@ mobs:register_mob("mobs_mc:squid", {
},
visual_size = {x=3, y=3},
makes_footstep_sound = false,
stepheight = 0.1,
fly = true,
fly_in = { mobs_mc.items.water_source, mobs_mc.items.river_water_source },
breathes_in_water = true,

View File

@ -27,7 +27,6 @@ mobs:register_mob("mobs_mc:wither", {
fear_height = 4,
walk_velocity = 2,
run_velocity = 4,
stepheight = 1.2,
sounds = {
shoot_attack = "mobs_mc_ender_dragon_shoot",
attack = "mobs_mc_ender_dragon_attack",

View File

@ -40,7 +40,6 @@ local wolf = {
walk_chance = default_walk_chance,
walk_velocity = 2,
run_velocity = 3,
stepheight = 1.1,
damage = 4,
reach = 2,
attack_type = "dogfight",