diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-10-02 17:58:50 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-10-02 17:58:50 +0100 |
commit | 8170889df8a1fb6e748fb44033b613dab484728b (patch) | |
tree | 1c18d271f3d8be13790f0e6deacd5aac7221613c /snacks | |
parent | b4feb52c498a18b68df961945aa414ee3243c482 (diff) |
Added Banana Splits
Popcorn next...
Diffstat (limited to 'snacks')
-rw-r--r-- | snacks/misc.lua | 36 |
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",
+})
|