Give llamas an appetite for hay bales

This commit is contained in:
Wuzzy 2019-10-25 00:42:30 +02:00
parent c9b642a706
commit 219b2464a1
3 changed files with 4 additions and 2 deletions

View file

@ -157,6 +157,7 @@ mobs_mc.follow = {
chicken = { "farming:seed_wheat", "farming:seed_cotton" }, -- seeds in general
parrot = { "farming:seed_wheat", "farming:seed_cotton" }, -- seeds in general
horse = { mobs_mc.items.apple, mobs_mc.items.sugar, mobs_mc.items.wheat, mobs_mc.items.hay_bale, mobs_mc.items.golden_apple, mobs_mc.items.golden_carrot },
llama = { mobs_mc.items.wheat, mobs_mc.items.hay_bale, },
pig = { mobs_mc.items.potato, mobs_mc.items.carrot, mobs_mc.items.carrot_on_a_stick,
mobs_mc.items.apple, -- Minetest Game extra
},

View file

@ -53,7 +53,7 @@ mobs:register_mob("mobs_mc:llama", {
look_start = 78,
look_end = 108,
},
follow = mobs_mc.items.horse,
follow = mobs_mc.follow.llama,
view_range = 16,
do_custom = function(self, dtime)