food/drinks/milkshakes.lua

54 lines
1.2 KiB
Lua
Raw Normal View History

-- RUBENFOOD MOD
-- A mod written by rubenwardy that adds
-- food to the minetest game
-- =====================================
-- >> rubenfood/drinks/milkshakes.lua
-- adds drinks
-- =====================================
--
-- =====================================
print ("Food [Modern] - Loading Milk Shakes")
minetest.register_craftitem("food_modern:ms_chocolate", {
description = "Chocolate Milkshake",
inventory_image = "food_ms_chocolate.png",
on_use = minetest.item_eat(4)
2012-12-04 18:36:26 +01:00
})
minetest.register_craft({
output = "food_modern:ms_chocolate",
2012-12-04 18:36:26 +01:00
recipe = {
{"food:chocolate_milk"},
{"food:cup"},
},
})
minetest.register_craftitem("food_modern:ms_strawberry", {
2012-12-04 18:36:26 +01:00
description = "Strawberry Milkshake",
inventory_image = "food_ms_strawberry.png",
on_use = minetest.item_eat(4)
})
minetest.register_craft({
output = "food_modern:ms_strawberry",
2012-12-04 18:36:26 +01:00
recipe = {
{"food:strawberry"},
{"food:cup"},
},
})
minetest.register_craftitem("food_modern:ms_banana", {
2012-12-04 18:36:26 +01:00
description = "Banana Milkshake",
inventory_image = "food_ms_banana.png",
on_use = minetest.item_eat(4)
})
minetest.register_craft({
output = "food_modern:ms_banana",
2012-12-04 18:36:26 +01:00
recipe = {
{"food:banana"},
{"food:cup"},
},
})