79 lines
1.7 KiB
Markdown
79 lines
1.7 KiB
Markdown
# Object Context
|
|
|
|
This file is the canonical reference for all game objects, their properties, the ability action model, and the full catalog of effect and condition types.
|
|
|
|
---
|
|
|
|
## 1) Object Definitions
|
|
|
|
### 1.1 Player
|
|
|
|
Non-mutable:
|
|
- `Id`
|
|
- `Name`
|
|
- `SelectedDeck`
|
|
- `SelectedArchSpirit`
|
|
|
|
Mutable (see §6.14.1 in gameplay.md):
|
|
- `SPTotal`
|
|
- `SPAccumulationAmount`
|
|
- `AccumulatesSP` (bool)
|
|
- `STTotal`
|
|
- `CardsDrawnPerTurn`
|
|
- `CanDrawCards` (bool)
|
|
- `CanAscendArchSpirit` (bool)
|
|
- `CanTransitionArchSpirit` (bool)
|
|
- `CanChannelSpirit` (bool)
|
|
- `CanSacrificeSpirit` (bool)
|
|
- `CanChannelRepentance` (bool)
|
|
- `CanChannelInstinct` (bool)
|
|
- `CanChannelRuin` (bool)
|
|
- `CanChannelTerramorphaMono` (bool)
|
|
- `CanChannelTerramorphaDi` (bool)
|
|
- `CanChannelTerramorphaTri` (bool)
|
|
|
|
---
|
|
|
|
### 1.2 Tile
|
|
|
|
Non-mutable:
|
|
- `Id`
|
|
- `Coords`
|
|
|
|
Mutable:
|
|
- `CanBeOccupiedBy`: `Spirit`, `ArchSpirit`, `Ruin`
|
|
- `BaseAffinitySlot1`
|
|
- `BaseAffinitySlot2`
|
|
- `PushAffinity` (push basic affinity into Base2 with slot shift)
|
|
- `PushFinalAffinity` (set Base1/Base2 to the pair required for a target final affinity)
|
|
- Occupancy-based effects
|
|
- Occupant-targeting effects
|
|
|
|
Occupant classes tile behavior can reference:
|
|
- `Spirit`
|
|
- `ArchSpirit`
|
|
- `SpiritToken`
|
|
- `Ruin`
|
|
|
|
---
|
|
|
|
### 1.3 Battlefield
|
|
|
|
Non-mutable:
|
|
- Collection of tiles.
|
|
|
|
Mutable:
|
|
- Derived from tile state mutations and battlefield-level effects.
|
|
|
|
---
|
|
|
|
### 1.4 CardState
|
|
|
|
See **card-design.md** for the full CardState definitions (Shared, ArchSpirit, Spirit, Repentance, Terramorpha, Ruin, Instinct).
|
|
|
|
---
|
|
|
|
## 2) Ability and Effect System
|
|
|
|
See **abilities.md** for the full ability action model, target selectors, effect types, condition types, and duration model.
|