summaryrefslogtreecommitdiff
path: root/sandwich.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2012-08-31 18:43:10 +0100
committerRubenwardy <anjayward@gmail.com>2012-08-31 18:43:10 +0100
commite488cf549cdd02fa794053aa027324271e8d47ab (patch)
tree225a41e912939c4e4c738d4d04bc8423c7ce08bf /sandwich.lua
parent23b2a9a747b43abcf6633425008ff06752f6696c (diff)
More Stuff
Diffstat (limited to 'sandwich.lua')
-rw-r--r--sandwich.lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/sandwich.lua b/sandwich.lua
new file mode 100644
index 0000000..08c4213
--- /dev/null
+++ b/sandwich.lua
@@ -0,0 +1,29 @@
+-- RUBENFOOD MOD
+-- A mod written by rubenwardy that adds
+-- food to the minetest game
+-- ======================================
+-- >> rubenfood/sandwich.lua
+-- adds sandwich
+-- ======================================
+-- [regis-food] Cheese
+-- [craft] Cheese
+-- [regis-item] Butter
+-- [craft] Butter
+-- ======================================
+
+print "RubenFood [Master] - Loading Sandwiches"
+
+minetest.register_craftitem("food:sw_meat", {
+ description = "Venison Sandwich",
+ inventory_image = "food_sw_meat.png",
+ on_use = minetest.item_eat(10),
+})
+
+minetest.register_craft({
+ output = '"food:sw_meat" 1',
+ recipe = {
+ {"",'"food:bread_slice"',""},
+ {"food:butter","",'"food:butter"'},
+ {"",'"food:bread_slice"',""},
+ }
+})