1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

Ignore voicepacks in outfitting

Fixes #452
This commit is contained in:
Jonathan Harris 2019-09-21 16:08:24 +01:00
parent ac03fc583e
commit c6385d7463

View File

@ -366,8 +366,8 @@ def lookup(module, ship_map, entitled=False):
new['class'] = '1'
new['rating'] = 'I'
# Skip uninteresting stuff - no longer present in ED 3.1 cAPI data
elif name[0] in ['bobble', 'decal', 'nameplate', 'paintjob', 'enginecustomisation', 'weaponcustomisation'] or name[1].startswith('shipkit') :
# Skip uninteresting stuff - some no longer present in ED 3.1 cAPI data
elif name[0] in ['bobble', 'decal', 'nameplate', 'paintjob', 'enginecustomisation', 'voicepack', 'weaponcustomisation'] or name[1].startswith('shipkit') :
return None
# Shouldn't be listing player-specific paid stuff or broker/powerplay-specific modules in outfitting, other than Horizons