diff --git a/worlds/stardew_valley/stardew_rule/base.py b/worlds/stardew_valley/stardew_rule/base.py index 48092d76e265..008093d8169c 100644 --- a/worlds/stardew_valley/stardew_rule/base.py +++ b/worlds/stardew_valley/stardew_rule/base.py @@ -417,7 +417,7 @@ def __repr__(self): return f"Received {self.count} {repr(self.rules)}" -@dataclass(frozen=True, slots=True) +@dataclass(frozen=True) class Has(BaseStardewRule): item: str # For sure there is a better way than just passing all the rules everytime diff --git a/worlds/stardew_valley/stardew_rule/state.py b/worlds/stardew_valley/stardew_rule/state.py index 178d4b79467e..a0fce7c7c19e 100644 --- a/worlds/stardew_valley/stardew_rule/state.py +++ b/worlds/stardew_valley/stardew_rule/state.py @@ -47,7 +47,7 @@ def __repr__(self): return f"Received {self.count} {self.items}" -@dataclass(frozen=True, slots=True) +@dataclass(frozen=True) class Received(CombinableStardewRule): item: str player: int @@ -80,7 +80,7 @@ def get_difficulty(self): return self.count -@dataclass(frozen=True, slots=True) +@dataclass(frozen=True) class Reach(BaseStardewRule): spot: str resolution_hint: str @@ -101,7 +101,7 @@ def get_difficulty(self): return 1 -@dataclass(frozen=True, slots=True) +@dataclass(frozen=True) class HasProgressionPercent(CombinableStardewRule): player: int percent: int