mirror of
https://github.com/rubenwardy/food.git
synced 2025-01-24 23:10:18 +01:00
Add milkshakes
This commit is contained in:
parent
2b6339fea9
commit
4dced7c82c
53
drinks/milkshakes.lua
Normal file
53
drinks/milkshakes.lua
Normal file
@ -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 ("Food [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 = {
|
||||
{"farming_plus:strawberry_item"},
|
||||
{"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 = {
|
||||
{"farming_plus:banana"},
|
||||
{"food:cup"},
|
||||
},
|
||||
})
|
Loading…
Reference in New Issue
Block a user