mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-31 23:59:38 +03:00
monitor.py: Add support for Odyssey 'Component' materials.
This commit is contained in:
parent
5010f133a8
commit
8f2802fbcf
@ -515,6 +515,7 @@ Content of `state` (updated to the current journal entry):
|
|||||||
| `Raw` | `dict` | Current raw engineering materials |
|
| `Raw` | `dict` | Current raw engineering materials |
|
||||||
| `Manufactured` | `dict` | Current manufactured engineering materials |
|
| `Manufactured` | `dict` | Current manufactured engineering materials |
|
||||||
| `Encoded` | `dict` | Current encoded engineering materials |
|
| `Encoded` | `dict` | Current encoded engineering materials |
|
||||||
|
| `Component` | `dict` | Current component materials |
|
||||||
| `Engineers` | `dict` | Current Raw engineering 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 |
|
| `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 |
|
| `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
|
`OnFoot` is an indication as to if the player is on-foot, rather than in a
|
||||||
vehicle.
|
vehicle.
|
||||||
|
|
||||||
|
`Component` is a dict tracking your 'on-foot' materials for upgrading Suits
|
||||||
|
and on-foot weapons.
|
||||||
|
|
||||||
##### Synthetic Events
|
##### Synthetic Events
|
||||||
|
|
||||||
A special "StartUp" entry is sent if EDMC is started while the game is already
|
A special "StartUp" entry is sent if EDMC is started while the game is already
|
||||||
|
@ -117,6 +117,7 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
'Raw': defaultdict(int),
|
'Raw': defaultdict(int),
|
||||||
'Manufactured': defaultdict(int),
|
'Manufactured': defaultdict(int),
|
||||||
'Encoded': defaultdict(int),
|
'Encoded': defaultdict(int),
|
||||||
|
'Component': defaultdict(int), # Odyssey materials
|
||||||
'Engineers': {},
|
'Engineers': {},
|
||||||
'Rank': {},
|
'Rank': {},
|
||||||
'Reputation': {},
|
'Reputation': {},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user