Add Container class with lock/trap detection, corpse drops, and numbered duplicate corpses

This commit is contained in:
KansaiGaijin
2026-07-07 12:13:43 +12:00
parent db4b5cb543
commit 221cb71410
32 changed files with 938 additions and 160 deletions

View File

@@ -47,4 +47,26 @@ class Slots(Enum):
LeftRing = auto()
RightRing = auto()
Other = auto()
Attunement = auto()
Attunement = auto()
class SpellSchool(Enum):
Abjuration = auto()
Conjuration = auto()
Divination = auto()
Enchantment = auto()
Evocation = auto()
Illusion = auto()
Necromancy = auto()
Transmutation = auto()
class SaveType(Enum):
"""Which stat a target rolls to resist a spell's effect."""
Strength = auto()
Dexterity = auto()
Constitution = auto()
Intelligence = auto()
Wisdom = auto()
Charisma = auto()
NONE = auto() # No saving throw (e.g. Magic Missile)