diff options
Diffstat (limited to 'drinks')
-rw-r--r-- | drinks/milkshakes.lua | 38 | ||||
-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"},
+ },
+})
|