1
0
mirror of https://github.com/rubenwardy/food.git synced 2024-11-04 17:30:23 +01:00
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 ("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)
2012-12-04 18:36:26 +01:00
})
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"},
},
})