What problem does it solve?
This Skill creates a unified, reliable model to implement, validate, and extend the effects and actions associated with Talents in the SWERPG system for Foundry VTT, ensuring consistency and correctness across workflows.
Core Features & Use Cases
- Effect and Action Data Modeling: Defines a comprehensive schema for Talent effects and actions, including validation and defaulting rules.
- Validation and Traceability: Implements runtime validators and mapping traceability for effects imported from external sources like OggDude.
- ActiveEffect Integration: Bridges Talent effects with Foundry's ActiveEffect system to support dynamic, optional projections.
- Effect Filtering: Provides effect collection functions to identify applicable effects based on timing, scope, and conditions.
- Automation and UI: Supports automation levels and assists in effect application decisions, enhancing user experience during gameplay and development.
- Consistent Architecture: Ensures separation of business logic (
system.effects) from technical projections (ActiveEffect) for clarity and maintainability.
Quick Start
Use the effect modeling utilities to define, validate, and project Talent effects as part of your SWERPG character system in Foundry. First, establish effect schemas, then create effects following the defined contracts, validating with provided functions during development.