Add fried eggs and fix feathers being eatable

master
BlockMen 2016-02-10 00:31:54 +01:00
parent 72c3ea84b4
commit 5cc9f4b0bb
4 changed files with 14 additions and 3 deletions

View File

@ -2,13 +2,13 @@ Chicken for Creatures MOB-Engine
================================
Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com>
Version: 2.1.1 Beta
Version: 2.2
Adds chicken to Minetest (requires Creatures MOB-Engine).
Chicken spawn on dirt and grass blocks, have 5 HP and are friendly. When killed or dying
they drop meat, which can be eaten or cooked and probably some feathers. Also they drop
randomly eggs (which can be thrown to spawn new chicken)
randomly eggs, which can be thrown to spawn new chicken or fried and eaten.
License:

View File

@ -70,3 +70,15 @@ core.register_craftitem(":creatures:egg", {
return itemstack
end,
})
core.register_craftitem(":creatures:fried_egg", {
description = "Fried Egg",
inventory_image = "creatures_fried_egg.png",
on_use = core.item_eat(2)
})
core.register_craft({
type = "cooking",
output = "creatures:fried_egg",
recipe = "creatures:egg",
})

View File

@ -53,7 +53,6 @@ core.register_craft({
core.register_craftitem(":creatures:feather", {
description = "Feather",
inventory_image = "creatures_feather.png",
on_use = core.item_eat(3)
})
local def = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB