Fixed issue with goal placement.

Added warning for if item an item is broken to report to the Discord thread
This commit is contained in:
2025-11-03 21:49:29 -07:00
parent d065e1b07f
commit ac80ed4d15
2 changed files with 10 additions and 1 deletions

View File

@@ -253,6 +253,13 @@ class GrinchClient(BizHawkClient):
for item_received in new_items_only:
local_item = ctx.item_names.lookup_in_game(item_received.item)
if "unknown item" in local_item.lower():
logger.warning(
f"Unknown item triggered in pool. Item: {local_item}\nIf you see this message, please report it in the Grinch thread in the AP Discord."
)
continue
grinch_item_ram_data = ALL_ITEMS_TABLE[local_item]
for addr_to_update in grinch_item_ram_data.update_ram_addr:

View File

@@ -47,7 +47,9 @@ class GrinchWorld(World):
entry = GrinchLocation(self.player, location, region, data)
if location == "MC - Sleigh Ride - Neutralizing Santa":
entry.place_locked_item(Item("Goal", ItemClassification.progression, data.id, self.player))
entry.place_locked_item(
Item("Goal", ItemClassification.progression, GrinchItem.get_apid(data.id), self.player)
)
region.locations.append(entry)