mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
sm64ex: Add DeathLink Support
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import typing
|
import typing
|
||||||
from Options import Option, DefaultOnToggle, Range, Toggle
|
from Options import Option, DefaultOnToggle, Range, Toggle, DeathLink
|
||||||
|
|
||||||
class EnableCoinStars(DefaultOnToggle):
|
class EnableCoinStars(DefaultOnToggle):
|
||||||
"""Disable to Ignore 100 Coin Stars. You can still collect them, but they don't do anything"""
|
"""Disable to Ignore 100 Coin Stars. You can still collect them, but they don't do anything"""
|
||||||
@@ -35,5 +35,6 @@ sm64_options: typing.Dict[str,type(Option)] = {
|
|||||||
"EnableCoinStars": EnableCoinStars,
|
"EnableCoinStars": EnableCoinStars,
|
||||||
"StrictCapRequirements": StrictCapRequirements,
|
"StrictCapRequirements": StrictCapRequirements,
|
||||||
"StarsToFinish": StarsToFinish,
|
"StarsToFinish": StarsToFinish,
|
||||||
"ExtraStars": ExtraStars
|
"ExtraStars": ExtraStars,
|
||||||
|
"DeathLink": DeathLink,
|
||||||
}
|
}
|
@@ -68,5 +68,6 @@ class SM64World(World):
|
|||||||
def fill_slot_data(self):
|
def fill_slot_data(self):
|
||||||
return {
|
return {
|
||||||
"AreaRando": self.area_connections,
|
"AreaRando": self.area_connections,
|
||||||
"StarsToFinish": self.world.StarsToFinish[self.player].value
|
"StarsToFinish": self.world.StarsToFinish[self.player].value,
|
||||||
|
"DeathLink": self.world.DeathLink[self.player].value,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user