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 3a2602702..e7e85a018 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 zcmV-+1d02JP)vJ3Bl)JUu-Q&dz` zRaI41R#sP6S6EnBSy@?HT3TFOTwPsVUS3{cU|?cmVq;@tWMpJzWo2k+XlYF}X;v?4 zRWoZ;IBRQbY*;&PP%dt6Zf|5VaBy&OUOsbPJ9Kn(bzD4lUo&=gc6VGgcV0esU_Ezt zcX)Vsd3kwyUNd@ndV70&d|o?ze0+X>et>|0fq{X7f`WsCgN22KhK7cSh=_@aiHeGf zi;Ihmjg5|uj*o9gk8?$jb4QPlkC1XnkaSCskdTpZM3Iq^l6ppycTAI$lazN$m3B*& zct@3$m6mo$mUm2+cuba-mX~)&mzS5AcT1d{oS%eEprD|orKPX0ue6X_yqIFm&COtX z$glta0>eo}K~xwS1;Ja78dU(m@&BC5To}s0ENOv~G+<;~(-)KWu^-G2;)YYKx@6a+&)%XZ-!VF95rRFM&`{;RKFCgGJ(X6jmBiRzwga=mQvK0<<#- zRH2NrD_|E5=S$sho^@Y?&Dg_~rQ9olxn;Lo*Di-ocBkLYp91&yFvq{NCYP==?vKY& z{wCU|ahk4QJsRi!5~ddG58hS+6q+vDCYqv{#b2EVOL*?%Q~MeKc3qCRaidZQFgeAgRA&i3-;n96yVtjPW@u+@G(A2J$P5^j-4*&+PXGph;4Y>7Gn!s%%c9Lli0Thg32UIG z8$&uN0Z@UJmt64>@DTvC;K>Q(5QB&;m*Eu;*B(Z_V8xD_+S~8Bjr2vysUqU>&DQ~R zP6{=@O<~uZ745oiSfs0BwgQpMF37t{a^G|Kl; zhPr8ycJaqE40qxO0R6Oo({v630KmgaLqj;7xU9%Bn*I$MR9%BI_wM1z3ShKO(=unB z#do7EAix6!x-(|erD2LuJw_ty!-Yg7T|B7Da(}&nUy_cQDnq9O^e?ujKmZt^MF?>| ze?tdC!vMaArF3%A4?O4ckL!36q~X@Szwi1R20uGdY~IR32%rU^OD~IO_4yjZ5c+db zh9sVP&R^`PRY*+l7|&Mc>(7R~?hT_k{{R9tCrw8_WcElF&+79lZWu-nBBmTr%E}pl zkniOgE3wCqe}@$O3QZ+ig+$pcN%28AFgW3;Px>x`)>K~fKN1}~9=~~>x&QzG07*qo IM6N<$f|n5Ku>b%7 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 zcmV;21bF+2P)vJ3Bl)JUu-Q&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ods/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 zcmV-&1daQNP)vJ3Bl)JUu-Q&dz` zRaI41R#sP6S6EnBSy@?HT3TFOTwPsVUS3{cU|?cmVq;@tWMpJzWo2k+XlYF}X;v?4 zRWoZ;IBRQbY*;&PP%dt6Zf|5VaBy&OUOsbPJ9Kn(bzD4lUo&=gc6VGgcV0esU_Ezt zcX)Vsd3kwyUNd@ndV70&d|o?ze0+X>et>|0fq{X7f`WsCgN22KhK7cSh=_@aiHeGf zi;Ihmjg5|uj*o9gk8?$jb4QPlkC1XnkaSCskdTpZM3Iq^l6ppycTAI$lazN$m3B*& zct@3$m6mo$mUm2+cuba-mX~)&mzS5AcT1d{oS%eEprD|orKPX0ue6X_yqIFm&COtX z$glta0>4Q_K~xwS1;Jf!+f)F6;rD#_~oHJ9x-+L;6Vl}G)~h%7l1*C1@s7$;zER1pbW{51`<%8 zluX&N6Vd2_FN_Q=d_VyEf-WMv`^^9!_evRCm{v;ZO)@TlGu07Pot@uWx7c{;Lt$D7 zEu`tUz?x`9mQAO&SrBOrv>4f72b^(i0J7EnlppRTF+wYSvus;zbPVbK(%MJd@wTG^ zxr{#trQ-2+ViHAWxwNZEPm*k@q!1yPa|(9v-$MlG(*<;V zU$*%Wsm6A_Th@_RHvQK*8B_>|hh5;RZ1Z8YK5B@7dgz#b&Ee0ui`c({5#+-PrPaWP zFNs`d7-$!Lb{nZZPt#e2omZ3NwpEB|9oq3QP{m)&w#9A5QzAdCgqWbKQbJK|n(are zr<+@5z!K#LkAc0fyc9M*Ip94bjsukV)Gz`>vPF$ReGry7bW!IqfM`20fL;(aJy>L| zzuRqE%MO8ONHFvCnvO9IJ=)AuP0l}y(GH1Y#IN&wb3x0PBZ1%N`9=dKV&#jl7)JF8}}l07*qoM6N<$ Ef+oS>KmY&$