The Messenger: Fix location access for Figurine Shop Locations (#1975)

This commit is contained in:
Aaron Wagener 2023-07-18 22:01:44 -05:00 committed by GitHub
parent 09f4b7ec38
commit 18c9779815
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ class MessengerShopLocation(MessengerLocation):
cost *= 2
can_afford = state.has("Shards", self.player, min(cost, world.total_shards))
if "Figurine" in self.name:
return state.has("Money Wrench", self.player) and can_afford
return state.has("Money Wrench", self.player) and can_afford\
and state.can_reach("Money Wrench", "Location", self.player)
return can_afford