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

This commit is contained in:
Athanasius committed 2021-04-12 08:30:51 +01:00
1 parent 5010f133a8
commit 8f2802fbcf
2 files changed
+5

No files matched your search

+4
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
+1
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': {},