Docs: Update generate_output docstring (#2098)

This commit is contained in:
Bryce Wilson
2023-08-16 07:02:43 -07:00
committed by GitHub
parent 5cd837256f
commit be07634b15

View File

@@ -309,8 +309,8 @@ class World(metaclass=AutoWorldRegister):
This happens before progression balancing, so the items may not be in their final locations yet.""" This happens before progression balancing, so the items may not be in their final locations yet."""
def generate_output(self, output_directory: str) -> None: def generate_output(self, output_directory: str) -> None:
"""This method gets called from a threadpool, do not use world.random here. """This method gets called from a threadpool, do not use multiworld.random here.
If you need any last-second randomization, use MultiWorld.per_slot_randoms[slot] instead.""" If you need any last-second randomization, use self.random instead."""
pass pass
def fill_slot_data(self) -> Dict[str, Any]: # json of WebHostLib.models.Slot def fill_slot_data(self) -> Dict[str, Any]: # json of WebHostLib.models.Slot