ArchipelagoMW-HollowKnight / Archipelago.HollowKnight

Hollow Knight mod enabling Archipelago multiworld interoperability.
MIT License
5 stars 10 forks source link

Hint tracker should update hint list when obtained an item #188

Closed BadMagic100 closed 10 months ago

BadMagic100 commented 1 year ago

Describe the bug When collecting a hinted item from your world, the hint list doesn't update.

Expected behavior The hint list should update

Additional context The hint tracker module could subscribe to aftergiveglobal . When receiving a hinted item:

  1. Update the hint in the hint list to "found" (if needed/possible)
  2. Fire the hint update event
BadMagic100 commented 1 year ago

cc @KonoTyran does this seem like a sane thing to do/a sane way to do it?

KonoTyran commented 1 year ago

Yea this is probably the best way to work around the issue of AP not correctly updating us when the status of hints change. Should be simple enough to check ifArchipelagoItemTag.Location is in the hint list and mark it as found.