1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-07 02:20:21 +02:00

Added cow dung

- O_o?
This commit is contained in:
LeMagnesium
2015-05-18 18:49:26 +02:00
parent 26b6b69f28
commit 83984a6941
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()