mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
* Fix logic bug on daggerfish * Make new region for pond. * Fix SVE logic for crops * Fix Distant Lands Cropsanity * Fix failing tests. * Reverting removing these for now. * Fix bugs, add combat requirement * convert str into tuple directly * add ginger island to mod tests * Move a lot of mod item logic to content pack * Gut the rules from DL while we're at it. * Import nuke * Fix alecto * Move back some rules for now. * Move archaeology rules * Add some comments why its done. * Clean up archaeology and fix sve * Moved dulse to water item class * Remove digging like worms for now * fix * Add missing shipsanity location * Move background names around or something idk * Revert ArchaeologyTrash for now --------- Co-authored-by: Jouramie <jouramie@hotmail.com>
58 lines
969 B
Python
58 lines
969 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
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class CombatRequirement(Requirement):
|
|
level: str
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class QuestRequirement(Requirement):
|
|
quest: str
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class RelationshipRequirement(Requirement):
|
|
npc: str
|
|
hearts: int
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class FishingRequirement(Requirement):
|
|
region: str
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class WalnutRequirement(Requirement):
|
|
amount: int
|