sm64ex: Add DeathLink Support

This commit is contained in:
N00byKing 2022-02-14 16:19:25 +01:00 committed by Fabian Dill
parent 3fc93a33c8
commit 7503317d49
2 changed files with 5 additions and 3 deletions

View File

@ -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,
} }

View File

@ -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,
} }