Add toolip and trait descriptions

This commit is contained in:
2026-04-24 19:02:08 +02:00
parent 999b78c6fc
commit b19ba64a39
8 changed files with 89 additions and 6 deletions
+8
View File
@@ -55,6 +55,13 @@ export const ASCII = `
|___/
`
/**
* Tooltip descriptions for known traits — loaded at runtime from
* module/config/trait-descriptions.json. Populated during the "init" hook;
* starts as an empty object so the helper never throws before load.
*/
export let TRAIT_DESCRIPTIONS = {}
/** Default trait list extracted from the core rulebook. Open-ended: custom traits are always allowed. */
export const TRAITS = [
// Action traits
@@ -83,6 +90,7 @@ export const SYSTEM = {
ABILITY_COST,
ABILITY_TYPE,
OUTCOME_LABELS,
TRAIT_DESCRIPTIONS,
TRAITS,
ASCII
}