mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Various: fix absolute imports in worlds (#3489)
This commit is contained in:
@@ -5,7 +5,7 @@ from schema import And, Optional, Or, Schema
|
||||
|
||||
from Options import Accessibility, Choice, DeathLinkMixin, DefaultOnToggle, OptionDict, PerGameCommonOptions, \
|
||||
PlandoConnections, Range, StartInventoryPool, Toggle, Visibility
|
||||
from worlds.messenger.portals import CHECKPOINTS, PORTALS, SHOP_POINTS
|
||||
from .portals import CHECKPOINTS, PORTALS, SHOP_POINTS
|
||||
|
||||
|
||||
class MessengerAccessibility(Accessibility):
|
||||
|
@@ -1,5 +1,6 @@
|
||||
from worlds.generic.Rules import forbid_items_for_player, add_rule
|
||||
from worlds.shorthike.Options import Goal, GoldenFeatherProgression, MinShopCheckLogic, ShopCheckLogic
|
||||
from .Options import Goal, GoldenFeatherProgression, MinShopCheckLogic, ShopCheckLogic
|
||||
|
||||
|
||||
def create_rules(self, location_table):
|
||||
multiworld = self.multiworld
|
||||
|
@@ -5,7 +5,7 @@ from NetUtils import ClientStatus, NetworkItem
|
||||
|
||||
import worlds._bizhawk as bizhawk
|
||||
from worlds._bizhawk.client import BizHawkClient
|
||||
from worlds.yugioh06 import item_to_index
|
||||
from . import item_to_index
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from worlds._bizhawk.context import BizHawkClientContext
|
||||
|
@@ -3,8 +3,8 @@ from typing import Dict, List, NamedTuple, Optional, Union
|
||||
from BaseClasses import MultiWorld
|
||||
from worlds.generic.Rules import CollectionRule
|
||||
|
||||
from worlds.yugioh06 import item_to_index, tier_1_opponents, yugioh06_difficulty
|
||||
from worlds.yugioh06.locations import special
|
||||
from . import item_to_index, tier_1_opponents, yugioh06_difficulty
|
||||
from .locations import special
|
||||
|
||||
|
||||
class OpponentData(NamedTuple):
|
||||
|
Reference in New Issue
Block a user