about summary refs log tree commit diff stats
path: root/apworld/context.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-25 23:34:51 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-25 23:34:51 -0400
commitcc6af26a8c0c01538f7220ba2e62ada136fff386 (patch)
tree38f3b7e95ca77c0f627d41e860c46b08bb7ec610 /apworld/context.py
parentd30a8e2ca351ba05d1b346e59feef6d098f75adf (diff)
downloadlingo2-archipelago-only-apworld.tar.gz
lingo2-archipelago-only-apworld.tar.bz2
lingo2-archipelago-only-apworld.zip
Fix item colors in game textclient only-apworld
Diffstat (limited to 'apworld/context.py')
-rw-r--r--apworld/context.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apworld/context.py b/apworld/context.py index 2294491..05f75a3 100644 --- a/apworld/context.py +++ b/apworld/context.py
@@ -167,7 +167,8 @@ class Lingo2ClientContext(CommonContext):
167 elif message_part["type"] == "item_id": 167 elif message_part["type"] == "item_id":
168 parts.append({ 168 parts.append({
169 "type": "item", 169 "type": "item",
170 "text": self.item_names.lookup_in_slot(int(message_part["text"]), message_part["player"]) 170 "text": self.item_names.lookup_in_slot(int(message_part["text"]), message_part["player"]),
171 "flags": message_part["flags"],
171 }) 172 })
172 elif message_part["type"] == "location_id": 173 elif message_part["type"] == "location_id":
173 parts.append({ 174 parts.append({