forked from mtcontrib/food
Add Cheese Sandwiches
This commit is contained in:
parent
832f75e4f1
commit
0e01139e5a
@ -24,6 +24,7 @@ Diary
|
||||
|
||||
Sandwiches
|
||||
* Venison Sandwich
|
||||
* Cheese Sandwich
|
||||
|
||||
Baking
|
||||
* Bread
|
||||
|
15
sandwich.lua
15
sandwich.lua
@ -19,6 +19,12 @@ minetest.register_craftitem("food:sw_meat", {
|
||||
on_use = minetest.item_eat(10),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:sw_cheese", {
|
||||
description = "Cheese Sandwich",
|
||||
inventory_image = "food_sw_cheese.png",
|
||||
on_use = minetest.item_eat(8),
|
||||
})
|
||||
|
||||
minetest.register_craftitem("food:burger", {
|
||||
description = "Burger",
|
||||
inventory_image = "food_burger.png",
|
||||
@ -33,3 +39,12 @@ minetest.register_craft({
|
||||
{"",'"food:bread_slice"',""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = '"food:sw_cheese" 1',
|
||||
recipe = {
|
||||
{"",'"food:bread_slice"',""},
|
||||
{"food:butter","food:cheese",'"food:butter"'},
|
||||
{"",'"food:bread_slice"',""},
|
||||
}
|
||||
})
|
||||
|
BIN
textures/food_sw_cheese.png
Normal file
BIN
textures/food_sw_cheese.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 580 B |
Loading…
Reference in New Issue
Block a user