forked from mtcontrib/farming
added carrot juice and recipe
This commit is contained in:
parent
efdc816584
commit
e5aaa337c5
|
@ -17,6 +17,24 @@ minetest.register_craftitem("farming:carrot", {
|
|||
on_use = minetest.item_eat(4),
|
||||
})
|
||||
|
||||
-- carrot juice
|
||||
minetest.register_craftitem("farming:carrot_juice", {
|
||||
description = S("Carrot Juice"),
|
||||
inventory_image = "farming_carrot_juice.png",
|
||||
on_use = minetest.item_eat(4, "vessels:drinking_glass"),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:carrot_juice",
|
||||
type = "shapeless",
|
||||
recipe = {
|
||||
"vessels:drinking_glass", "group:food_carrot", "farming:juicer"
|
||||
},
|
||||
replacements = {
|
||||
{"group:food_juicer", "farming:juicer"},
|
||||
},
|
||||
})
|
||||
|
||||
-- golden carrot
|
||||
minetest.register_craftitem("farming:carrot_gold", {
|
||||
description = S("Golden Carrot"),
|
||||
|
|
BIN
textures/farming_carrot_juice.png
Normal file
BIN
textures/farming_carrot_juice.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 167 B |
Loading…
Reference in New Issue
Block a user