From 4fdf601b69529050aca4bec95751517e46250536 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 17 Jul 2017 17:29:53 +0200 Subject: [PATCH] Remove redundant piston side textures --- mods/ITEMS/REDSTONE/mesecons_pistons/init.lua | 141 ++++++++---------- .../textures/mesecons_piston_left.png | Bin 1142 -> 0 bytes .../textures/mesecons_piston_right.png | Bin 1159 -> 0 bytes .../textures/mesecons_piston_top.png | Bin 1138 -> 0 bytes 4 files changed, 60 insertions(+), 81 deletions(-) delete mode 100644 mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_left.png delete mode 100644 mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_right.png delete mode 100644 mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_top.png diff --git a/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua b/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua index 3a260270..e7e85a01 100644 --- a/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_pistons/init.lua @@ -163,11 +163,11 @@ minetest.register_node("mesecons_pistons:piston_normal_off", { _doc_items_longdesc = "A piston is a redstone component with a pusher which pushes the block or blocks in front of it when it is supplied with redstone power. Not all blocks can be pushed, however.", _doc_items_usagehelp = usagehelp_piston, tiles = { - "mesecons_piston_top.png", - "mesecons_piston_bottom.png", - "mesecons_piston_left.png", - "mesecons_piston_right.png", - "mesecons_piston_back.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png^[transformR90", + "mesecons_piston_bottom.png^[transformR270", + "mesecons_piston_back.png", "mesecons_piston_pusher_front.png" }, groups = {handy = 1}, @@ -190,15 +190,13 @@ minetest.register_node("mesecons_pistons:piston_normal_off", { minetest.register_node("mesecons_pistons:piston_normal_on", { drawtype = "nodebox", tiles = { - "mesecons_piston_top.png", - "mesecons_piston_bottom.png", - "mesecons_piston_left.png", - "mesecons_piston_right.png", - "mesecons_piston_back.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png^[transformR90", + "mesecons_piston_bottom.png^[transformR270", + "mesecons_piston_back.png", "mesecons_piston_on_front.png" }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -260,11 +258,11 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", { _doc_items_usagehelp = usagehelp_piston, tiles = { - "mesecons_piston_top.png", - "mesecons_piston_bottom.png", - "mesecons_piston_left.png", - "mesecons_piston_right.png", - "mesecons_piston_back.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png^[transformR90", + "mesecons_piston_bottom.png^[transformR270", + "mesecons_piston_back.png", "mesecons_piston_pusher_front_sticky.png" }, groups = {handy=1}, @@ -287,15 +285,13 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", { minetest.register_node("mesecons_pistons:piston_sticky_on", { drawtype = "nodebox", tiles = { - "mesecons_piston_top.png", - "mesecons_piston_bottom.png", - "mesecons_piston_left.png", - "mesecons_piston_right.png", - "mesecons_piston_back.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png^[transformR90", + "mesecons_piston_bottom.png^[transformR270", + "mesecons_piston_back.png", "mesecons_piston_on_front.png" }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -372,14 +368,12 @@ local pistonspec_normal_up = { minetest.register_node("mesecons_pistons:piston_up_normal_off", { tiles = { "mesecons_piston_pusher_front.png", - "mesecons_piston_back.png", - "mesecons_piston_left.png^[transformR270", - "mesecons_piston_right.png^[transformR90", - "mesecons_piston_bottom.png", - "mesecons_piston_top.png^[transformR180", + "mesecons_piston_back.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -401,14 +395,12 @@ minetest.register_node("mesecons_pistons:piston_up_normal_on", { drawtype = "nodebox", tiles = { "mesecons_piston_on_front.png", - "mesecons_piston_back.png", - "mesecons_piston_left.png^[transformR270", - "mesecons_piston_right.png^[transformR90", - "mesecons_piston_bottom.png", - "mesecons_piston_top.png^[transformR180", + "mesecons_piston_back.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {hanry=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -468,15 +460,12 @@ local pistonspec_sticky_up = { minetest.register_node("mesecons_pistons:piston_up_sticky_off", { tiles = { "mesecons_piston_pusher_front_sticky.png", - "mesecons_piston_back.png", - "mesecons_piston_left.png^[transformR270", - "mesecons_piston_right.png^[transformR90", - "mesecons_piston_bottom.png", - "mesecons_piston_top.png^[transformR180", - "mesecons_piston_tb.png" + "mesecons_piston_back.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -498,14 +487,12 @@ minetest.register_node("mesecons_pistons:piston_up_sticky_on", { drawtype = "nodebox", tiles = { "mesecons_piston_on_front.png", - "mesecons_piston_back.png", - "mesecons_piston_left.png^[transformR270", - "mesecons_piston_right.png^[transformR90", - "mesecons_piston_bottom.png", - "mesecons_piston_top.png^[transformR180", + "mesecons_piston_back.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", + "mesecons_piston_bottom.png", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -583,15 +570,13 @@ local pistonspec_normal_down = { -- offstate minetest.register_node("mesecons_pistons:piston_down_normal_off", { tiles = { - "mesecons_piston_back.png", + "mesecons_piston_back.png", "mesecons_piston_pusher_front.png", - "mesecons_piston_left.png^[transformR90", - "mesecons_piston_right.png^[transformR270", - "mesecons_piston_bottom.png^[transformR180", - "mesecons_piston_top.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -612,15 +597,13 @@ minetest.register_node("mesecons_pistons:piston_down_normal_off", { minetest.register_node("mesecons_pistons:piston_down_normal_on", { drawtype = "nodebox", tiles = { - "mesecons_piston_back.png", + "mesecons_piston_back.png", "mesecons_piston_on_front.png", - "mesecons_piston_left.png^[transformR90", - "mesecons_piston_right.png^[transformR270", - "mesecons_piston_bottom.png^[transformR180", - "mesecons_piston_top.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -676,15 +659,13 @@ local pistonspec_sticky_down = { -- offstate minetest.register_node("mesecons_pistons:piston_down_sticky_off", { tiles = { - "mesecons_piston_back.png", + "mesecons_piston_back.png", "mesecons_piston_pusher_front_sticky.png", - "mesecons_piston_left.png^[transformR90", - "mesecons_piston_right.png^[transformR270", - "mesecons_piston_bottom.png^[transformR180", - "mesecons_piston_top.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, @@ -705,15 +686,13 @@ minetest.register_node("mesecons_pistons:piston_down_sticky_off", { minetest.register_node("mesecons_pistons:piston_down_sticky_on", { drawtype = "nodebox", tiles = { - "mesecons_piston_back.png", + "mesecons_piston_back.png", "mesecons_piston_on_front.png", - "mesecons_piston_left.png^[transformR90", - "mesecons_piston_right.png^[transformR270", - "mesecons_piston_bottom.png^[transformR180", - "mesecons_piston_top.png", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", + "mesecons_piston_bottom.png^[transformR180", }, - inventory_image = "mesecons_piston_top.png", - wield_image = "mesecons_piston_top.png", groups = {handy=1, not_in_creative_inventory = 1}, paramtype = "light", sunlight_propagates = true, diff --git a/mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_left.png b/mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_left.png deleted file mode 100644 index 038d7c892a68ff57ab548e537faf811d29299e18..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1142 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tG^8$QAT&1L>q@|^0Wo6~$ zVq#)rW8>oD5)u-Ul9G~>lT%VsQd3hiGBPrKO)|suvqFutLoBkh zvvVS>^8)np^78Uij0y@03ghgG{0 ztKy8Ss;a81t83z{Yierh>gpOA8X6lLo0^)Mo10r(Tie>&IyyQ!J3G6&y1Ki&dwYBP z`uh6w-TRAO`-|QC`}-#pc}^(to-kp;!~&Oz6DLlpa+_T4GkNmlDdpZ%%e<#nxKEur zby}Inv~r(m6+Y9ZO`BfsK7IQ18Rgz{=FFMj;=5qMf~8BBu3x`?%Y>*sGm_4pJ)2N< zVgmyM(_v2+#}Elg)`QXgQlSh7KK`F`I!5Bu0iDdoNhS#?(U-+1f7>X3hW|=B`npsvO#F6M_mTreGk;sA|M|N|pJ8{aeq%tuLzX_LX4glhB4JWNVJ-qHFPJ4# znYI{nge>gYq@5tn``r6({=Cxo=Cd~rPg#0LyK!gg_UP++?fzxU@1L8`^!>ZR@%>xW zrmr)8*MB_lpW3bEg|pVh+e$tEC$voLHUGUZCXrcsx721WnsGFKF1vTdyT`%5rA$2n zUYuR{@vx)gk({r&4Zr@#Tsh?4z_5Uo+s^P`SA-^Wi|V0B#hzxdhZk!Tl4?rMd|XlI zbK%OmX?_e94g3u3E9MtGNeybfBG9$R;DMyK=&ZQ)|E5=+5-#Fky3g*3Qm_HuT% zn7d=m38Pv6c%?#On~lD|dw7y7VT<2oqx88)%NOe^9AIYMWt?_-X<}EPt((&8!>ukV zu{JAC71i%;jGxpuQ_Fcd^B4VX%N-ab7PxX0+SNO=I~``&*S@r*=n}up^H2S+D}2yg^{3QffnUXeZ7TDs&c(l35$fUdUgCV%^VjFw z_Ppa=Z26yo$yD9f-7e*uhuHa7pSANO-1wE2$poA_CD}0H{ZmQpjmP`z+eQ9x`Km^> uy4=+D{OD+5VDWH;|1Z6!Yawx8?1f~l<@Q(3+r_}Zz~JfX=d#Wzp$Pz&5b3c1 diff --git a/mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_right.png b/mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_right.png deleted file mode 100644 index cbdf7ad7efcc14ecfc375b997e1eb460bb12da30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1159 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tG^8$QAT&1L>q@|^0Wo6~$ zVq#)rW8>oD5)u-Ul9G~>lT%VsQd3hiGBPrKO)|suv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KgQ#bEnI3IlZ&BjfOB)WHh{;%uzDAVkRea@Vdta{qrySr>;!fX^zFS3~0 zaMbtwvdb@nZGB7^@#ST+jR^K3=E#G KelF{r5}E+?<>>hU diff --git a/mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_top.png b/mods/ITEMS/REDSTONE/mesecons_textures/textures/mesecons_piston_top.png deleted file mode 100644 index 3ce370bc8ff45adc531bd5032ed08917c6e8d150..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1138 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tG^8$QAT&1L>q@|^0Wo6~$ zVq#)rW8>oD5)u-Ul9G~>lT%VsQd3hiGBPrKO)|suvqFutLoBkh zvvVS>^8)np^78Uij0y@03ghgG{0 ztKy8Ss;a81t83z{Yierh>gpOA8X6lLo0^)Mo10r(Tie>&IyyQ!J3G6&y1Ki&dwYBP z`uh6w-TRAO`-|QC`}-#pc}^(to-kp;!~&Oz6DLlpa+_T4GkNmlDdpZ%%e<#nxKEur zby}Inv~r(m6+Y9ZO`BfsK7IQ18Rgz{=FFMj;=5qMf~8BBu3x`?%Y>*sGm_4pJ)2N< zVgmyM(|%7E#}Elg)`PM6w?h~j9)7R+@#MzO0-^GNwVJb;X9sug&J@1>hxgy}cUFas zE?YSjmjv>5@^hBTHk)J`S(m*j?yHnDEdBMskxkpg@3Mn}?qFW*r6t>>$lwmR&B=a&sy z1y$!;KN&uslP(}MC-v+qN3Z1~_Zh^0Ffza6KiO|8b~?O&=P?hHImIcT!k2R-$L(qT zAh0*WVx9K{#(7ipR~neRd716mv1WO(*trk8a*{Pw{ZCClJZIa|RU5v2@bdAqDCJy# z+AQ30^0fUt#aw0Y?>n=+xXfBo6Tj`Jz{+D~d!w&S3^)6G-BL1yqrE-$!K$3kiCgWm zIvT28%&0s2@cfSM8~d9CpB&~|di6lNerHU&M22{6ne<9q|I3lBbHgV;-WJ-CA$#ki zLBP@YGuw{l9t~EqU(+&U!RjEVz?@lc-PbOk9i4VS=qY=D_UfWw|f_=}~ zcVFb|Og^&yb4{`1=^4t6_n-fCV^({-hMjRQV;X~$Og*y^bB6%O3q~UbUcLq&?c;O& zoco(CHTv0HT