mirror of
https://codeberg.org/tenplus1/farming.git
synced 2024-12-26 10:40:20 +01:00
add jaffa cake
This commit is contained in:
parent
44a2388887
commit
f908ccf660
22
food.lua
22
food.lua
@ -196,3 +196,25 @@ minetest.after(0, function()
|
|||||||
replacements = {{fluid_return, "bucket:bucket_empty"}}
|
replacements = {{fluid_return, "bucket:bucket_empty"}}
|
||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
--= Jaffa Cake
|
||||||
|
|
||||||
|
minetest.register_craftitem("farming:jaffa_cake", {
|
||||||
|
description = S("Jaffa Cake"),
|
||||||
|
inventory_image = "farming_jaffa_cake.png",
|
||||||
|
on_use = minetest.item_eat(6),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "farming:jaffa_cake",
|
||||||
|
recipe = {
|
||||||
|
"farming:baking_tray", "group:food_egg", "group:food_sugar",
|
||||||
|
"group:food_flour", "group:food_cocoa", "group:food_orange",
|
||||||
|
"group:food_milk"
|
||||||
|
},
|
||||||
|
replacements = {
|
||||||
|
{"farming:baking_tray", "farming:baking_tray"},
|
||||||
|
{"mobs:bucket_milk", "bucket:bucket_empty"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
BIN
textures/farming_jaffa_cake.png
Normal file
BIN
textures/farming_jaffa_cake.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 B |
Loading…
Reference in New Issue
Block a user