mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Merge branch 'main' into breaking_changes
# Conflicts: # BaseClasses.py # Fill.py # MultiClient.py # MultiServer.py # Utils.py # test/dungeons/TestDungeon.py # test/inverted/TestInverted.py # test/inverted_minor_glitches/TestInvertedMinor.py # test/inverted_owg/TestInvertedOWG.py # test/minor_glitches/TestMinor.py # test/owg/TestVanillaOWG.py # test/vanilla/TestVanilla.py # worlds/alttp/ItemPool.py # worlds/alttp/Main.py # worlds/alttp/Rom.py
This commit is contained in:
@@ -5,7 +5,8 @@ from worlds.alttp.Dungeons import create_dungeons, get_dungeon_item_pool
|
||||
from worlds.alttp.EntranceShuffle import mandatory_connections, connect_simple
|
||||
from worlds.alttp.ItemPool import difficulties, generate_itempool
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import create_regions, create_shops
|
||||
from worlds.alttp.Regions import create_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
|
||||
|
||||
|
@@ -4,7 +4,8 @@ from worlds.alttp.EntranceShuffle import link_inverted_entrances
|
||||
from worlds.alttp.InvertedRegions import create_inverted_regions
|
||||
from worlds.alttp.ItemPool import generate_itempool, difficulties
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import mark_light_world_regions, create_shops
|
||||
from worlds.alttp.Regions import mark_light_world_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
@@ -4,7 +4,8 @@ from worlds.alttp.EntranceShuffle import link_inverted_entrances
|
||||
from worlds.alttp.InvertedRegions import create_inverted_regions
|
||||
from worlds.alttp.ItemPool import generate_itempool, difficulties
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import mark_light_world_regions, create_shops
|
||||
from worlds.alttp.Regions import mark_light_world_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
@@ -4,7 +4,8 @@ from worlds.alttp.EntranceShuffle import link_inverted_entrances
|
||||
from worlds.alttp.InvertedRegions import create_inverted_regions
|
||||
from worlds.alttp.ItemPool import generate_itempool, difficulties
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import mark_light_world_regions, create_shops
|
||||
from worlds.alttp.Regions import mark_light_world_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
@@ -4,7 +4,8 @@ from worlds.alttp.EntranceShuffle import link_entrances
|
||||
from worlds.alttp.InvertedRegions import mark_dark_world_regions
|
||||
from worlds.alttp.ItemPool import difficulties, generate_itempool
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import create_regions, create_shops
|
||||
from worlds.alttp.Regions import create_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
@@ -4,7 +4,8 @@ from worlds.alttp.EntranceShuffle import link_entrances
|
||||
from worlds.alttp.InvertedRegions import mark_dark_world_regions
|
||||
from worlds.alttp.ItemPool import difficulties, generate_itempool
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import create_regions, create_shops
|
||||
from worlds.alttp.Regions import create_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
13
test/shops/TestSram.py
Normal file
13
test/shops/TestSram.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from Shops import shop_table
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
||||
class TestSram(TestBase):
|
||||
def testUniqueOffset(self):
|
||||
sram_ids = set()
|
||||
for shop_name, shopdata in shop_table.items():
|
||||
for x in range(3):
|
||||
new = shopdata.sram_offset + x
|
||||
with self.subTest(shop_name, slot=x + 1, offset=new):
|
||||
self.assertNotIn(new, sram_ids)
|
||||
sram_ids.add(new)
|
0
test/shops/__init__.py
Normal file
0
test/shops/__init__.py
Normal file
@@ -4,7 +4,8 @@ from worlds.alttp.EntranceShuffle import link_entrances
|
||||
from worlds.alttp.InvertedRegions import mark_dark_world_regions
|
||||
from worlds.alttp.ItemPool import difficulties, generate_itempool
|
||||
from worlds.alttp.Items import ItemFactory
|
||||
from worlds.alttp.Regions import create_regions, create_shops
|
||||
from worlds.alttp.Regions import create_regions
|
||||
from Shops import create_shops
|
||||
from worlds.alttp.Rules import set_rules
|
||||
from test.TestBase import TestBase
|
||||
|
||||
|
Reference in New Issue
Block a user