From 66b7a52d473a28a57417566f12ae9721a9cd074d Mon Sep 17 00:00:00 2001 From: kno10 Date: Sun, 15 Sep 2024 23:14:10 +0200 Subject: [PATCH] Make zombies and skeletons not float (#4512) Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4512 Reviewed-by: the-real-herowl Co-authored-by: kno10 Co-committed-by: kno10 --- mods/ENTITIES/mobs_mc/skeleton+stray.lua | 1 + mods/ENTITIES/mobs_mc/skeleton_wither.lua | 1 + mods/ENTITIES/mobs_mc/villager_zombie.lua | 1 + mods/ENTITIES/mobs_mc/zombie.lua | 1 + 4 files changed, 4 insertions(+) diff --git a/mods/ENTITIES/mobs_mc/skeleton+stray.lua b/mods/ENTITIES/mobs_mc/skeleton+stray.lua index 8ea4d9ced..711c11091 100644 --- a/mods/ENTITIES/mobs_mc/skeleton+stray.lua +++ b/mods/ENTITIES/mobs_mc/skeleton+stray.lua @@ -103,6 +103,7 @@ local skeleton = { return true end, ignited_by_sunlight = true, + floats = 0, view_range = 16, fear_height = 4, attack_type = "dogshoot", diff --git a/mods/ENTITIES/mobs_mc/skeleton_wither.lua b/mods/ENTITIES/mobs_mc/skeleton_wither.lua index b01fb4b96..331b4fd06 100644 --- a/mods/ENTITIES/mobs_mc/skeleton_wither.lua +++ b/mods/ENTITIES/mobs_mc/skeleton_wither.lua @@ -94,6 +94,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", { dogshoot_switch = 1, dogshoot_count_max =0.5, fear_height = 4, + floats = 0, harmed_by_heal = true, fire_resistant = true, dealt_effect = { diff --git a/mods/ENTITIES/mobs_mc/villager_zombie.lua b/mods/ENTITIES/mobs_mc/villager_zombie.lua index ada456aff..6e343c327 100644 --- a/mods/ENTITIES/mobs_mc/villager_zombie.lua +++ b/mods/ENTITIES/mobs_mc/villager_zombie.lua @@ -134,6 +134,7 @@ mcl_mobs.register_mob("mobs_mc:villager_zombie", { end, sunlight_damage = 2, ignited_by_sunlight = true, + floats = 0, view_range = 16, fear_height = 4, harmed_by_heal = true, diff --git a/mods/ENTITIES/mobs_mc/zombie.lua b/mods/ENTITIES/mobs_mc/zombie.lua index 2f6d7e79f..83eae82ad 100644 --- a/mods/ENTITIES/mobs_mc/zombie.lua +++ b/mods/ENTITIES/mobs_mc/zombie.lua @@ -96,6 +96,7 @@ local zombie = { }, ignited_by_sunlight = true, sunlight_damage = 2, + floats = 0, view_range = 16, attack_type = "dogfight", harmed_by_heal = true,