From 805bf35c176e1a8881996fada0016ec29bfafcd0 Mon Sep 17 00:00:00 2001 From: Rubenwardy Date: Sat, 1 Sep 2012 19:17:55 +0100 Subject: Added Buns, burgers, and cleared up graphics --- baking.lua | 65 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 32 deletions(-) (limited to 'baking.lua') diff --git a/baking.lua b/baking.lua index 850c28e..41b8eb6 100644 --- a/baking.lua +++ b/baking.lua @@ -8,32 +8,16 @@ -- [regis-food] Bread -- ===================================== -print "RubenFood [Master] - Loading Crumbles" ---Crumbles -minetest.register_craftitem("food:crumble_rhubarb", { - description = "Rhubarb Crumble", - inventory_image = "food_crumble_rhubarb.png", - on_use = minetest.item_eat(30), -}) - -minetest.register_craftitem("food:crumble_rhubarb_raw", { - description = "Raw Rhubarb Crumble", - inventory_image = "food_crumble_rhubarb_raw.png", -}) +print "RubenFood [Master] - Loading Bread" +-- doughs +if not minetest.get_modpath("farming") then -minetest.register_craft({ - output = '"food:crumble_rhubarb_raw" 1', - recipe = { - {'"food:sugar"',"",""}, - {'"food:flour"','"food:rhubarb"','"food:butter"'} - } -}) - -minetest.register_craft({ - type = "cooking", - output = "food:crumble_rhubarb", - recipe = "food:crumble_rhubarb_raw", +else +minetest.register_craftitem(":farming:cake_mix", { + description = "Dough", + inventory_image = "farming_cake_mix.png", }) +end minetest.register_craft({ output = '"food:bread_slice" 10', @@ -49,13 +33,30 @@ minetest.register_craftitem("food:bread_slice", { }) -print "RubenFood [Master] - Loading Dough" --- doughs -if not minetest.get_modpath("farming") then -else -minetest.register_craftitem(":farming:cake_mix", { - description = "Dough", - inventory_image = "farming_cake_mix.png", + +print "RubenFood [Master] - Loading Buns" +minetest.register_craftitem("food:bun_mix", { + description = "Bun Mix", + inventory_image = "food_bun_mix.png", +}) + +minetest.register_craftitem("food:bun", { + description = "Bun", + inventory_image = "food_bun.png", + on_use = minetest.item_eat(4), }) -end \ No newline at end of file + +minetest.register_craft({ + type = "cooking", + output = "food:bun", + recipe = "food:bun_mix", +}) + +minetest.register_craft({ + output = '"food:bun_mix" 5', + recipe = { + {"food:flour", "food:flour", "bucket:bucket_water"}, + }, + replacements = {{"bucket:bucket_water", "bucket:bucket_empty"}} +}) \ No newline at end of file -- cgit v1.2.3