Docs: 'get_prefill_items' -> 'get_pre_fill_items' (#5167)

This commit is contained in:
Ixrec
2025-07-05 22:01:08 +01:00
committed by GitHub
parent 11130037fe
commit 072e2ece15
2 changed files with 2 additions and 2 deletions

View File

@@ -533,7 +533,7 @@ In addition, the following methods can be implemented and are called in this ord
called to modify item placement before, during, and after the regular fill process; all finishing before called to modify item placement before, during, and after the regular fill process; all finishing before
`generate_output`. Any items that need to be placed during `pre_fill` should not exist in the itempool, and if there `generate_output`. Any items that need to be placed during `pre_fill` should not exist in the itempool, and if there
are any items that need to be filled this way, but need to be in state while you fill other items, they can be are any items that need to be filled this way, but need to be in state while you fill other items, they can be
returned from `get_prefill_items`. returned from `get_pre_fill_items`.
* `generate_output(self, output_directory: str)` * `generate_output(self, output_directory: str)`
creates the output files if there is output to be generated. When this is called, creates the output files if there is output to be generated. When this is called,
`self.multiworld.get_locations(self.player)` has all locations for the player, with attribute `item` pointing to the `self.multiworld.get_locations(self.player)` has all locations for the player, with attribute `item` pointing to the

View File

@@ -382,7 +382,7 @@ class World(metaclass=AutoWorldRegister):
def create_items(self) -> None: def create_items(self) -> None:
""" """
Method for creating and submitting items to the itempool. Items and Regions must *not* be created and submitted Method for creating and submitting items to the itempool. Items and Regions must *not* be created and submitted
to the MultiWorld after this step. If items need to be placed during pre_fill use `get_prefill_items`. to the MultiWorld after this step. If items need to be placed during pre_fill use `get_pre_fill_items`.
""" """
pass pass