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

Wet sponge to Dry Sponge

Back the sponge to the normal state ! (with cooking :) )
This commit is contained in:
Dave Devil's 2015-04-14 01:59:22 +02:00
parent 0d3a75eab3
commit d13af67d05

View File

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