mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Add comment about why we empty backpack on ShipLockerMaterials
This commit is contained in:
parent
112525c31e
commit
020eb36d84
@ -717,7 +717,11 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
self.state['Component'] = defaultdict(int)
|
self.state['Component'] = defaultdict(int)
|
||||||
self.state['Consumable'] = defaultdict(int)
|
self.state['Consumable'] = defaultdict(int)
|
||||||
self.state['Item'] = defaultdict(int)
|
self.state['Item'] = defaultdict(int)
|
||||||
# TODO: Assume backpack is empty?
|
# TODO: Really we need a full BackPackMaterials event at the same time.
|
||||||
|
# In lieu of that, empty the backpack. This will explicitly
|
||||||
|
# be wrong if Cmdr relogs at a Settlement with anything in
|
||||||
|
# backpack. We can't track when they use/pick up items
|
||||||
|
# anyway (Odyssey Alpha Phase 1 Hotfix 2).
|
||||||
self.state['BackPack']['Component'] = defaultdict(int)
|
self.state['BackPack']['Component'] = defaultdict(int)
|
||||||
self.state['BackPack']['Consumable'] = defaultdict(int)
|
self.state['BackPack']['Consumable'] = defaultdict(int)
|
||||||
self.state['BackPack']['Item'] = defaultdict(int)
|
self.state['BackPack']['Item'] = defaultdict(int)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user