Actor Model
Types¶
- character, npc, companion, environment
Overview¶
Actors store gameplay state including resources, thresholds, defenses, and equipped gear. Character-specific fields power automation like threshold-based damage and Hope/Stress.
Key Fields¶
system.health,system.stress,system.hopesystem.threshold.major/severesystem.defenses.armorandarmor-slotssystem.weapon-mainandweapon-off
Common accessors¶
actor.system.healthactor.system.threshold.majoractor.system.defenses.armoractor.system[trait].value
Typical flows¶
- Update traits or defenses on the sheet
- Equip items to populate
weapon-mainorweapon-off - Roll attacks and apply damage with thresholds and armor slots
Notes¶
- Characters track Hope and Stress individually
- Fear is party/GM level and not stored on individual actors
Example updates¶
await actor.update({ 'system.strength.value': 2 });
await actor.update({ 'system.defenses.armor': 1 });