AardCrowley / Search-and-Destroy

Safe, Legal Search and Destroy
10 stars 14 forks source link

Favor exact match on area ids to run to #46

Closed AardNaricain closed 3 years ago

AardNaricain commented 3 years ago

I had a custom starting room set for manorwoods, and a target in death's manor (arid: "manor"). Because it wasn't looking for an exact match to find the starting room when xset mark had been used, it was taking me to manorville.

Now it will favor exact matches, whether there's a mark or not, and fall back on partial matches. This could later be expanded to also do partial matching on the full area name instead of the arid.