summary refs log tree commit diff stats
path: root/regions.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-15 04:26:00 -0400
committerGitHub <noreply@github.com>2024-03-15 09:26:00 +0100
commite016228d2b76fa367889c9d98d6eb9e783f98cb4 (patch)
tree5c4fd5427ee1c89a832b3327eef6d39d4ce82d82 /regions.py
parentfcb3b36f44a7d475aa49c5c44971a2b7cabc4ca8 (diff)
downloadlingo-apworld-e016228d2b76fa367889c9d98d6eb9e783f98cb4.tar.gz
lingo-apworld-e016228d2b76fa367889c9d98d6eb9e783f98cb4.tar.bz2
lingo-apworld-e016228d2b76fa367889c9d98d6eb9e783f98cb4.zip
Lingo: Pre-compile datafile to improve loading time (#2829)
Diffstat (limited to 'regions.py')
-rw-r--r--regions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/regions.py b/regions.py index bdc42f4..464e9a1 100644 --- a/regions.py +++ b/regions.py
@@ -1,11 +1,12 @@
1from typing import Dict, Optional, TYPE_CHECKING 1from typing import Dict, Optional, TYPE_CHECKING
2 2
3from BaseClasses import Entrance, ItemClassification, Region 3from BaseClasses import Entrance, ItemClassification, Region
4from .datatypes import Room, RoomAndDoor
4from .items import LingoItem 5from .items import LingoItem
5from .locations import LingoLocation 6from .locations import LingoLocation
6from .player_logic import LingoPlayerLogic 7from .player_logic import LingoPlayerLogic
7from .rules import lingo_can_use_entrance, make_location_lambda 8from .rules import lingo_can_use_entrance, make_location_lambda
8from .static_logic import ALL_ROOMS, PAINTINGS, Room, RoomAndDoor 9from .static_logic import ALL_ROOMS, PAINTINGS
9 10
10if TYPE_CHECKING: 11if TYPE_CHECKING:
11 from . import LingoWorld 12 from . import LingoWorld