Add fried eggs and fix feathers being eatable
This commit is contained in:
parent
72c3ea84b4
commit
5cc9f4b0bb
@ -2,13 +2,13 @@ Chicken for Creatures MOB-Engine
|
|||||||
================================
|
================================
|
||||||
Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com>
|
Copyright (c) 2015-2016 BlockMen <blockmen2015@gmail.com>
|
||||||
|
|
||||||
Version: 2.1.1 Beta
|
Version: 2.2
|
||||||
|
|
||||||
|
|
||||||
Adds chicken to Minetest (requires Creatures MOB-Engine).
|
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
|
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
|
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:
|
License:
|
||||||
|
@ -70,3 +70,15 @@ core.register_craftitem(":creatures:egg", {
|
|||||||
return itemstack
|
return itemstack
|
||||||
end,
|
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",
|
||||||
|
})
|
||||||
|
@ -53,7 +53,6 @@ core.register_craft({
|
|||||||
core.register_craftitem(":creatures:feather", {
|
core.register_craftitem(":creatures:feather", {
|
||||||
description = "Feather",
|
description = "Feather",
|
||||||
inventory_image = "creatures_feather.png",
|
inventory_image = "creatures_feather.png",
|
||||||
on_use = core.item_eat(3)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
local def = {
|
local def = {
|
||||||
|
BIN
chicken/textures/creatures_fried_egg.png
Normal file
BIN
chicken/textures/creatures_fried_egg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
Loading…
x
Reference in New Issue
Block a user