From 31e4488172c7d857575754d55b679a32a0703ae9 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 12 May 2017 10:01:43 +0100 Subject: [PATCH] add owner loyalty to hogs --- cow.lua | 2 +- warthog.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cow.lua b/cow.lua index 30c71f9..c9b9e1e 100644 --- a/cow.lua +++ b/cow.lua @@ -47,7 +47,7 @@ mobs:register_mob("mobs_animal:cow", { punch_end = 100, }, follow = "farming:wheat", - view_range = 7, + view_range = 8, replace_rate = 10, -- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"}, replace_what = { diff --git a/warthog.lua b/warthog.lua index 81daacf..0afcc52 100644 --- a/warthog.lua +++ b/warthog.lua @@ -9,6 +9,7 @@ mobs:register_mob("mobs_animal:pumba", { passive = false, attack_type = "dogfight", group_attack = true, + owner_loyal = true, reach = 2, damage = 2, hp_min = 5,