OoT: create OOTWorld.hint_rng earlier in generate_output
Otherwise the generator crashes when trying to make Ganondorf's text with hints off.
This commit is contained in:
		| @@ -637,8 +637,6 @@ hint_dist_keys = { | ||||
|  | ||||
| # builds out general hints based on location and whether an item is required or not | ||||
| def buildWorldGossipHints(world, checkedLocations=None): | ||||
|     # Seed the RNG | ||||
|     world.hint_rng = world.world.slot_seeds[world.player] | ||||
|  | ||||
|     # rebuild hint exclusion list | ||||
|     hintExclusions(world, clear_cache=True) | ||||
|   | ||||
| @@ -712,6 +712,9 @@ class OOTWorld(World): | ||||
|             for trap in ice_traps: | ||||
|                 trap.looks_like_item = self.create_item(self.world.slot_seeds[self.player].choice(self.fake_items).name) | ||||
|  | ||||
|             # Seed hint RNG, used for ganon text lines also | ||||
|             self.hint_rng = self.world.slot_seeds[self.player] | ||||
|  | ||||
|             outfile_name = f"AP_{self.world.seed_name}_P{self.player}_{self.world.get_player_name(self.player)}" | ||||
|             rom = Rom(file=get_options()['oot_options']['rom_file']) | ||||
|             if self.hints != 'none': | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 espeon65536
					espeon65536