diff options
Diffstat (limited to 'food/sandwich.lua')
-rw-r--r-- | food/sandwich.lua | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/food/sandwich.lua b/food/sandwich.lua index 49bc50a..f5b2b9f 100644 --- a/food/sandwich.lua +++ b/food/sandwich.lua @@ -13,20 +13,36 @@ -- [craft] Burger
-- ======================================
-print "Food [Modern] - Loading Burgers"
+print "RubenFood [Master] - Loading Sandwiches"
-minetest.register_craftitem("food_modern:burger", {
- description = "Burger",
- inventory_image = "food_burger.png",
+minetest.register_craftitem("food:sw_meat", {
+ description = "Venison Sandwich",
+ inventory_image = "food_sw_meat.png",
on_use = minetest.item_eat(10),
groups={food=2},
})
+minetest.register_craftitem("food:sw_cheese", {
+ description = "Cheese Sandwich",
+ inventory_image = "food_sw_cheese.png",
+ on_use = minetest.item_eat(8),
+ groups={food=2},
+})
+
minetest.register_craft({
- output = '"food_modern:burger" 1',
+ output = '"food:sw_meat" 1',
recipe = {
- {"",'"food:bun"',""},
+ {"",'"food:bread_slice"',""},
{"food:butter","food:meat",'"food:butter"'},
- {"",'"food:bun"',""},
+ {"",'"food:bread_slice"',""},
+ }
+})
+
+minetest.register_craft({
+ output = '"food:sw_cheese" 1',
+ recipe = {
+ {"",'"food:bread_slice"',""},
+ {"food:butter","food:cheese",'"food:butter"'},
+ {"",'"food:bread_slice"',""},
}
})
|