Docs: improve "sending_visible" comment

This commit is contained in:
Fabian Dill 2022-01-14 19:27:44 +01:00
parent d577428ac8
commit b8afc27e2f
2 changed files with 3 additions and 2 deletions

View File

@ -258,7 +258,7 @@ def main(args, seed=None, baked_server_options: Optional[Dict[str, object]] = No
precollected_items = {player: [item.code for item in world_precollected]
for player, world_precollected in world.precollected_items.items()}
precollected_hints = {player: set() for player in range(1, world.players + 1)}
# for now special case Factorio tech_tree_information
sending_visible_players = set()
for slot in world.player_ids:

View File

@ -115,7 +115,8 @@ class World(metaclass=AutoWorldRegister):
item_names: Set[str] # set of all potential item names
location_names: Set[str] # set of all potential location names
# If there is visibility in what is being sent, this is where it will be known.
# If the game displays all contained items to the user, this flag pre-fills the hint system with this information
# For example the "full" tech tree information option in Factorio
sending_visible: bool = False
def __init__(self, world: MultiWorld, player: int):