Unification of exploration logic

Crystal stuff for PoD/Hera
Minor fixes to key logic
This commit is contained in:
aerinon
2019-10-15 13:01:32 -06:00
parent a0fdb25b43
commit ce626bd093
4 changed files with 366 additions and 175 deletions

View File

@@ -1027,6 +1027,7 @@ class Location(object):
from Items import ItemFactory
self.forced_item = ItemFactory([forced_item], player)[0]
self.item = self.forced_item
self.item.location = self
self.event = True
else:
self.forced_item = None