Give llamas an appetite for hay bales

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

@ -157,6 +157,7 @@ mobs_mc.follow = {
chicken = { "farming:seed_wheat", "farming:seed_cotton" }, -- seeds in general chicken = { "farming:seed_wheat", "farming:seed_cotton" }, -- seeds in general
parrot = { "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 }, 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, pig = { mobs_mc.items.potato, mobs_mc.items.carrot, mobs_mc.items.carrot_on_a_stick,
mobs_mc.items.apple, -- Minetest Game extra mobs_mc.items.apple, -- Minetest Game extra
}, },

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

@ -73,7 +73,7 @@ mobs_mc.override.items = {
wheat = "mcl_farming:wheat_item", wheat = "mcl_farming:wheat_item",
cookie = "mcl_farming:cookie", cookie = "mcl_farming:cookie",
potato = "mcl_farming:potato_item", potato = "mcl_farming:potato_item",
hay_bale = "mcl_farming:hay_bale", hay_bale = "mcl_farming:hay_block",
prismarine_shard = "mcl_ocean:prismarine_shard", prismarine_shard = "mcl_ocean:prismarine_shard",
prismarine_crystals = "mcl_ocean:prismarine_crystals", prismarine_crystals = "mcl_ocean:prismarine_crystals",
apple = "mcl_core:apple", apple = "mcl_core:apple",
@ -136,6 +136,7 @@ mobs_mc.override.follow = {
sheep = { mobs_mc.override.items.wheat }, sheep = { mobs_mc.override.items.wheat },
cow = { mobs_mc.override.items.wheat }, cow = { mobs_mc.override.items.wheat },
horse = { mobs_mc.override.items.apple, mobs_mc.override.items.sugar, mobs_mc.override.items.wheat, mobs_mc.override.items.hay_bale, mobs_mc.override.items.golden_apple, mobs_mc.override.items.golden_carrot }, horse = { mobs_mc.override.items.apple, mobs_mc.override.items.sugar, mobs_mc.override.items.wheat, mobs_mc.override.items.hay_bale, mobs_mc.override.items.golden_apple, mobs_mc.override.items.golden_carrot },
llama = { mobs_mc.override.items.wheat, mobs_mc.override.items.hay_bale },
rabbit = { mobs_mc.override.items.dandelion, mobs_mc.override.items.carrot, mobs_mc.override.items.golden_carrot }, rabbit = { mobs_mc.override.items.dandelion, mobs_mc.override.items.carrot, mobs_mc.override.items.golden_carrot },
} }