From ab5820f215751c56da478acac57f0a80d839c34b Mon Sep 17 00:00:00 2001 From: Megaf Date: Sat, 22 Nov 2014 23:18:03 +0000 Subject: [PATCH] Separeted Fences to it's own mod. Changed name to Mese Fence. --- mesecons_random/init.lua | 57 +----------------- mesecons_random/textures/electricfence.png | Bin 307 -> 0 bytes .../textures/electricfence_tile.png | Bin 645 -> 0 bytes .../textures/electricfence_tile_active.png | Bin 178 -> 0 bytes 4 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 mesecons_random/textures/electricfence.png delete mode 100644 mesecons_random/textures/electricfence_tile.png delete mode 100644 mesecons_random/textures/electricfence_tile_active.png diff --git a/mesecons_random/init.lua b/mesecons_random/init.lua index 6d49ef4..1624f14 100644 --- a/mesecons_random/init.lua +++ b/mesecons_random/init.lua @@ -23,61 +23,6 @@ minetest.register_craft({ } }) --- CONDUCTING FENCE -minetest.register_node("mesecons_random:conductingfence", { - description="A fence that conducts electricity", - is_ground_content = true, - drawtype = "fencelike", - tiles = {"electricfence_tile.png"}, - inventory_image = "electricfence.png", - wield_image = "electricfence.png", - paramtype = "light", - selection_box = { - type = "fixed", - fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}, - }, - groups = {snappy=3}, - sounds = default.node_sound_wood_defaults(), - walkable = true, - mesecons = {conductor = { - state = mesecon.state.off, - rules = { --axes - {x = -1, y = 0, z = 0}, - {x = 1, y = 0, z = 0}, - {x = 0, y = -1, z = 0}, - {x = 0, y = 1, z = 0}, - {x = 0, y = 0, z = -1}, - {x = 0, y = 0, z = 1}, - }, - onstate = "mesecons_random:conductingfence_active" - }} -}) - -minetest.register_node("mesecons_random:conductingfence_active", { - is_ground_content = true, - drawtype = "fencelike", - tiles = {"electricfence_tile.png^electricfence_tile_active.png"}, - paramtype = "light", - selection_box = { - type = "fixed", - fixed = {-1/7, -1/2, -1/7, 1/7, 1/2, 1/7}, - }, - groups = {snappy=3}, - sounds = default.node_sound_wood_defaults(), - walkable = true, - mesecons = {conductor = { - state = mesecon.state.on, - rules = { --axes - {x = -1, y = 0, z = 0}, - {x = 1, y = 0, z = 0}, - {x = 0, y = -1, z = 0}, - {x = 0, y = 1, z = 0}, - {x = 0, y = 0, z = -1}, - {x = 0, y = 0, z = 1}, - }, - offstate = "mesecons_random:conductingfence" - }} -}) minetest.register_craft({ output = 'mesecons_random:conductingfence 4', @@ -96,7 +41,7 @@ minetest.register_node("mesecons_random:ghoststone", { is_ground_content = true, inventory_image = minetest.inventorycube("jeija_ghoststone_inv.png"), groups = {cracky=3}, - sounds = default.node_sound_stone_defaults(), + --sounds = default.node_sound_stone_defaults(), mesecons = {conductor = { state = mesecon.state.off, rules = { --axes diff --git a/mesecons_random/textures/electricfence.png b/mesecons_random/textures/electricfence.png deleted file mode 100644 index 828f0333e92a666822e3f2c50df4ed511b6a1760..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 307 zcmV-30nGl1P)a+TY{c;pO4w=;P<=<>~C`>+S3A@a*sL z?eOyO^7HZY^!fVu`~3UPJE?g90004WQchCfl zxsDt~7y#h>fOMpcFWgq->{R^C%WPLzHYwh1RH|Omsqn`^QD5cD3!{|VIFDdbP0)XDT59qx=9*^6)QTk`XPxu6s zQYjVl!BYUYUUR{6{dSrrXWi!AX<6{@6*Z6TsuTVi^OJ`Uu1d-9+wXsi~foeTI6C|Z%a(*?#|00000NkvXXu0mjff3Py> diff --git a/mesecons_random/textures/electricfence_tile_active.png b/mesecons_random/textures/electricfence_tile_active.png deleted file mode 100644 index a8f4a1c367548860c8bbb602c0bae312c540bdfc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 178 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`m7Xq+Ar*|t3#=_FbwAqQoOM24 z@A%rEx4zE#U;gfSa%jP)fPepWcklYQKJNaP`qST5{C{HkH^K6!-~JliIW=d~^CyU8 zEPn7oGQOZe)>_cZ;K4jw@5Ae!-PowqG%Ma#^T^s~KVGuzVY8{Z*AV^hQL97KHv9TW dzq=)j40*S0TAah{w1JLb@O1TaS?83{1OOpVO|Jj|