mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
MultiServer: remove legacy datapackage keys
MultiServer: remove warning about legacy datapackage use MultiServer: remove legacy permission flags Options: add "random" option to all Choices LttP: remove random special handling from HeartColor
This commit is contained in:
@@ -231,13 +231,6 @@ class HeartColor(Choice):
|
||||
option_green = 2
|
||||
option_yellow = 3
|
||||
|
||||
@classmethod
|
||||
def from_text(cls, text: str) -> Choice:
|
||||
# remove when this becomes a base Choice feature
|
||||
if text == "random":
|
||||
return cls(random.randint(0, 3))
|
||||
return super(HeartColor, cls).from_text(text)
|
||||
|
||||
|
||||
class QuickSwap(DefaultOnToggle):
|
||||
displayname = "L/R Quickswapping"
|
||||
|
Reference in New Issue
Block a user