Skip to content

Commit

Permalink
Lingo: Add item/location groups (#2789)
Browse files Browse the repository at this point in the history
  • Loading branch information
hatkirby committed Mar 21, 2024
1 parent f4b7c28 commit 30a0aa2
Show file tree
Hide file tree
Showing 9 changed files with 157 additions and 89 deletions.
6 changes: 4 additions & 2 deletions worlds/lingo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from BaseClasses import Item, ItemClassification, Tutorial
from worlds.AutoWorld import WebWorld, World
from .datatypes import Room, RoomEntrance
from .items import ALL_ITEM_TABLE, LingoItem
from .locations import ALL_LOCATION_TABLE
from .items import ALL_ITEM_TABLE, ITEMS_BY_GROUP, LingoItem
from .locations import ALL_LOCATION_TABLE, LOCATIONS_BY_GROUP
from .options import LingoOptions
from .player_logic import LingoPlayerLogic
from .regions import create_regions
Expand Down Expand Up @@ -46,6 +46,8 @@ class LingoWorld(World):
location_name_to_id = {
name: data.code for name, data in ALL_LOCATION_TABLE.items()
}
item_name_groups = ITEMS_BY_GROUP
location_name_groups = LOCATIONS_BY_GROUP

player_logic: LingoPlayerLogic

Expand Down
Loading

0 comments on commit 30a0aa2

Please sign in to comment.