From 8dd07e5c181c7a1f31e6620d016718215d17e00a Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Thu, 9 Jul 2015 01:37:37 +0100 Subject: [PATCH] Include Huge hardpoint in ship loadout. Fixes #18 --- loadout.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loadout.py b/loadout.py index af298b7c..a84b26d6 100644 --- a/loadout.py +++ b/loadout.py @@ -13,6 +13,7 @@ from companion import ship_map # API slot names to E:D Shipyard slot names slot_map = { + 'HugeHardpoint' : 'H', 'LargeHardpoint' : 'L', 'MediumHardpoint' : 'M', 'SmallHardpoint' : 'S', @@ -76,7 +77,7 @@ def export(data): # Construct description string = '[%s]\n' % ship - for slot in ['L', 'M', 'S', 'U', None, 'BH', 'RB', 'TM', 'FH', 'EC', 'PC', 'SS', 'FS', None, '9', '8', '7', '6', '5', '4', '3', '2', '1']: + for slot in ['H', 'L', 'M', 'S', 'U', None, 'BH', 'RB', 'TM', 'FH', 'EC', 'PC', 'SS', 'FS', None, '9', '8', '7', '6', '5', '4', '3', '2', '1']: if not slot: string += '\n' elif slot in loadout: