mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
32 lines
552 B
Python
32 lines
552 B
Python
![]() |
from dataclasses import dataclass
|
||
|
|
||
|
from .game_item import Requirement
|
||
|
from ..strings.tool_names import ToolMaterial
|
||
|
|
||
|
|
||
|
@dataclass(frozen=True)
|
||
|
class BookRequirement(Requirement):
|
||
|
book: str
|
||
|
|
||
|
|
||
|
@dataclass(frozen=True)
|
||
|
class ToolRequirement(Requirement):
|
||
|
tool: str
|
||
|
tier: str = ToolMaterial.basic
|
||
|
|
||
|
|
||
|
@dataclass(frozen=True)
|
||
|
class SkillRequirement(Requirement):
|
||
|
skill: str
|
||
|
level: int
|
||
|
|
||
|
|
||
|
@dataclass(frozen=True)
|
||
|
class SeasonRequirement(Requirement):
|
||
|
season: str
|
||
|
|
||
|
|
||
|
@dataclass(frozen=True)
|
||
|
class YearRequirement(Requirement):
|
||
|
year: int
|