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:
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user