mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
The Messenger: more optimizations (#2451)
More speed optimizations for The Messenger. Moves Figurines into their own region, so their complicated access rule only needs to be calculated once when doing a sweep. Removes a redundant loop for shop locations by just directly assigning the access rule in the class instead of retroactively. Reduces slot_data to only information that can't be derived, and removes some additional extraneous data. Removes some unused sets and lists. Removes a redundant event location, and increments the required_client_version to prevent clients that don't expect the new slot_data. Drops data version since it's going away soon anyways, to remove conflicts.
This commit is contained in:
@@ -4,6 +4,7 @@ REGIONS: Dict[str, List[str]] = {
|
||||
"Menu": [],
|
||||
"Tower HQ": [],
|
||||
"The Shop": [],
|
||||
"The Craftsman's Corner": [],
|
||||
"Tower of Time": [],
|
||||
"Ninja Village": ["Ninja Village - Candle", "Ninja Village - Astral Seed"],
|
||||
"Autumn Hills": ["Autumn Hills - Climbing Claws", "Autumn Hills - Key of Hope", "Autumn Hills - Leaf Golem"],
|
||||
@@ -82,7 +83,8 @@ MEGA_SHARDS: Dict[str, List[str]] = {
|
||||
REGION_CONNECTIONS: Dict[str, Set[str]] = {
|
||||
"Menu": {"Tower HQ"},
|
||||
"Tower HQ": {"Autumn Hills", "Howling Grotto", "Searing Crags", "Glacial Peak", "Tower of Time",
|
||||
"Riviere Turquoise Entrance", "Sunken Shrine", "Corrupted Future", "The Shop", "Music Box"},
|
||||
"Riviere Turquoise Entrance", "Sunken Shrine", "Corrupted Future", "The Shop",
|
||||
"The Craftsman's Corner", "Music Box"},
|
||||
"Autumn Hills": {"Ninja Village", "Forlorn Temple", "Catacombs"},
|
||||
"Forlorn Temple": {"Catacombs", "Bamboo Creek"},
|
||||
"Catacombs": {"Autumn Hills", "Bamboo Creek", "Dark Cave"},
|
||||
|
Reference in New Issue
Block a user