Add Cheese Sandwiches

This commit is contained in:
Rubenwardy 2012-09-01 18:37:19 +01:00
parent 832f75e4f1
commit 0e01139e5a
3 changed files with 16 additions and 0 deletions

View File

@ -24,6 +24,7 @@ Diary
Sandwiches Sandwiches
* Venison Sandwich * Venison Sandwich
* Cheese Sandwich
Baking Baking
* Bread * Bread

View File

@ -19,6 +19,12 @@ minetest.register_craftitem("food:sw_meat", {
on_use = minetest.item_eat(10), 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", { minetest.register_craftitem("food:burger", {
description = "Burger", description = "Burger",
inventory_image = "food_burger.png", inventory_image = "food_burger.png",
@ -33,3 +39,12 @@ minetest.register_craft({
{"",'"food:bread_slice"',""}, {"",'"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

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B