# HG changeset patch # User Matti Hamalainen # Date 1716056757 -10800 # Node ID db1a3e72c1d17d4bdf6434cc52af44d4ef64c840 # Parent 0d86439c13baec0745e7d50a9554399969fa5f84 Update to match in-game changes ('help item conditions'). diff -r 0d86439c13ba -r db1a3e72c1d1 gm-identify.tf --- a/gm-identify.tf Sat May 11 12:25:50 2024 +0300 +++ b/gm-identify.tf Sat May 18 21:25:57 2024 +0300 @@ -42,16 +42,24 @@ /test msw(strcat("| ", pad(_res, - idc_width), " |")) /def -i gidentify_maxcond =\ - /if ({1}=~"it's BRAND NEW") /return "AWESOME"%;\ - /elseif ({1}=~"have been used just a few times")/return "incredible"%;\ - /elseif ({1}=~"as good as new") /return "superb"%;\ - /elseif ({1}=~"has some small repairs") /return "excellent"%;\ - /elseif ({1}=~"has some minor fixes") /return "great"%;\ - /elseif ({1}=~"been fixed a few times") /return "good"%;\ - /elseif ({1}=~"been fixed several times") /return "fine"%;\ - /elseif ({1}=~"patched up a few times") /return "battered"%;\ - /elseif ({1}=~"patched up several times") /return "poor"%;\ - /elseif ({1}=~"repaired a few times") /return "bad(?)"%;\ + /if ({1}=~"about to fall apart") /return "broken"%;\ + /elseif ({1}=~"renovated several times") /return "trashed"%;\ + /elseif ({1}=~"renovated a few times") /return "awful"%;\ + /elseif ({1}=~"repaired several times") /return "very bad"%;\ + /elseif ({1}=~"repaired a few times") /return "bad"%;\ + /elseif ({1}=~"patched up several times") /return "poor"%;\ + /elseif ({1}=~"patched up a few times") /return "battered"%;\ + /elseif ({1}=~"been fixed several times") /return "fine"%;\ + /elseif ({1}=~"been fixed a few times") /return "good"%;\ + /elseif ({1}=~"has some minor fixes") /return "great"%;\ + /elseif ({1}=~"has some small repairs") /return "excellent"%;\ + /elseif ({1}=~"it's well-maintained but tarnished") /return "superb"%;\ + /elseif ({1}=~"has few scratches and dents") /return "incredible"%;\ + /elseif ({1}=~"it's showing only minor signs of wear") /return "exceptional"%;\ + /elseif ({1}=~"as good as new") /return "spectacular"%;\ + /elseif ({1}=~"has been used just a few times") /return "outstanding"%;\ + /elseif ({1}=~"has no visible signs of wear and tear") /return "fantastic"%;\ + /elseif ({1}=~"it's BRAND NEW") /return "AWESOME"%;\ /else /return {1}%;/endif /def -i gidentify_sep =\