mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
Tutorials: hide ArchipIDLE (#622)
* Don't copy files of hidden worlds * tutorials: hardcode not generating ArchipIDLE tutorial files outside april * tutorials: ignore hidden worlds unless it's 'Archipelago' * add parenthesis to prevent ambiguity
This commit is contained in:
@@ -46,7 +46,7 @@ def create_ordered_tutorials_file() -> typing.List[typing.Dict[str, typing.Any]]
|
||||
worlds = {}
|
||||
data = []
|
||||
for game, world in AutoWorldRegister.world_types.items():
|
||||
if hasattr(world.web, 'tutorials'):
|
||||
if hasattr(world.web, 'tutorials') and (not world.hidden or game == 'Archipelago'):
|
||||
worlds[game] = world
|
||||
for game, world in worlds.items():
|
||||
# copy files from world's docs folder to the generated folder
|
||||
|
Reference in New Issue
Block a user