Files
Grinch-AP/worlds/ladx/LADXR/mapgen/locations/base.py
zig-for 81a239325d Links Awakening: Implement New Game (#1334)
Adds Link's Awakening: DX. Fully imports and forks LADXR, with permission - https://github.com/daid/LADXR
2023-03-20 17:26:03 +01:00

25 lines
533 B
Python

from ...roomEditor import RoomEditor
from ..map import RoomInfo
class LocationBase:
MAX_COUNT = 9999
def __init__(self, room: RoomInfo, x, y):
self.room = room
self.x = x
self.y = y
room.locations.append(self)
def prepare(self, rom):
pass
def update_room(self, rom, re: RoomEditor):
pass
def connect_logic(self, logic_location):
raise NotImplementedError(self.__class__)
def get_item_pool(self):
raise NotImplementedError(self.__class__)