1
0
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:
TenPlus1 2019-01-08 10:23:28 +00:00
parent 44a2388887
commit f908ccf660
2 changed files with 22 additions and 0 deletions

View File

@ -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"}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B