From 0e01139e5a5d67966429aa2208f02955d5011cbe Mon Sep 17 00:00:00 2001 From: Rubenwardy Date: Sat, 1 Sep 2012 18:37:19 +0100 Subject: [PATCH] Add Cheese Sandwiches --- README.md | 1 + sandwich.lua | 15 +++++++++++++++ textures/food_sw_cheese.png | Bin 0 -> 580 bytes 3 files changed, 16 insertions(+) create mode 100644 textures/food_sw_cheese.png 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 0000000000000000000000000000000000000000..be5f84bb4b2171a1fbf3690042b6d015c67fa1c1 GIT binary patch literal 580 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sDEfH31!Z9ZwBpifmuL`hI$xk5ovep+TuszOO+L8?M(MP?cU zL&dGfUTaVIJPu-DPFB_v4ld?4_BJ+VRxsFTveCqg#Yl%o;ebF#Ps0+`7G7azwit$P z3I0i^C**ho&1Em~^mS#w!^tSXWn?rfa~4?0HKN3^v?L?Hh+*ZrGaf)8t`eY-bACZ( zQD%BZ3BwxxGgd%RKCoy}YGO%dex5=}W^O8j>34okpbRHSCOAK>q&%@Gl_9p^KS((@ zNYEv-I5{T~sI-V-`++U}Kw%D$aCl--US?i8!vX1M?LaYhi2l-|Q|C?XKlsV_; z=BDPAFnl{RZ9hOhfAo-U3d7XH1#CwUtTc$mc!RO;q7h6)Jr zFX;-M(I~HM$e7R>l3CDSqmh|x?RWcLzKKd-Wy(v9=YQ^P;bAzM_p+Pec-2vc&^25Z zOb#Cnek#4*dDc;u!793uS!m_fH;0?$8^R_=WnW@oFgcb{d@E+l-(ZCohvGh|GF+L# zVIbiieZg~L?*1H?Ev(x1*WJo`a^{4&mi1h_@Jg&8puhj`VV|mrL2ItDizqL;9`SX? dJ}1R028T;Yhi3XZ?f|-;!PC{xWt~$(69B0K#?=4- literal 0 HcmV?d00001