mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 10:23:06 +03:00
monitor.state: Group all Odyssey, and add other ShipLocker categories
This commit is contained in:
parent
c4df5b2822
commit
ad677d73f6
@ -122,7 +122,6 @@ 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': {},
|
||||||
@ -139,7 +138,10 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
'Modules': None,
|
'Modules': None,
|
||||||
'CargoJSON': None, # The raw data from the last time cargo.json was read
|
'CargoJSON': None, # The raw data from the last time cargo.json was read
|
||||||
'Route': None, # Last plotted route from Route.json file
|
'Route': None, # Last plotted route from Route.json file
|
||||||
'OnFoot': False, # Whether we think you're on-foot
|
'OnFoot': False, # Whether we think you're on-foot
|
||||||
|
'Component': defaultdict(int), # Odyssey Components in Ship Locker
|
||||||
|
'Items': defaultdict(int), # Odyssey Items in Ship Locker
|
||||||
|
'Consumables': defaultdict(int), # Odyssey Consumables in Ship Locker
|
||||||
}
|
}
|
||||||
|
|
||||||
def start(self, root: 'tkinter.Tk') -> bool: # noqa: CCR001
|
def start(self, root: 'tkinter.Tk') -> bool: # noqa: CCR001
|
||||||
|
Loading…
x
Reference in New Issue
Block a user