Archipelago
Archipelago copied to clipboard
Core: allow a world to make a yaml template with options from its instance
What is this fixing or adding?
Adds a template that can generate a yaml from a dict[str, Any] of the option names to their values, and adds a method that can be called to generate a yaml template with a provided world instance. This can potentially be used during error handling to help get more information for reproducibility, and the template should be reusable for the webhost.
How was this tested?
Called the class during a generation step in my world and verified the output looked correct. Currently can't be run from unit tests if that's a desired outcome.