summaryrefslogtreecommitdiff
path: root/drinks/milkshakes.lua
blob: 34ffe822c5a0411b8a8541c7edca86d2ae7f8ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
-- 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"},	
	},
})