diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-09-10 20:04:10 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-09-10 20:04:10 +0100 |
commit | b336aaa2b489ceee8e5bc803dabc3052d2bbd63a (patch) | |
tree | 5fcf17f5f4e15e259fa33b73056604e69a899a39 /snacks/crumbles.lua | |
parent | cf48b7dbadc2afc84613aa6c31b4c4bf8f95c177 (diff) |
Moved stuff around and added hot chocolate
Diffstat (limited to 'snacks/crumbles.lua')
-rw-r--r-- | snacks/crumbles.lua | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/snacks/crumbles.lua b/snacks/crumbles.lua new file mode 100644 index 0000000..4a1ab9c --- /dev/null +++ b/snacks/crumbles.lua @@ -0,0 +1,36 @@ +-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/snacks/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 |