summaryrefslogtreecommitdiff
path: root/snacks
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-10-02 17:58:50 +0100
committerRubenwardy <anjayward@gmail.com>2012-10-02 17:58:50 +0100
commit8170889df8a1fb6e748fb44033b613dab484728b (patch)
tree1c18d271f3d8be13790f0e6deacd5aac7221613c /snacks
parentb4feb52c498a18b68df961945aa414ee3243c482 (diff)
Added Banana Splits
Popcorn next...
Diffstat (limited to 'snacks')
-rw-r--r--snacks/misc.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/snacks/misc.lua b/snacks/misc.lua
new file mode 100644
index 0000000..9c33cfb
--- /dev/null
+++ b/snacks/misc.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 "Food [Master] - Loading Splits"
+
+-- Banana Split
+
+minetest.register_craftitem("food:banana_split_raw", {
+ description = "Banana Split Raw",
+ inventory_image = "food_banana_split_raw.png",
+})
+
+minetest.register_craftitem("food:banana_split", {
+ description = "Banana Split",
+ inventory_image = "food_banana_split.png",
+ groups={food=1},
+ on_use = minetest.item_eat(3),
+})
+
+minetest.register_craft({
+ output = "food:banana_split_raw",
+ recipe = {{"food:chocolate_milk"},{"food:banana"}},
+ replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}},
+})
+minetest.register_craft({
+ type = "cooking",
+ output = "food:banana_split",
+ recipe = "food:banana_split_raw",
+})