1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-08 10:50:23 +02:00

Added cow dung - O_o?

This commit is contained in:
LeMagnesium
2015-05-18 18:49:26 +02:00
parent 8fd91ad8c2
commit 75da167428
4 changed files with 94 additions and 45 deletions

View File

@ -56,9 +56,13 @@ mobs:register_mob("mobs:chicken", {
follow = "farming:seed_wheat",
view_range = 8,
-- replace air with egg (lay)
replace_rate = 2000,
replace_what = {"air"},
replace_with = "mobs:egg",
replacements = {
{
replace_rate = 2000,
replace_what = {"air"},
replace_with = "mobs:egg",
}
},
-- right click to pick up chicken
on_rightclick = function(self, clicker)
local tool = clicker:get_wielded_item()