summaryrefslogtreecommitdiff
path: root/drinks
diff options
context:
space:
mode:
Diffstat (limited to 'drinks')
-rw-r--r--drinks/hot.lua2
-rw-r--r--drinks/juice.lua22
2 files changed, 21 insertions, 3 deletions
diff --git a/drinks/hot.lua b/drinks/hot.lua
index 1f600a0..4b2dd4b 100644
--- a/drinks/hot.lua
+++ b/drinks/hot.lua
@@ -11,7 +11,7 @@
-- [craft] Hot Chocolate
-- =====================================
-print ("RubenFood [Master] - Loading Hot")
+print ("Food [Master] - Loading Hot")
-----------------------------Coffee-----------------------------
diff --git a/drinks/juice.lua b/drinks/juice.lua
index b6d93ab..9397570 100644
--- a/drinks/juice.lua
+++ b/drinks/juice.lua
@@ -11,7 +11,7 @@
-- [craft] Cactus Juice
-- =====================================
-print ("RubenFood [Master] - Loading Juices")
+print ("Food [Master] - Loading Juices")
--------------------------Apple Juice--------------------------
minetest.register_craftitem("food:apple_juice", {
@@ -47,4 +47,22 @@ minetest.register_craft({
{'""','"default:cactus"','""'},
{'""','"food:cup"','""'},
}
-}) \ No newline at end of file
+})
+
+
+
+--------------------------Apple Juice--------------------------
+minetest.register_craftitem("food:rainbow_juice", {
+ description = "Nyan Rainbow Juice",
+ inventory_image = "food_juice_rainbow.png",
+ on_use = minetest.item_eat(50)
+})
+
+minetest.register_craft({
+ output = '"food:rainbow_juice" 99',
+ recipe = {
+ {"","",""},
+ {"","default:nyancat_rainbow",""},
+ {"","food:cup",""},
+ }
+})