mirror of
https://github.com/rubenwardy/food.git
synced 2024-11-15 23:00:33 +01:00
use strawberry and sugar from bushes only
This commit is contained in:
parent
1b4afb4463
commit
dfac9ed316
27
init.lua
27
init.lua
|
@ -123,6 +123,7 @@ food.support("cup","vessels","vessels:drinking_glass")
|
|||
food.support("cup","animalmaterials","animalmaterials:glass")
|
||||
food.support("sugar","jkfarming","jkfarming:sugar")
|
||||
food.support("sugar","bushes_classic","bushes:sugar")
|
||||
food.support("strawberry","bushes_classic","bushes:strawberry")
|
||||
|
||||
-- Default inbuilt ingrediants
|
||||
food.asupport("wheat",function()
|
||||
|
@ -265,6 +266,19 @@ food.asupport("cocoa",function()
|
|||
}
|
||||
})
|
||||
end)
|
||||
food.asupport("sugar",function()
|
||||
minetest.register_craftitem("food:sugar", {
|
||||
description = S("Sugar"),
|
||||
inventory_image = "food_sugar.png",
|
||||
groups = {food_sugar=1}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "food:sugar 20",
|
||||
recipe = {
|
||||
{"default:papyrus"},
|
||||
}
|
||||
})
|
||||
end)
|
||||
food.asupport("meat_raw",function()
|
||||
minetest.register_craftitem("food:meat_raw", {
|
||||
description = S("Raw meat"),
|
||||
|
@ -306,19 +320,6 @@ if minetest.get_modpath("animalmaterials") then
|
|||
|
||||
end
|
||||
|
||||
-- Register sugar
|
||||
minetest.register_craftitem("food:sugar", {
|
||||
description = S("Sugar"),
|
||||
inventory_image = "food_sugar.png",
|
||||
groups = {food_sugar=1}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "food:sugar 20",
|
||||
recipe = {
|
||||
{"default:papyrus"},
|
||||
}
|
||||
})
|
||||
|
||||
-- Register chocolate powder
|
||||
minetest.register_craftitem("food:chocolate_powder", {
|
||||
description = S("Chocolate Powder"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user