summaryrefslogtreecommitdiff
path: root/baking.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-31 18:43:10 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-31 18:43:10 +0100
commite488cf549cdd02fa794053aa027324271e8d47ab (patch)
tree225a41e912939c4e4c738d4d04bc8423c7ce08bf /baking.lua
parent23b2a9a747b43abcf6633425008ff06752f6696c (diff)
More Stuff
Diffstat (limited to 'baking.lua')
-rw-r--r--baking.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/baking.lua b/baking.lua
index 3e12f92..d0c6aea 100644
--- a/baking.lua
+++ b/baking.lua
@@ -8,8 +8,47 @@
-- [regis-food] Bread
-- =====================================
+print "RubenFood [Master] - Loading Crumbles"
+--Crumbles
+minetest.register_craftitem("food:crumble_rhubarb", {
+ description = "Rhubarb Crumble",
+ inventory_image = "food_crumble_rhubarb.png",
+ on_use = minetest.item_eat(30),
+})
+
+minetest.register_craftitem("food:crumble_rhubarb_raw", {
+ description = "Raw Rhubarb Crumble",
+ inventory_image = "food_crumble_rhubarb_raw.png",
+})
+
+minetest.register_craft({
+ output = '"food:crumble_rhubarb_raw" 1',
+ recipe = {
+ {'"food:flour"','"food:rhubarb"','"food:butter"'}
+ }
+})
+
+minetest.register_craft({
+ type = "cooking",
+ output = "food:crumble_rhubarb",
+ recipe = "food:crumble_rhubarb_raw",
+})
+
+minetest.register_craft({
+ output = '"food:bread_slice" 10',
+ recipe = {
+ {'"food:bread"'},
+ }
+})
+
+minetest.register_craftitem("food:bread_slice", {
+ description = "Bread Slice",
+ inventory_image = "food_bread_slice.png",
+ on_use = minetest.item_eat(2),
+})
+print "RubenFood [Master] - Loading Dough"
-- doughs
if not minetest.get_modpath("farming") then