food/drinks/milkshakes.lua
Rubenwardy d98243d086 Corrected stupid ubuntu corruptions
I am never using command line GitHub again
2012-12-13 19:54:15 +00:00

54 lines
1.2 KiB
Lua

-- 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)
})
minetest.register_craft({
output = "food_modern:ms_chocolate",
recipe = {
{"food:chocolate_milk"},
{"food:cup"},
},
})
minetest.register_craftitem("food_modern:ms_strawberry", {
description = "Strawberry Milkshake",
inventory_image = "food_ms_strawberry.png",
on_use = minetest.item_eat(4)
})
minetest.register_craft({
output = "food_modern:ms_strawberry",
recipe = {
{"food:strawberry"},
{"food:cup"},
},
})
minetest.register_craftitem("food_modern:ms_banana", {
description = "Banana Milkshake",
inventory_image = "food_ms_banana.png",
on_use = minetest.item_eat(4)
})
minetest.register_craft({
output = "food_modern:ms_banana",
recipe = {
{"food:banana"},
{"food:cup"},
},
})