From b103f0df7e373c65da0995c64a4834def8b3ac39 Mon Sep 17 00:00:00 2001 From: burnsypet Date: Fri, 26 Jan 2018 13:53:07 +0000 Subject: [PATCH] Include service modules in EFT export Change to service/port.py to include Slot.SERVICE in export Also fixes a crash when attempting to export citadel with service modules to CREST --- service/port.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/service/port.py b/service/port.py index b1fd1ddc3..46576ad4a 100644 --- a/service/port.py +++ b/service/port.py @@ -59,13 +59,14 @@ try: except ImportError: from utils.compat import OrderedDict -EFT_SLOT_ORDER = [Slot.LOW, Slot.MED, Slot.HIGH, Slot.RIG, Slot.SUBSYSTEM] +EFT_SLOT_ORDER = [Slot.LOW, Slot.MED, Slot.HIGH, Slot.RIG, Slot.SUBSYSTEM, Slot.SERVICE] INV_FLAGS = { Slot.LOW: 11, Slot.MED: 19, Slot.HIGH: 27, Slot.RIG: 92, - Slot.SUBSYSTEM: 125 + Slot.SUBSYSTEM: 125, + Slot.SERVICE: 164 } INV_FLAG_CARGOBAY = 5