mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-09-25 05:44:30 -07:00
Core: move PlandoConnections and PlandoTexts to the options system (#2904)
Co-authored-by: Doug Hoskisson <[email protected]> Co-authored-by: Scipio Wright <[email protected]> Co-authored-by: beauxq <[email protected]> Co-authored-by: alwaysintreble <[email protected]>
This commit is contained in:
co-authored by
Doug Hoskisson
Scipio Wright
beauxq
alwaysintreble
parent
f40b10dc97
commit
4e5b6bb3d2
@@ -3,8 +3,8 @@ from BaseClasses import Region, ItemClassification, Item, Location
|
||||
from .locations import location_table
|
||||
from .er_data import Portal, tunic_er_regions, portal_mapping, traversal_requirements, DeadEnd
|
||||
from .er_rules import set_er_region_rules
|
||||
from Options import PlandoConnection
|
||||
from .options import EntranceRando
|
||||
from worlds.generic import PlandoConnection
|
||||
from random import Random
|
||||
from copy import deepcopy
|
||||
|
||||
@@ -194,7 +194,7 @@ def pair_portals(world: "TunicWorld") -> Dict[Portal, Portal]:
|
||||
connected_regions = update_reachable_regions(connected_regions, traversal_reqs, has_laurels, logic_rules)
|
||||
|
||||
if world.options.entrance_rando.value in EntranceRando.options:
|
||||
plando_connections = world.multiworld.plando_connections[world.player]
|
||||
plando_connections = world.options.plando_connections.value
|
||||
else:
|
||||
plando_connections = world.seed_groups[world.options.entrance_rando.value]["plando"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user