Subnautica: increment version
This commit is contained in:
parent
50425985c4
commit
05e36cab1c
|
@ -41,7 +41,7 @@ class SubnauticaWorld(World):
|
||||||
location_name_to_id = all_locations
|
location_name_to_id = all_locations
|
||||||
option_definitions = Options.options
|
option_definitions = Options.options
|
||||||
|
|
||||||
data_version = 8
|
data_version = 9
|
||||||
required_client_version = (0, 3, 8)
|
required_client_version = (0, 3, 8)
|
||||||
|
|
||||||
creatures_to_scan: List[str]
|
creatures_to_scan: List[str]
|
||||||
|
|
|
@ -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)
|
Loading…
Reference in New Issue