From f72072fd0e74055f66b4551d24ed16225aa92426 Mon Sep 17 00:00:00 2001 From: capitalthree Date: Sat, 25 Nov 2023 00:48:56 -0600 Subject: [PATCH] invert goban corners/edges... I'm so sorry to change this after release, but it was done for 2 reasons: - edgy etching looks less bad on the sides of a raised goban with this orientation - if digging out an area for your goban, you can now place edgy from inside the playable area, instead of having to dig out extra space to place it from --- rules.lua | 4 ++-- textures/nc_concrete_pattern_corny.png | Bin 112 -> 107 bytes textures/nc_concrete_pattern_edgy.png | Bin 109 -> 103 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.lua b/rules.lua index cd06f9f..4fba9db 100644 --- a/rules.lua +++ b/rules.lua @@ -58,9 +58,9 @@ local function _check_position_uncached(pos) if reg_item.pattern_def then if reg_item.pattern_def.name == "edgy" then - return "WE" .. node.param2 + return "WE" .. ((node.param2+2)%4) elseif reg_item.pattern_def.name == "corny" then - return "WC" .. node.param2 + return "WC" .. ((node.param2+2)%4) elseif reg_item.pattern_def.name == "crossy" then return "WB" elseif reg_item.pattern_def.name == "starcrossy" then diff --git a/textures/nc_concrete_pattern_corny.png b/textures/nc_concrete_pattern_corny.png index 684164aef22b609374f62b4cef6228bc5517fa66..aa890a4a2ed91f04bf47647c5cd2264a64c87728 100644 GIT binary patch delta 55 zcmXTOo?vMt>*?YcqH#VsL4xIhJ)c8>^hd4@(tce`KI;7LtPH_kxs&yLw(e&D0#8>z Jmvv4FO#s_F5U&6L delta 60 zcmc~Um|$tH^G1)Y5u-;%itiZsqTQzs`7t3`z P3_#%N>gTe~DWM4fr(G2+ diff --git a/textures/nc_concrete_pattern_edgy.png b/textures/nc_concrete_pattern_edgy.png index 0bce4f54b43fa50239bc921476094a152a8fb8ca..e487464d647c63a0cff65fd2c884004c54cb9e47 100644 GIT binary patch delta 51 zcmc~zpJ1sc>FMGaqH#VsL4xIhJ);A^wnquGV>)jjE5qEt>eiyP=|&7d;OXk;vd$@? F2>^o-4#EHc delta 57 zcmYe#onUDq@9E+gqH#Vs!GZCAV*{hS#44_T!VE2<0emkKSdTI=n0~BowcPi30|O9v My85}Sb4q9e05^gYwg3PC