David Sangrey
fe8818d187
[2114] Apply PathLib Handover
2024-06-10 17:21:06 -04:00
David Sangrey
4dd83f5fa4
[2051] And a few more, with timezones
2023-11-17 19:44:36 -05:00
Athanasius
c61f235734
loadout.py: Collapse the construction of output filename
...
All the intermediate variables were more a "work in progress" thing.
Tested as still working.
2022-12-05 10:55:53 +00:00
Athanasius
485a1e3bb4
loadout.py: flake8 & mypy pass
...
* Catch if an empty string (or other not-None Falsey value) is passed in.
* Use pathlib for constructed filename.
2022-12-03 12:01:26 +00:00
Athanasius
2e27a2ba00
CAPIData: Make JSON encodable, and use that elsewhere
...
* It's no use `dict(CAPIData)` if that contains other `CAPIData`. So,
rather than write something to do that recursively just implement a
simple JSON Encoder class and specify its use.
2021-08-24 13:22:13 +01:00
Athanasius
ea1882d312
loadout.py: Pre-empt the 'dangling commas' brainfart when this gets refactored/cleaned
2021-05-19 18:12:45 +01:00
Athanasius
a09512f3b3
Mostly refactoring companion.ship_file_name() into util_ships.py
...
* Also prevent "You're not docked at a station!" for on_foot.
2021-04-12 08:30:51 +01:00
A_D
278480b99f
replaced ors with defaults in config usage
2021-04-01 14:45:46 +01:00
Athanasius
25852997c5
Updated all source to use new config methods
...
# Conflicts:
# monitor.py
2021-04-01 14:45:46 +01:00
Athanasius
e51b4f5c68
Cleanup of EDMC.py and related code. All flags tested.
...
Mostly the usual file-mode versus .encode('utf-8') tweaks, but also
one list() needed around a <dict>.values().
2019-09-26 11:40:42 +01:00
Jonathan Harris
0eaa61bdd9
Make system and station info websites configurable
2018-04-03 01:03:07 +01:00
Jonathan Harris
b102b8c5b8
Sanitise ship loadout file names
...
Fixes #303
2018-03-18 11:48:04 +00:00
Jonathan Harris
6ffcfc74a1
Send 2.4-style mod info to EDShipyard and Coriolis
2017-08-24 19:36:49 +01:00
Jonathan Harris
170d1435fb
Default loadout format is now Companion API json
2016-11-20 00:35:39 +00:00
Jonathan Harris
ea8f6e4ec0
Fix for outfitting cabins and fighter hangars
2016-10-25 19:13:24 +01:00
Jonathan Harris
2d3c05db15
Add Corrosion Resistant Cargo Rack modules
2016-06-19 16:48:20 +01:00
Jonathan Harris
ad0e57a285
Add "entitlement" field to collation
2016-02-25 05:39:34 +00:00
Jonathan Harris
c5b2c4b34c
Add mass and range to E:D Shipyard and Coriolis.
...
Means that these files can be directly loaded into ETN.
2016-01-28 12:32:26 +00:00
Jonathan Harris
bfcd70149f
Add new modules in E:D 1.5/2.0
2015-12-21 14:58:36 +00:00
Jonathan Harris
0a4cb864d1
Add new ships in E:D 1.5/2.0.
2015-12-21 12:10:44 +00:00
Jonathan Harris
face96eca0
Rationalise handling of different ship names in-game, in EDDN messages, in E:D Shipyard loadouts and in Coriolis loadouts.
2015-12-05 02:48:20 +00:00
Jonathan Harris
b0f60af38d
Add command-line program.
2015-11-07 05:08:49 +00:00
Jonathan Harris
ec4c2f480d
Use case-insensitive comparisons for modules.
...
Fixes #25 .
2015-09-23 17:23:31 +01:00
Jonathan Harris
d9d6856ce9
Fix for Electronic Countermeasure in ship loadout.
2015-08-01 23:54:15 +01:00
Jonathan Harris
8dd07e5c18
Include Huge hardpoint in ship loadout.
...
Fixes #18
2015-07-09 01:37:37 +01:00
Jonathan Harris
1110d978f4
Omit price from ship loadout - can leads to small differences depending on where the user lands.
2015-06-25 18:39:10 +01:00
Jonathan Harris
0002d321ca
Add option to output ship loadout in E:D Shipyard format.
2015-06-18 23:01:02 +01:00