make stage_generate_output a class method
This commit is contained in:
parent
9dc3f3f38b
commit
be27586203
|
@ -683,7 +683,8 @@ class OOTWorld(World):
|
||||||
rom.restore()
|
rom.restore()
|
||||||
|
|
||||||
# Gathers hint data for OoT. Loops over all world locations for woth, barren, and major item locations.
|
# Gathers hint data for OoT. Loops over all world locations for woth, barren, and major item locations.
|
||||||
def stage_generate_output(world: MultiWorld, output_directory: str):
|
@classmethod
|
||||||
|
def stage_generate_output(cls, world: MultiWorld, output_directory: str):
|
||||||
def hint_type_players(hint_type: str) -> set:
|
def hint_type_players(hint_type: str) -> set:
|
||||||
return {autoworld.player for autoworld in world.get_game_worlds("Ocarina of Time")
|
return {autoworld.player for autoworld in world.get_game_worlds("Ocarina of Time")
|
||||||
if autoworld.hints != 'none' and autoworld.hint_dist_user['distribution'][hint_type]['copies'] > 0}
|
if autoworld.hints != 'none' and autoworld.hint_dist_user['distribution'][hint_type]['copies'] > 0}
|
||||||
|
|
Loading…
Reference in New Issue