From 6f394738e36436c07d209cff563638c54c3ea415 Mon Sep 17 00:00:00 2001 From: rdococ Date: Mon, 31 Jul 2017 18:16:31 +0100 Subject: [PATCH] 1. Reversed the directionality of the conveyors again, so that the movement direction matches the facing direction. 2. Fixed minor bugs with the animations - which should be completely seamless now except for mapblock borders. 3. Also modified the side texture a little bit. --- conveyor.lua | 2 +- textures/rmod_conveyor_side.png | Bin 249 -> 270 bytes textures/rmod_conveyor_top_animated_2.png | Bin 276 -> 279 bytes .../rmod_conveyor_top_animated_2_reversed.png | Bin 279 -> 299 bytes 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/conveyor.lua b/conveyor.lua index 35bb670..e79308a 100644 --- a/conveyor.lua +++ b/conveyor.lua @@ -91,7 +91,7 @@ minetest.register_globalstep(function (dtime) if name == "rmod:conveyor" then -- I might replace this with a group, e.g. def.groups.conveyor, so you can set the speed. local facing = node.param2 -- Param2 is the facedir as defined above - conveyors face the opposite direction they move you. local direction = minetest.facedir_to_dir(facing) - local movement = vector.multiply(direction, {x=-1, y=-1, z=-1}) -- We reversed the facing system recently...then reversed it back. + local movement = vector.multiply(direction, {x=1, y=1, z=1}) -- We reversed the facing system recently. local newpos = vector.add(position, movement) local newrpos = {x=round(newpos.x), y=round(newpos.y), z=round(newpos.z)} diff --git a/textures/rmod_conveyor_side.png b/textures/rmod_conveyor_side.png index 4cd0cc4a2d58f46035f9bb5567d42f4ab566bd9c..bdf99b32eb67ae1d3b4eec142d73aa0faee13ca9 100644 GIT binary patch delta 160 zcmV;R0AK(40geKYQV9ni5eyfZ6#CMUTPS~aNkl90I0TX%R zpMaW{5t5D|goqVOiA$S%J#QbXdXl3!r9>j~3T~|tj|~7OFz0+bnBf@X7Ou4tfG!fo z;S;=i6UbS-vubhYcJRLdThspL3v=?8?eKV>08ApwQ=SLr5KAep3@*lXBjqC2V}c9- O0000t<807*qoM6N<$g5~8m7XSbN diff --git a/textures/rmod_conveyor_top_animated_2.png b/textures/rmod_conveyor_top_animated_2.png index 5e6324e0b0a06c0320703f9802acfab3add152d5..a824c5ff990db8b389a03bfd0436e264a4e38e3f 100644 GIT binary patch delta 184 zcmbQjG@WUJGn)*fpxp866FoKRCwjU#hE&{odtFhe!GMS5K=Z+?U-bX}pP#hK@gr-~ zjTNVS^8KGgWZ(5PdVXelaH!`bmdKI;Vst0Q%HH4*&oF delta 181 zcmbQvG=*t`Gn~)y|Iw@fPnzB!*(t1lX^GnmrppZ`-;nV z>70wsuS-uHmw40b4|GjohRi_!|$eP6LkmG$4}#%of{JO&3Ckceuj1_38FiG&75 rWWpf8fkP2V6WwdTP{9_H=O!skrs_hN92` z1s;|I*~>NN9sd8n#ZfWpsy;)K|54TA&068vZ+#~Pd4;8&o2jyMv*mgFD^b(+-tCpY zc0eNeG$W6}0S0CyA}620i9<4>fssuDi8#>AgelsfDd2>n3Z&@=LrTyt7hAjK9SlI= M>FVdQ&MBb@0AtfbyZ`_I delta 215 zcmZ3@G@WUJiYjM;M`SSr1Gg{;GcwGYBf-GHz+U3%>&pI+T}nWPQBdyq^@-6M^%Ff^ z978H@y}hm|)L_8Fa-jL()i3&g|Ibfa<@k}c>BfpvKKcGnBC_v#8a+QVJvh{JlJVK% zz5RR3Pc!}h*=Wed%wuqX0h!n$A