mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-09 20:02:11 +03:00
Add note about maybe not wanting to use UseConsumable to track Backpack
*Hopefully* `BackpackChange` will be 100% reliable in place of this. Test once live Odyssey is available!
This commit is contained in:
parent
bcbf37599e
commit
a50ed31450
@ -1025,6 +1025,12 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
# Parameters:
|
# Parameters:
|
||||||
# • Name
|
# • Name
|
||||||
# • Type
|
# • Type
|
||||||
|
|
||||||
|
# TODO: XXX: From v31 doc
|
||||||
|
# 12.2 BackpackChange
|
||||||
|
# This is written when there is any change to the contents of the
|
||||||
|
# suit backpack – note this can be written at the same time as other
|
||||||
|
# events like UseConsumable
|
||||||
for c in self.state['BackPack']['Consumable']:
|
for c in self.state['BackPack']['Consumable']:
|
||||||
if c == entry['Name']:
|
if c == entry['Name']:
|
||||||
self.state['BackPack']['Consumable'][c] -= 1
|
self.state['BackPack']['Consumable'][c] -= 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user