Skip to content

Commit 5b1448d

Browse files
authored
Normalize CSV identifiers to ASCII slugs (#1438)
- 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-]+$
1 parent 7aa28f5 commit 5b1448d

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

data/v2/csv/items.csv

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ id,identifier,category_id,cost,fling_power,fling_effect_id
16191619
1669,tera-orb,20,0,,
16201620
1670,scarlet-book,20,0,,
16211621
1671,violet-book,20,0,,
1622-
1672,kofu’s-wallet,22,0,,
1622+
1672,kofus-wallet,22,0,,
16231623
1673,tiny-bamboo-shoot,24,375,,
16241624
1674,big-bamboo-shoot,24,1500,,
16251625
1675,scroll-of-darkness,21,0,,
@@ -1703,7 +1703,7 @@ id,identifier,category_id,cost,fling_power,fling_effect_id
17031703
1753,apple,53,130,,
17041704
1754,kiwi,53,180,,
17051705
1755,pineapple,53,250,,
1706-
1756,jalapeño,53,220,,
1706+
1756,jalapeno,53,220,,
17071707
1757,horseradish,53,410,,
17081708
1758,curry-powder,53,450,,
17091709
1759,wasabi,53,330,,
@@ -1988,13 +1988,13 @@ id,identifier,category_id,cost,fling_power,fling_effect_id
19881988
2043,smiling-vee-pick,55,1200,,
19891989
2044,blue-poke-ball-pick,55,200,,
19901990
2045,auspicious-armor,55,3000,,
1991-
2046,leader’s-crest,55,3000,,
1991+
2046,leaders-crest,55,3000,,
19921992
2047,pink-bottle,55,2000,,
19931993
2048,blue-bottle,55,2000,,
19941994
2049,yellow-bottle,55,2000,,
1995-
2050,steel-bottle-(r),55,1500,,
1996-
2051,steel-bottle-(y),55,1500,,
1997-
2052,steel-bottle-(b),55,1500,,
1995+
2050,steel-bottle-r,55,1500,,
1996+
2051,steel-bottle-y,55,1500,,
1997+
2052,steel-bottle-b,55,1500,,
19981998
2053,silver-bottle,55,20000,,
19991999
2054,barred-cup,55,800,,
20002000
2055,diamond-pattern-cup,55,800,,
@@ -2007,10 +2007,10 @@ id,identifier,category_id,cost,fling_power,fling_effect_id
20072007
2062,slowpoke-cup,55,2000,,
20082008
2063,silver-cup,55,20000,,
20092009
2064,exercise-ball,55,2000,,
2010-
2065,plaid-tablecloth-(y),55,3000,,
2011-
2066,plaid-tablecloth-(b),55,3000,,
2012-
2067,plaid-tablecloth-(r),55,3000,,
2013-
2068,b&w-grass-tablecloth,55,0,,
2010+
2065,plaid-tablecloth-y,55,3000,,
2011+
2066,plaid-tablecloth-b,55,3000,,
2012+
2067,plaid-tablecloth-r,55,3000,,
2013+
2068,bw-grass-tablecloth,55,0,,
20142014
2069,battle-tablecloth,55,4000,,
20152015
2070,monstrous-tablecloth,55,2000,,
20162016
2071,striped-tablecloth,55,1500,,

data/v2/csv/locations.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ id,region_id,identifier
591591
607,6,palais-lane
592592
608,6,parfum-palace
593593
609,6,kalos-route-7
594-
610,6,rivière-walk
594+
610,6,riviere-walk
595595
611,6,cyllage-city
596596
612,6,kalos-route-8
597597
613,6,muraille-coast
@@ -635,7 +635,7 @@ id,region_id,identifier
635635
651,6,winding-woods
636636
652,6,pokemon-village
637637
653,6,kalos-route-21
638-
654,6,dernière-way
638+
654,6,derniere-way
639639
655,6,kalos-route-22
640640
656,6,detourner-way
641641
657,6,kalos-victory-road

data/v2/csv/move_meta_categories.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ id,identifier
33
1,ailment
44
2,net-good-stats
55
3,heal
6-
4,damage+ailment
6+
4,damage-ailment
77
5,swagger
8-
6,damage+lower
9-
7,damage+raise
10-
8,damage+heal
8+
6,damage-lower
9+
7,damage-raise
10+
8,damage-heal
1111
9,ohko
1212
10,whole-field-effect
1313
11,field-effect

0 commit comments

Comments
 (0)