summaryrefslogtreecommitdiff
path: root/donut.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-12 18:23:45 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-12 18:23:45 +0000
commit14154cea54ab4eb40e878fc8fe1c2d79fa41b40e (patch)
tree8c973b05aa9f836a67aa20506ac3507267542fd2 /donut.lua
parente4ed12056d875b603c03e93aaf7e4489f606aa83 (diff)
food items now crafted using food_ groups
Diffstat (limited to 'donut.lua')
-rw-r--r--donut.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/donut.lua b/donut.lua
index be2e9b8..8c66da5 100644
--- a/donut.lua
+++ b/donut.lua
@@ -11,9 +11,9 @@ minetest.register_craftitem("farming:donut", {
minetest.register_craft({
output = "farming:donut 3",
recipe = {
- {'', 'farming:wheat', ''},
- {'farming:wheat', 'farming:sugar', 'farming:wheat'},
- {'', 'farming:wheat', ''},
+ {'', 'group:food_wheat', ''},
+ {'group:food_wheat', 'group:food_sugar', 'group:food_wheat'},
+ {'', 'group:food_wheat', ''},
}
})
@@ -27,7 +27,7 @@ minetest.register_craftitem("farming:donut_chocolate", {
minetest.register_craft({
output = "farming:donut_chocolate",
recipe = {
- {'farming:cocoa_beans'},
+ {'group:food_cocoa'},
{'farming:donut'},
}
})
@@ -62,8 +62,8 @@ minetest.after(0, function()
output = "farming:porridge",
type = "shapeless",
recipe = {
- "farming:barley", "farming:barley", "farming:wheat",
- "farming:wheat", "mobs:bucket_milk"
+ "group:food_barley", "group:food_barley", "group:food_wheat",
+ "group:food_wheat", "group:food_milk"
},
replacements = {{"mobs:bucket_milk", "bucket:bucket_empty"}}
})
@@ -72,8 +72,8 @@ else
output = "farming:porridge",
type = "shapeless",
recipe = {
- "farming:barley", "farming:barley", "farming:wheat",
- "farming:wheat", "bucket:bucket_water"
+ "group:food_barley", "group:food_barley", "group:food_wheat",
+ "group:food_wheat", "bucket:bucket_water"
},
replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}}
})