FF1: Throw exception for Noverworld

This commit is contained in:
TheBigSalarius 2022-09-11 19:55:11 -04:00 committed by Fabian Dill
parent ef46979bd8
commit 156e9e0e43
1 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,10 @@ class FF1World(World):
def goal_rule_and_shards(state): def goal_rule_and_shards(state):
return goal_rule(state) and state.has("Shard", self.player, 32) return goal_rule(state) and state.has("Shard", self.player, 32)
terminated_event.access_rule = goal_rule_and_shards terminated_event.access_rule = goal_rule_and_shards
if "MARK" in items.keys():
# Fail generation for Noverworld and provide link to old FFR website
raise Exception("FFR Noverworld seeds must be generated on an older version of FFR. Please ensure you generated the settings using "
"4-4-0.finalfantasyrandomizer.com")
menu_region.locations.append(terminated_event) menu_region.locations.append(terminated_event)
self.world.regions += [menu_region] self.world.regions += [menu_region]