Core: change yaml_output to output a full csv (#3653)

* make yaml_output arg a bool instead of number

* make yaml_output dump all player options as csv

* it sorts by game so swap those columns

* capitalize game and name headers

* use a list and just add an if before adding instead of sorting

* skip options that the world doesn't want displayed

* check if the class is a subclass of Removed specifically instead of the none flag

* don't create empty rows

* add a header for every game option that isn't from the common ones even if they have the same name

* add to webhost gen args so it can still gen
This commit is contained in:
Aaron Wagener
2024-09-17 18:33:03 -05:00
committed by GitHub
parent f73c0d9894
commit 69487661dd
4 changed files with 51 additions and 28 deletions

View File

@@ -134,6 +134,7 @@ def gen_game(gen_options: dict, meta: Optional[Dict[str, Any]] = None, owner=Non
{"bosses", "items", "connections", "texts"}))
erargs.skip_prog_balancing = False
erargs.skip_output = False
erargs.yaml_output = False
name_counter = Counter()
for player, (playerfile, settings) in enumerate(gen_options.items(), 1):