Skip to content

Commit

Permalink
fixes #89 synchronizing some item names with 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Dec 18, 2014
1 parent 2134657 commit e0d7b71
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions corrections.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
'ALLOYS': DELETED,
'PLASTICS': DELETED,
'COMBAT STABILISERS': DELETED,
'CONSUMER TECH': 'Consumer Technology',
'DOM. APPLIANCES': 'Domestic Appliances',
'FRUIT AND VEGETABLES': 'Fruit And Vegetables',
'NON-LETHAL WPNS': 'Non-Lethal Weapons',

}

def correctSystem(oldName):
Expand Down
6 changes: 3 additions & 3 deletions data/AltItemNames.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
unq:[email protected]_id,unq:[email protected]_id,unq:alt_name
'Consumer Items','Consumer Tech','consumertechnology'
'Consumer Items','Dom. Appliances','domesticappliances'
'Consumer Items','Consumer Technology','consumertechnology'
'Consumer Items','Domestic Appliances','domesticappliances'
'Legal Drugs','Narcotics','basicnarcotics'
'Machinery','Microbial Furnaces','heliostaticfurnaces'
'Medicines','Agri-Medicines','agriculturalmedicines'
'Technology','H.E. Suits','hazardousenvironmentsuits'
'Technology','Land Enrichment Systems','terrainenrichmentsystems'
'Weapons','Non-Lethal Wpns','nonlethalweapons'
'Weapons','Non-Lethal Weapons','nonlethalweapons'
'Weapons','Reactive Armour','reactivearmour'
8 changes: 4 additions & 4 deletions data/Item.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ unq:[email protected]_id,unq:name,ui_order
'Chemicals','Mineral Oil',3
'Chemicals','Pesticides',4
'Consumer Items','Clothing',1
'Consumer Items','Consumer Tech',2
'Consumer Items','Dom. Appliances',3
'Consumer Items','Consumer Technology',2
'Consumer Items','Domestic Appliances',3
'Foods','Algae',1
'Foods','Animal Meat',2
'Foods','Coffee',3
'Foods','Fish',4
'Foods','Food Cartridges',5
'Foods','Fruit and Vegetables',6
'Foods','Fruit And Vegetables',6
'Foods','Grain',7
'Foods','Synthetic Meat',8
'Foods','Tea',9
Expand Down Expand Up @@ -75,6 +75,6 @@ unq:[email protected]_id,unq:name,ui_order
'Waste','Chemical Waste',2
'Waste','Scrap',3
'Weapons','Battle Weapons',1
'Weapons','Non-Lethal Wpns',2
'Weapons','Non-Lethal Weapons',2
'Weapons','Personal Weapons',3
'Weapons','Reactive Armour',4

0 comments on commit e0d7b71

Please sign in to comment.