Docs: improve "sending_visible" comment
This commit is contained in:
parent
d577428ac8
commit
b8afc27e2f
2
Main.py
2
Main.py
|
@ -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]
|
precollected_items = {player: [item.code for item in world_precollected]
|
||||||
for player, world_precollected in world.precollected_items.items()}
|
for player, world_precollected in world.precollected_items.items()}
|
||||||
precollected_hints = {player: set() for player in range(1, world.players + 1)}
|
precollected_hints = {player: set() for player in range(1, world.players + 1)}
|
||||||
# for now special case Factorio tech_tree_information
|
|
||||||
sending_visible_players = set()
|
sending_visible_players = set()
|
||||||
|
|
||||||
for slot in world.player_ids:
|
for slot in world.player_ids:
|
||||||
|
|
|
@ -115,7 +115,8 @@ class World(metaclass=AutoWorldRegister):
|
||||||
item_names: Set[str] # set of all potential item names
|
item_names: Set[str] # set of all potential item names
|
||||||
location_names: Set[str] # set of all potential location 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
|
sending_visible: bool = False
|
||||||
|
|
||||||
def __init__(self, world: MultiWorld, player: int):
|
def __init__(self, world: MultiWorld, player: int):
|
||||||
|
|
Loading…
Reference in New Issue