From a75a2d0c7d445b502c78f004a16de1c0acbf1481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Thu, 12 Mar 2026 10:31:46 +0100 Subject: [PATCH] Normalize CSV identifiers to ASCII slugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove Unicode apostrophes (') from item names - Remove accents (è) from location names - Remove Unicode characters (ñ) from item names - Remove parentheses from item identifiers - Replace + with - in move meta categories - Replace & with nothing in item names Fixes 16 invalid identifiers to comply with ASCII slug pattern ^[a-z0-9-]+$ --- data/v2/csv/items.csv | 20 ++++++++++---------- data/v2/csv/locations.csv | 4 ++-- data/v2/csv/move_meta_categories.csv | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/data/v2/csv/items.csv b/data/v2/csv/items.csv index 558738c9b..d5701b7c7 100644 --- a/data/v2/csv/items.csv +++ b/data/v2/csv/items.csv @@ -1619,7 +1619,7 @@ id,identifier,category_id,cost,fling_power,fling_effect_id 1669,tera-orb,20,0,, 1670,scarlet-book,20,0,, 1671,violet-book,20,0,, -1672,kofu’s-wallet,22,0,, +1672,kofus-wallet,22,0,, 1673,tiny-bamboo-shoot,24,375,, 1674,big-bamboo-shoot,24,1500,, 1675,scroll-of-darkness,21,0,, @@ -1703,7 +1703,7 @@ id,identifier,category_id,cost,fling_power,fling_effect_id 1753,apple,53,130,, 1754,kiwi,53,180,, 1755,pineapple,53,250,, -1756,jalapeño,53,220,, +1756,jalapeno,53,220,, 1757,horseradish,53,410,, 1758,curry-powder,53,450,, 1759,wasabi,53,330,, @@ -1988,13 +1988,13 @@ id,identifier,category_id,cost,fling_power,fling_effect_id 2043,smiling-vee-pick,55,1200,, 2044,blue-poke-ball-pick,55,200,, 2045,auspicious-armor,55,3000,, -2046,leader’s-crest,55,3000,, +2046,leaders-crest,55,3000,, 2047,pink-bottle,55,2000,, 2048,blue-bottle,55,2000,, 2049,yellow-bottle,55,2000,, -2050,steel-bottle-(r),55,1500,, -2051,steel-bottle-(y),55,1500,, -2052,steel-bottle-(b),55,1500,, +2050,steel-bottle-r,55,1500,, +2051,steel-bottle-y,55,1500,, +2052,steel-bottle-b,55,1500,, 2053,silver-bottle,55,20000,, 2054,barred-cup,55,800,, 2055,diamond-pattern-cup,55,800,, @@ -2007,10 +2007,10 @@ id,identifier,category_id,cost,fling_power,fling_effect_id 2062,slowpoke-cup,55,2000,, 2063,silver-cup,55,20000,, 2064,exercise-ball,55,2000,, -2065,plaid-tablecloth-(y),55,3000,, -2066,plaid-tablecloth-(b),55,3000,, -2067,plaid-tablecloth-(r),55,3000,, -2068,b&w-grass-tablecloth,55,0,, +2065,plaid-tablecloth-y,55,3000,, +2066,plaid-tablecloth-b,55,3000,, +2067,plaid-tablecloth-r,55,3000,, +2068,bw-grass-tablecloth,55,0,, 2069,battle-tablecloth,55,4000,, 2070,monstrous-tablecloth,55,2000,, 2071,striped-tablecloth,55,1500,, diff --git a/data/v2/csv/locations.csv b/data/v2/csv/locations.csv index 236696b0b..c47664e9d 100644 --- a/data/v2/csv/locations.csv +++ b/data/v2/csv/locations.csv @@ -591,7 +591,7 @@ id,region_id,identifier 607,6,palais-lane 608,6,parfum-palace 609,6,kalos-route-7 -610,6,rivière-walk +610,6,riviere-walk 611,6,cyllage-city 612,6,kalos-route-8 613,6,muraille-coast @@ -635,7 +635,7 @@ id,region_id,identifier 651,6,winding-woods 652,6,pokemon-village 653,6,kalos-route-21 -654,6,dernière-way +654,6,derniere-way 655,6,kalos-route-22 656,6,detourner-way 657,6,kalos-victory-road diff --git a/data/v2/csv/move_meta_categories.csv b/data/v2/csv/move_meta_categories.csv index b904b5354..6cceef933 100644 --- a/data/v2/csv/move_meta_categories.csv +++ b/data/v2/csv/move_meta_categories.csv @@ -3,11 +3,11 @@ id,identifier 1,ailment 2,net-good-stats 3,heal -4,damage+ailment +4,damage-ailment 5,swagger -6,damage+lower -7,damage+raise -8,damage+heal +6,damage-lower +7,damage-raise +8,damage-heal 9,ohko 10,whole-field-effect 11,field-effect