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

Update modules from coriolis-data

Remove hacks to add missing data.
This commit is contained in:
Jonathan Harris 2016-10-07 18:37:48 +01:00
parent ba2537e127
commit 1a1553935d
3 changed files with 1 additions and 10 deletions

@ -1 +1 @@
Subproject commit 398ddb8889c6f35c3ce13bd97d42c53f89d85abd
Subproject commit 9a4cea2df1c6bbc3c10cf0f82c33976a6aa19248

View File

@ -329,14 +329,5 @@ if __name__ == "__main__":
else:
modules[key] = { 'mass': m.get('mass', 0) } # Some modules don't have mass
# not in coriolis-data at time of writing - stop outfitting complaining about them in debug mode
modules[('Burst Laser', None, '4', 'E')] = { 'mass': 16 }
for module in [
('Corrosion Resistant Cargo Rack', None, '1', 'D'),
('Corrosion Resistant Cargo Rack', None, '2', 'D'),
]:
if not module in modules:
modules[module] = { 'mass': 0 }
cPickle.dump(modules, open('modules.p', 'wb'), protocol = cPickle.HIGHEST_PROTOCOL)

BIN
modules.p

Binary file not shown.