From c6385d74635cacb821cc50bd271662a609bc54cf Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Sat, 21 Sep 2019 16:08:24 +0100 Subject: [PATCH] Ignore voicepacks in outfitting Fixes #452 --- outfitting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/outfitting.py b/outfitting.py index 657c4a02..b4e0d1db 100644 --- a/outfitting.py +++ b/outfitting.py @@ -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