diff --git a/README.md b/README.md index 315ec42..32c0f3a 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Diary Sandwiches * Venison Sandwich +* Cheese Sandwich Baking * Bread diff --git a/sandwich.lua b/sandwich.lua index 5355215..ddb8693 100644 --- a/sandwich.lua +++ b/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"',""}, + } +}) diff --git a/textures/food_sw_cheese.png b/textures/food_sw_cheese.png new file mode 100644 index 0000000..be5f84b Binary files /dev/null and b/textures/food_sw_cheese.png differ