diff options
author | Rubenwardy <anjayward@gmail.com> | 2012-09-01 18:37:19 +0100 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2012-09-01 18:37:19 +0100 |
commit | 0e01139e5a5d67966429aa2208f02955d5011cbe (patch) | |
tree | b981a0bbb1899034b16cc9114a9aa9f667c971be | |
parent | 832f75e4f1bd3bb49ae9020152203e991455d23e (diff) |
Add Cheese Sandwiches
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | sandwich.lua | 15 | ||||
-rw-r--r-- | textures/food_sw_cheese.png | bin | 0 -> 580 bytes |
3 files changed, 16 insertions, 0 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..be5f84b --- /dev/null +++ b/textures/food_sw_cheese.png |