mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Subnautica: increment version
This commit is contained in:
@@ -41,7 +41,7 @@ class SubnauticaWorld(World):
|
||||
location_name_to_id = all_locations
|
||||
option_definitions = Options.options
|
||||
|
||||
data_version = 8
|
||||
data_version = 9
|
||||
required_client_version = (0, 3, 8)
|
||||
|
||||
creatures_to_scan: List[str]
|
||||
|
15
worlds/subnautica/test/__init__.py
Normal file
15
worlds/subnautica/test/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import unittest
|
||||
from worlds import subnautica
|
||||
|
||||
|
||||
class SubnauticaTest(unittest.TestCase):
|
||||
# This is an assumption in the mod side
|
||||
scancutoff: int = 33999
|
||||
|
||||
def testIDRange(self):
|
||||
for id, name in subnautica.SubnauticaWorld.location_name_to_id.items():
|
||||
with self.subTest(item=name):
|
||||
if "Scan" in name:
|
||||
self.assertGreater(self.scancutoff, id)
|
||||
else:
|
||||
self.assertLess(self.scancutoff, id)
|
Reference in New Issue
Block a user