| 289 | }) |
| 290 | |
| 291 | def processMarketGroups(): |
| 292 | print('processing marketgroups') |
| 293 | data = _readData('fsd_built', 'marketgroups', keyIdName='marketGroupID') |
| 294 | map = { |
| 295 | 'name_en-us': 'marketGroupName', |
| 296 | 'description_en-us': '_description', |
| 297 | } |
| 298 | map.update({'name'+v: 'marketGroupName'+v for (k, v) in eos.config.translation_mapping.items() if k != 'en'}) |
| 299 | map.update({'description' + v: '_description' + v for (k, v) in eos.config.translation_mapping.items() if k != 'en'}) |
| 300 | _addRows(data, eos.gamedata.MarketGroup, fieldMap=map) |
| 301 | |
| 302 | def processMetaGroups(): |
| 303 | print('processing metagroups') |