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:
15
worlds/ladx/LADXR/locations/heartContainer.py
Normal file
15
worlds/ladx/LADXR/locations/heartContainer.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from .droppedKey import DroppedKey
|
||||
from .items import *
|
||||
|
||||
|
||||
class HeartContainer(DroppedKey):
|
||||
# Due to the patches a heartContainers acts like a dropped key.
|
||||
def configure(self, options):
|
||||
if options.heartcontainers or options.hpmode == 'extralow':
|
||||
super().configure(options)
|
||||
elif options.hpmode == 'inverted':
|
||||
self.OPTIONS = [BAD_HEART_CONTAINER]
|
||||
elif options.hpmode == 'low':
|
||||
self.OPTIONS = [HEART_PIECE]
|
||||
else:
|
||||
self.OPTIONS = [HEART_CONTAINER]
|
||||
Reference in New Issue
Block a user