From 21d5b93baa390e8f0faf1d8c222384b940e39532 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 8 Apr 2020 02:31:24 +0200 Subject: [PATCH] Remove explicit stepheight from most mobs --- mods/ENTITIES/mcl_mobs/api.txt | 2 +- mods/ENTITIES/mobs_mc/agent.lua | 1 - mods/ENTITIES/mobs_mc/ender_dragon.lua | 1 - mods/ENTITIES/mobs_mc/enderman.lua | 1 - mods/ENTITIES/mobs_mc/guardian.lua | 1 - mods/ENTITIES/mobs_mc/guardian_elder.lua | 1 - mods/ENTITIES/mobs_mc/polar_bear.lua | 1 - mods/ENTITIES/mobs_mc/squid.lua | 1 - mods/ENTITIES/mobs_mc/wither.lua | 1 - mods/ENTITIES/mobs_mc/wolf.lua | 1 - 10 files changed, 1 insertion(+), 10 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index 3a61c1c836..0b35422438 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -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 diff --git a/mods/ENTITIES/mobs_mc/agent.lua b/mods/ENTITIES/mobs_mc/agent.lua index 0a5f0354f5..172698eb4e 100644 --- a/mods/ENTITIES/mobs_mc/agent.lua +++ b/mods/ENTITIES/mobs_mc/agent.lua @@ -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, diff --git a/mods/ENTITIES/mobs_mc/ender_dragon.lua b/mods/ENTITIES/mobs_mc/ender_dragon.lua index 87d7e8ab1b..de4a2a599e 100644 --- a/mods/ENTITIES/mobs_mc/ender_dragon.lua +++ b/mods/ENTITIES/mobs_mc/ender_dragon.lua @@ -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, diff --git a/mods/ENTITIES/mobs_mc/enderman.lua b/mods/ENTITIES/mobs_mc/enderman.lua index 4cb0bb89f9..467fb290a5 100644 --- a/mods/ENTITIES/mobs_mc/enderman.lua +++ b/mods/ENTITIES/mobs_mc/enderman.lua @@ -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}, diff --git a/mods/ENTITIES/mobs_mc/guardian.lua b/mods/ENTITIES/mobs_mc/guardian.lua index 5a78220ef0..7db141983e 100644 --- a/mods/ENTITIES/mobs_mc/guardian.lua +++ b/mods/ENTITIES/mobs_mc/guardian.lua @@ -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, }) diff --git a/mods/ENTITIES/mobs_mc/guardian_elder.lua b/mods/ENTITIES/mobs_mc/guardian_elder.lua index b8448fb964..7d955e390b 100644 --- a/mods/ENTITIES/mobs_mc/guardian_elder.lua +++ b/mods/ENTITIES/mobs_mc/guardian_elder.lua @@ -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, }) diff --git a/mods/ENTITIES/mobs_mc/polar_bear.lua b/mods/ENTITIES/mobs_mc/polar_bear.lua index 09ca4d8fa4..c6f0d58489 100644 --- a/mods/ENTITIES/mobs_mc/polar_bear.lua +++ b/mods/ENTITIES/mobs_mc/polar_bear.lua @@ -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, diff --git a/mods/ENTITIES/mobs_mc/squid.lua b/mods/ENTITIES/mobs_mc/squid.lua index 6ad1b413dc..ddbabe0a37 100644 --- a/mods/ENTITIES/mobs_mc/squid.lua +++ b/mods/ENTITIES/mobs_mc/squid.lua @@ -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, diff --git a/mods/ENTITIES/mobs_mc/wither.lua b/mods/ENTITIES/mobs_mc/wither.lua index 05997cf70e..19d2386b66 100644 --- a/mods/ENTITIES/mobs_mc/wither.lua +++ b/mods/ENTITIES/mobs_mc/wither.lua @@ -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", diff --git a/mods/ENTITIES/mobs_mc/wolf.lua b/mods/ENTITIES/mobs_mc/wolf.lua index 820eaca35a..9e28205760 100644 --- a/mods/ENTITIES/mobs_mc/wolf.lua +++ b/mods/ENTITIES/mobs_mc/wolf.lua @@ -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",