summaryrefslogtreecommitdiff
path: root/drinks/juice.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-12-17 17:31:35 +0000
committerRubenwardy <anjayward@gmail.com>2012-12-17 17:31:35 +0000
commited0f8e255f98a3112769d0320c45121ce6da081f (patch)
tree0422e72855aeb31101879df928885b516d747c25 /drinks/juice.lua
parent0dd33165794461e5c82dcc1d7723f4a596c7401d (diff)
DocFarming support and more foods added
Diffstat (limited to 'drinks/juice.lua')
-rw-r--r--drinks/juice.lua22
1 files changed, 20 insertions, 2 deletions
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",""},
+ }
+})