summaryrefslogtreecommitdiff
path: root/drinks
diff options
context:
space:
mode:
authorAndrew <andrew@andrew-pc.(none)>2012-12-04 17:36:26 +0000
committerAndrew <andrew@andrew-pc.(none)>2012-12-04 17:36:26 +0000
commit11465f96051636b1c6c47f4f9504a03fff763c38 (patch)
tree13d4ff78272161e3a2a384b22e5291705cad4460 /drinks
parent84125508ebdd9a09e4fdc61fc207c6361b306c3c (diff)
Food 0.8 Prototype
Diffstat (limited to 'drinks')
-rw-r--r--drinks/milkshakes.lua38
-rw-r--r--drinks/milkshakes.lua~53
2 files changed, 90 insertions, 1 deletions
diff --git a/drinks/milkshakes.lua b/drinks/milkshakes.lua
index ffb8c56..e4c7846 100644
--- a/drinks/milkshakes.lua
+++ b/drinks/milkshakes.lua
@@ -14,4 +14,40 @@ minetest.register_craftitem("food:ms_chocolate", {
description = "Chocolate Milkshake",
inventory_image = "food_ms_chocolate.png",
on_use = minetest.item_eat(4)
-}) \ No newline at end of file
+})
+
+minetest.register_craft({
+ output = "food:ms_chocolate",
+ recipe = {
+ {"food:chocolate_milk"},
+ {"food:cup"},
+ },
+})
+
+minetest.register_craftitem("food:ms_strawberry", {
+ description = "Strawberry Milkshake",
+ inventory_image = "food_ms_strawberry.png",
+ on_use = minetest.item_eat(4)
+})
+
+minetest.register_craft({
+ output = "food:ms_strawberry",
+ recipe = {
+ {"food:strawberry"},
+ {"food:cup"},
+ },
+})
+
+minetest.register_craftitem("food:ms_banana", {
+ description = "Banana Milkshake",
+ inventory_image = "food_ms_banana.png",
+ on_use = minetest.item_eat(4)
+})
+
+minetest.register_craft({
+ output = "food:ms_banana",
+ recipe = {
+ {"food:banana"},
+ {"food:cup"},
+ },
+})
diff --git a/drinks/milkshakes.lua~ b/drinks/milkshakes.lua~
new file mode 100644
index 0000000..487f81b
--- /dev/null
+++ b/drinks/milkshakes.lua~
@@ -0,0 +1,53 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- =====================================
+-- >> rubenfood/drinks/milkshakes.lua
+-- adds drinks
+-- =====================================
+--
+-- =====================================
+
+print ("RubenFood [Master] - Loading Milk Shakes")
+
+minetest.register_craftitem("food:ms_chocolate", {
+ description = "Chocolate Milkshake",
+ inventory_image = "food_ms_chocolate.png",
+ on_use = minetest.item_eat(4)
+})
+
+minetest.register_craft({
+ output = "food:ms_chocolate",
+ recipe = {
+ {"food:chocolate_milk"},
+ {"food:cup"},
+ },
+})
+
+minetest.register_craftitem("food:ms_strawberry", {
+ description = "Strawberry Milkshake",
+ inventory_image = "food_ms_strawberry.png",
+ on_use = minetest.item_eat(4)
+})
+
+minetest.register_craft({
+ output = "food:ms_strawberry",
+ recipe = {
+ {"food:strawberry"},
+ {"food:cup"},
+ },
+})
+
+minetest.register_craftitem("food:ms_banana", {
+ description = "Banana Milkshake",
+ inventory_image = "food_ms_chocolate.png",
+ on_use = minetest.item_eat(4)
+})
+
+minetest.register_craft({
+ output = "food:ms_chocolate",
+ recipe = {
+ {"food:chocolate_milk"},
+ {"food:cup"},
+ },
+})