mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Links Awakening: Implement New Game (#1334)
Adds Link's Awakening: DX. Fully imports and forks LADXR, with permission - https://github.com/daid/LADXR
This commit is contained in:
24
worlds/ladx/LADXR/mapgen/locations/base.py
Normal file
24
worlds/ladx/LADXR/mapgen/locations/base.py
Normal file
@@ -0,0 +1,24 @@
|
||||
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__)
|
||||
Reference in New Issue
Block a user