summaryrefslogtreecommitdiff
path: root/crumbles.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-09-01 19:17:55 +0100
committerRubenwardy <anjayward@gmail.com>2012-09-01 19:17:55 +0100
commit805bf35c176e1a8881996fada0016ec29bfafcd0 (patch)
tree87e12bec14c300f6f5c7ecd574ef1b2cfd20af94 /crumbles.lua
parent0e01139e5a5d67966429aa2208f02955d5011cbe (diff)
Added Buns, burgers, and cleared up graphics
Diffstat (limited to 'crumbles.lua')
-rw-r--r--crumbles.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/crumbles.lua b/crumbles.lua
new file mode 100644
index 0000000..402140c
--- /dev/null
+++ b/crumbles.lua
@@ -0,0 +1,36 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/crumbles.lua
+-- adds crumbles
+-- =====================================
+-- [regis-food] Rhubarb Crumble
+-- =====================================
+
+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:sugar"',"",""},
+ {'"food:flour"','"food:rhubarb"','"food:butter"'}
+ }
+})
+
+minetest.register_craft({
+ type = "cooking",
+ output = "food:crumble_rhubarb",
+ recipe = "food:crumble_rhubarb_raw",
+}) \ No newline at end of file