mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
Factorio: refactor visibility option into tech_tree_information
set vanilla technologies to be hidden instead of disabled fix advancement icon still showing when no information in tech was supposed to be given
This commit is contained in:
4
Main.py
4
Main.py
@@ -508,10 +508,10 @@ def main(args, seed=None):
|
||||
for item in world.precollected_items:
|
||||
precollected_items[item.player].append(item.code)
|
||||
precollected_hints = {player: set() for player in range(1, world.players + 1)}
|
||||
# for now special case Factorio visibility
|
||||
# for now special case Factorio tech_tree_information
|
||||
sending_visible_players = set()
|
||||
for player in world.factorio_player_ids:
|
||||
if world.visibility[player]:
|
||||
if world.tech_tree_information[player].value == 2:
|
||||
sending_visible_players.add(player)
|
||||
|
||||
for i, team in enumerate(parsed_names):
|
||||
|
Reference in New Issue
Block a user