1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

monitor.py: Add support for Odyssey 'Component' materials.

This commit is contained in:
Athanasius 2021-04-02 08:48:42 +01:00
parent 5010f133a8
commit 8f2802fbcf
2 changed files with 5 additions and 0 deletions

View File

@ -515,6 +515,7 @@ Content of `state` (updated to the current journal entry):
| `Raw` | `dict` | Current raw engineering materials |
| `Manufactured` | `dict` | Current manufactured engineering materials |
| `Encoded` | `dict` | Current encoded engineering materials |
| `Component` | `dict` | Current component materials |
| `Engineers` | `dict` | Current Raw engineering materials |
| `Rank` | `Dict[str, Tuple[int, int]` | Current ranks, each entry is a tuple of the current rank, and age |
| `Statistics` | `dict` | Contents of a Journal Statistics event, ie, data shown in the stats panel. See the Journal manual for more info |
@ -553,6 +554,9 @@ Journal `ModuleInfo` event.
`OnFoot` is an indication as to if the player is on-foot, rather than in a
vehicle.
`Component` is a dict tracking your 'on-foot' materials for upgrading Suits
and on-foot weapons.
##### Synthetic Events
A special "StartUp" entry is sent if EDMC is started while the game is already

View File

@ -117,6 +117,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
'Raw': defaultdict(int),
'Manufactured': defaultdict(int),
'Encoded': defaultdict(int),
'Component': defaultdict(int), # Odyssey materials
'Engineers': {},
'Rank': {},
'Reputation': {},