From 0dd33165794461e5c82dcc1d7723f4a596c7401d Mon Sep 17 00:00:00 2001 From: Rubenwardy Date: Thu, 13 Dec 2012 19:59:31 +0000 Subject: Corrected wrong push --- drinks/juice.lua | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 drinks/juice.lua (limited to 'drinks/juice.lua') 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 -- cgit v1.2.3