1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 08:10:38 +01:00

Merge pull request #42 from davedevils/patch-10

Wet sponge to Dry Sponge, if you cookde it in a furnace
This commit is contained in:
Ombridride 2015-04-14 21:56:22 +02:00
commit 8b4c623ead

View File

@ -1,5 +1,5 @@
minetest.register_node("sponge:sponge", { minetest.register_node("sponge:sponge", {
description = "Sponge", description = "Sponge Dry",
drawtype = "normal", drawtype = "normal",
tiles = {"sponge_sponge.png"}, tiles = {"sponge_sponge.png"},
paramtype = 'light', paramtype = 'light',
@ -90,6 +90,22 @@ 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
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({ minetest.register_craft({
output = "sponge:sponge", output = "sponge:sponge",
recipe = { recipe = {