summaryrefslogtreecommitdiff
path: root/drinks/juice.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-12-13 19:59:31 +0000
committerRubenwardy <anjayward@gmail.com>2012-12-13 19:59:31 +0000
commit0dd33165794461e5c82dcc1d7723f4a596c7401d (patch)
treed9d83971a6b7d24a0dec5419d54119da53376d1b /drinks/juice.lua
parentd98243d086f868b6e090c722700b8a204c93c269 (diff)
Corrected wrong push
Diffstat (limited to 'drinks/juice.lua')
-rw-r--r--drinks/juice.lua50
1 files changed, 50 insertions, 0 deletions
diff --git a/drinks/juice.lua b/drinks/juice.lua
new file mode 100644
index 0000000..b6d93ab
--- /dev/null
+++ b/drinks/juice.lua
@@ -0,0 +1,50 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/drinks/juice.lua
+-- adds juices
+-- =====================================
+-- [regis-food] Apple Juice
+-- [craft] Cactus Juice
+-- [regis-food] Cactus Juice
+-- [craft] Cactus Juice
+-- =====================================
+
+print ("RubenFood [Master] - Loading Juices")
+
+--------------------------Apple Juice--------------------------
+minetest.register_craftitem("food:apple_juice", {
+ description = "Apple Juice",
+ inventory_image = "food_juice_apple.png",
+ on_use = minetest.item_eat(2)
+})
+
+minetest.register_craft({
+ output = '"food:apple_juice" 4',
+ recipe = {
+ {"","",""},
+ {"","default:apple",""},
+ {"","food:cup",""},
+ }
+})
+
+
+
+
+
+----------------------cactus juice----------------------------
+minetest.register_craftitem("food:cactus_juice", {
+ description = "Cactuz Juice",
+ inventory_image = "food_juice_cactus.png",
+ on_use = minetest.item_eat(2),
+})
+
+minetest.register_craft({
+ output = '"food:cactus_juice" 4',
+ recipe = {
+ {'""','""','""'},
+ {'""','"default:cactus"','""'},
+ {'""','"food:cup"','""'},
+ }
+}) \ No newline at end of file