ArchipelagoMW-HollowKnight / Archipelago.HollowKnight

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

Contains assorted placement bugfixes. #105

Closed dewiniaid closed 2 years ago

dewiniaid commented 2 years ago

IC's Finder.GetLocation() returns a CLONE of the location, which makes it unsuitable for use as a dictionary key -- subsequent calls will produce a value that does not exist in the dictionary.

As a result, our caching of previously created placements was not caching anything at all. This is incidentally why placements were happening in reverse order.

Also, all of our default shop items/destroyed rewards were only working if the shop had zero placements, as the first item placed would destroy that placement and effectively overwrite it.

Lastly, we turned off too many seer rewards, preventing the door from opening at 200 essence.