forked from mtcontrib/farming
add mochi
This commit is contained in:
parent
113fac2647
commit
5b9bd1e6d6
22
food.lua
22
food.lua
|
@ -639,3 +639,25 @@ minetest.register_craft({
|
|||
{"group:food_skillet", "farming:skillet"}
|
||||
}
|
||||
})
|
||||
|
||||
-- Mochi
|
||||
|
||||
minetest.register_craftitem("farming:mochi", {
|
||||
description = S("Mochi"),
|
||||
inventory_image = "farming_mochi.png",
|
||||
on_use = minetest.item_eat(3),
|
||||
groups = {flammable = 2},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "farming:mochi",
|
||||
recipe = {
|
||||
"group:food_mortar_pestle", "group:food_rice", "group:food_rice",
|
||||
"group:food_sugar", "group:water_bucket"
|
||||
},
|
||||
replacements = {
|
||||
{"group:food_mortar_pestle", "farming:mortar_pestle"},
|
||||
{"group:water_bucket", "bucket:bucket_empty"}
|
||||
}
|
||||
})
|
||||
|
|
BIN
textures/farming_mochi.png
Normal file
BIN
textures/farming_mochi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 212 B |
Loading…
Reference in New Issue
Block a user