From a50ed31450811ee686e1a0529efd322394ed1f07 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 18 May 2021 16:58:20 +0100 Subject: [PATCH] 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! --- monitor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/monitor.py b/monitor.py index 0da62cc9..47b82082 100644 --- a/monitor.py +++ b/monitor.py @@ -1025,6 +1025,12 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below # Parameters: # • Name # • 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']: if c == entry['Name']: self.state['BackPack']['Consumable'][c] -= 1