mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
make stage_generate_output a class method
This commit is contained in:
@@ -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}
|
||||||
|
Reference in New Issue
Block a user