mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Hylics 2: Unique entrance names, fix APWorld on 3.8 (#2460)
* Blasphemous: Set rules for events later * Blasphemous: More misc logic fixes * Update worlds/blasphemous/Rules.py Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> * Update worlds/blasphemous/Rules.py Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> * Blasphemous: Some cleanup * Hylics 2: Unique entrance names, fix APWorld on 3.8 --------- Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@ from typing import Dict, List, Any
|
|||||||
from BaseClasses import Region, Entrance, Location, Item, Tutorial, ItemClassification
|
from BaseClasses import Region, Entrance, Location, Item, Tutorial, ItemClassification
|
||||||
from worlds.generic.Rules import set_rule
|
from worlds.generic.Rules import set_rule
|
||||||
from . import Exits, Items, Locations, Options, Rules
|
from . import Exits, Items, Locations, Options, Rules
|
||||||
from ..AutoWorld import WebWorld, World
|
from worlds.AutoWorld import WebWorld, World
|
||||||
|
|
||||||
|
|
||||||
class Hylics2Web(WebWorld):
|
class Hylics2Web(WebWorld):
|
||||||
@@ -193,7 +193,7 @@ class Hylics2World(World):
|
|||||||
if j == i:
|
if j == i:
|
||||||
for k in exits:
|
for k in exits:
|
||||||
# create entrance and connect it to parent and destination regions
|
# create entrance and connect it to parent and destination regions
|
||||||
ent = Entrance(self.player, k, reg)
|
ent = Entrance(self.player, f"{reg.name} {k}", reg)
|
||||||
reg.exits.append(ent)
|
reg.exits.append(ent)
|
||||||
if k == "New Game" and self.multiworld.random_start[self.player]:
|
if k == "New Game" and self.multiworld.random_start[self.player]:
|
||||||
if self.start_location == "Waynehouse":
|
if self.start_location == "Waynehouse":
|
||||||
|
Reference in New Issue
Block a user