From 7b84cd1dbfe6c58b5fd2c49798d6dac0c2ecdcc1 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Fri, 31 Oct 2014 00:03:02 +0100 Subject: [PATCH] Sponges fixed - Texture of the sponges fixed --- mods/sponge/init.lua~ | 91 ------------------------------ mods/sponge/sponge_sponge.png | Bin 2448 -> 0 bytes mods/sponge/sponge_sponge_wet.png | Bin 3034 -> 0 bytes 3 files changed, 91 deletions(-) delete mode 100644 mods/sponge/init.lua~ delete mode 100644 mods/sponge/sponge_sponge.png delete mode 100644 mods/sponge/sponge_sponge_wet.png diff --git a/mods/sponge/init.lua~ b/mods/sponge/init.lua~ deleted file mode 100644 index c9c9090e..00000000 --- a/mods/sponge/init.lua~ +++ /dev/null @@ -1,91 +0,0 @@ -minetest.register_node("sponge:sponge", { - description = "Sponge", - drawtype = "normal", - tiles = {"sponge_sponge.png"}, - paramtype = 'light', - walkable = true, - pointable = true, - diggable = true, - buildable_to = false, - stack_max = 64, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3}, - on_place = function(itemstack, placer, pointed_thing) - local pn = placer:get_player_name() - if pointed_thing.type ~= "node" then - return itemstack - end - if minetest.is_protected(pointed_thing.above, pn) then - return itemstack - end - local change = false - local on_water = false - local pos = pointed_thing.above - -- verifier si il est dans l'eau ou a cotée - if string.find(minetest.env:get_node(pointed_thing.above).name, "water_source") - or string.find(minetest.env:get_node(pointed_thing.above).name, "water_flowing") then - on_water = true - end - for i=-1,1 do - p = {x=pos.x+i, y=pos.y, z=pos.z} - n = minetest.env:get_node(p) - -- On verifie si il y a de l'eau - if (n.name=="default:water_flowing") or (n.name == "default:water_source") then - on_water = true - end - end - for i=-1,1 do - p = {x=pos.x, y=pos.y+i, z=pos.z} - n = minetest.env:get_node(p) - -- On verifie si il y a de l'eau - if (n.name=="default:water_flowing") or (n.name == "default:water_source") then - on_water = true - end - end - for i=-1,1 do - p = {x=pos.x, y=pos.y, z=pos.z+i} - n = minetest.env:get_node(p) - -- On verifie si il y a de l'eau - if (n.name=="default:water_flowing") or (n.name == "default:water_source") then - on_water = true - end - end - - if on_water == true then - for i=-3,3 do - for j=-3,3 do - for k=-3,3 do - p = {x=pos.x+i, y=pos.y+j, z=pos.z+k} - n = minetest.env:get_node(p) - -- On Supprime l'eau - if (n.name=="default:water_flowing") or (n.name == "default:water_source")then - minetest.env:add_node(p, {name="air"}) - change = true - end - end - end - end - end - p = {x=pos.x, y=pos.y, z=pos.z} - n = minetest.env:get_node(p) - if change == true then - minetest.env:add_node(pointed_thing.above, {name = "sponge:sponge_wet"}) - else - minetest.env:add_node(pointed_thing.above, {name = "sponge:sponge"}) - end - return itemstack - - end -}) - -minetest.register_node("sponge:sponge_wet", { - description = "Wet Sponge", - drawtype = "normal", - tiles = {"sponge_sponge_wet.png"}, - paramtype = 'light', - walkable = true, - pointable = true, - diggable = true, - buildable_to = false, - stack_max = 64, - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3}, -}) diff --git a/mods/sponge/sponge_sponge.png b/mods/sponge/sponge_sponge.png deleted file mode 100644 index b91b097b2326b8203d53f5d770f9c063afcd99a0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2448 zcmV;B32*j^P)1uo1w94H&Qu7!d*iGLo3GBwiwSm)wJUae0Y{r58y)}DoE4CKAt+XHS}L`e)SI(nmGRq-OB&DKxM6fXeljbq!#Sz9 zXQft8$fuw7OSa$_o|nverBDv(-iDj!i#%)+n@);t;{eNxhbJYSnUqw@C+ReP%B5I)+1G9z^;X*0w4syLo}Gel;p7N8t&s> zDuW<$lTs>$<-!G{O9MxiO`#A{G%kQPke8~{Qp7!`nuixFVW~Fa3gFr`BOiWfJ0aB5gY-|ye##?z$q6l2qctaGr2f(+BemL$ z9^UOH9k4!Wk;n_kK(Yn)|Mbhs@2tA zskIPUBZy}MAn>qk?~W-D?lU;pr_U@b81QOB+IXK?KIkrLRv4fm+D|^|)t7jKwJlb| zAXijVIXrCiVVj_;L1`Wk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