Subnautica: fix typo and remove no longer used logger (#4456)
This commit is contained in:
parent
112bfe0933
commit
c2bd9df0f7
|
@ -1,6 +1,5 @@
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import logging
|
|
||||||
import itertools
|
import itertools
|
||||||
from typing import List, Dict, Any, cast
|
from typing import List, Dict, Any, cast
|
||||||
|
|
||||||
|
@ -10,13 +9,11 @@ from . import items
|
||||||
from . import locations
|
from . import locations
|
||||||
from . import creatures
|
from . import creatures
|
||||||
from . import options
|
from . import options
|
||||||
from .items import item_table, group_items, items_by_type, ItemType
|
from .items import item_table, group_items
|
||||||
from .rules import set_rules
|
from .rules import set_rules
|
||||||
|
|
||||||
logger = logging.getLogger("Subnautica")
|
|
||||||
|
|
||||||
|
class SubnauticaWeb(WebWorld):
|
||||||
class SubnaticaWeb(WebWorld):
|
|
||||||
tutorials = [Tutorial(
|
tutorials = [Tutorial(
|
||||||
"Multiworld Setup Guide",
|
"Multiworld Setup Guide",
|
||||||
"A guide to setting up the Subnautica randomizer connected to an Archipelago Multiworld",
|
"A guide to setting up the Subnautica randomizer connected to an Archipelago Multiworld",
|
||||||
|
@ -38,7 +35,7 @@ class SubnauticaWorld(World):
|
||||||
You must find a cure for yourself, build an escape rocket, and leave the planet.
|
You must find a cure for yourself, build an escape rocket, and leave the planet.
|
||||||
"""
|
"""
|
||||||
game = "Subnautica"
|
game = "Subnautica"
|
||||||
web = SubnaticaWeb()
|
web = SubnauticaWeb()
|
||||||
|
|
||||||
item_name_to_id = {data.name: item_id for item_id, data in items.item_table.items()}
|
item_name_to_id = {data.name: item_id for item_id, data in items.item_table.items()}
|
||||||
location_name_to_id = all_locations
|
location_name_to_id = all_locations
|
||||||
|
|
Loading…
Reference in New Issue