Skip to content

Commit 30a0aa2

Browse files
authored
Lingo: Add item/location groups (#2789)
1 parent f4b7c28 commit 30a0aa2

9 files changed

+157
-89
lines changed

worlds/lingo/__init__.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from BaseClasses import Item, ItemClassification, Tutorial
77
from worlds.AutoWorld import WebWorld, World
88
from .datatypes import Room, RoomEntrance
9-
from .items import ALL_ITEM_TABLE, LingoItem
10-
from .locations import ALL_LOCATION_TABLE
9+
from .items import ALL_ITEM_TABLE, ITEMS_BY_GROUP, LingoItem
10+
from .locations import ALL_LOCATION_TABLE, LOCATIONS_BY_GROUP
1111
from .options import LingoOptions
1212
from .player_logic import LingoPlayerLogic
1313
from .regions import create_regions
@@ -46,6 +46,8 @@ class LingoWorld(World):
4646
location_name_to_id = {
4747
name: data.code for name, data in ALL_LOCATION_TABLE.items()
4848
}
49+
item_name_groups = ITEMS_BY_GROUP
50+
location_name_groups = LOCATIONS_BY_GROUP
4951

5052
player_logic: LingoPlayerLogic
5153

0 commit comments

Comments
 (0)