1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-16 23:40:31 +01:00

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
This commit is contained in:
Ombridride 2015-04-14 22:00:43 +02:00
parent 8b4c623ead
commit ad245f9a47

View File

@ -90,27 +90,16 @@ minetest.register_node("sponge:sponge_wet", {
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, 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({ minetest.register_craft({
type = "cooking", output = "sponge:sponge", recipe = "sponge:sponge_wet", 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({ minetest.register_craft({
output = "sponge:sponge", output = "sponge:sponge",
recipe = { recipe = {
{"", "dye:black", ""}, {"", "dye:black", ""},
{"", "wool:white", ""}, {"dye:yellow", "wool:white", "dye:yellow"},
{"", "farming:wheat", ""}, {"", "farming:wheat", ""},
}, },
}) })