From ad245f9a47bab759d8cff1c169512dab15c0371d Mon Sep 17 00:00:00 2001 From: Ombridride Date: Tue, 14 Apr 2015 22:00:43 +0200 Subject: [PATCH] Organize the code and change the craft recipe... ... of the "sponge:sponge" (Sponge Dry), now the craft need two Yellow Dyes in the craft grid --- mods/sponge/init.lua | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/mods/sponge/init.lua b/mods/sponge/init.lua index 0b0f162b..7ecefe5f 100755 --- a/mods/sponge/init.lua +++ b/mods/sponge/init.lua @@ -90,27 +90,16 @@ minetest.register_node("sponge:sponge_wet", { groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, }) ---Cooking the sponge wet to be a sponge dry (Back to the future sponge !) :D +-- Sponge wet back to Sponge Dry if cooked in a furnace minetest.register_craft({ type = "cooking", output = "sponge:sponge", recipe = "sponge:sponge_wet", }) --- Juste une proposition d'autre craft (comme c'est jaune et que ça a des trou) ---minetest.register_craft({ ---output = "sponge:sponge", ---recipe = { ---{"", "dye:yellow", ""}, ---{"dye:yellow", "", "dye:yellow"}, ---{"dye:yellow", "dye:yellow", "dye:yellow"}, ---}, ---}) - - minetest.register_craft({ output = "sponge:sponge", recipe = { {"", "dye:black", ""}, -{"", "wool:white", ""}, +{"dye:yellow", "wool:white", "dye:yellow"}, {"", "farming:wheat", ""}, }, })