Files
fvtt-prism-rpg/module/config/character.mjs
T
2025-12-20 00:09:42 +01:00

163 lines
3.8 KiB
JavaScript

export const CHARACTERISTICS = Object.freeze({
str: {
id: "str",
label: "PRISMRPG.Character.str.label"
},
dex: {
id: "dex",
label: "PRISMRPG.Character.dex.label"
},
con: {
id: "con",
label: "PRISMRPG.Character.con.label"
},
int: {
id: "int",
label: "PRISMRPG.Character.int.label"
},
wis: {
id: "wis",
label: "PRISMRPG.Character.wis.label"
},
cha: {
id: "cha",
label: "PRISMRPG.Character.cha.label"
}
})
// Sub-Attributes derived from combinations of two main attributes
export const SUB_ATTRIBUTES = Object.freeze({
prowess: {
id: "prowess",
label: "PRISMRPG.Character.prowess.label",
parents: ["str", "dex"],
description: "PRISMRPG.Character.prowess.description"
},
vigor: {
id: "vigor",
label: "PRISMRPG.Character.vigor.label",
parents: ["str", "con"],
description: "PRISMRPG.Character.vigor.description"
},
competence: {
id: "competence",
label: "PRISMRPG.Character.competence.label",
parents: ["str", "int"],
description: "PRISMRPG.Character.competence.description"
},
authority: {
id: "authority",
label: "PRISMRPG.Character.authority.label",
parents: ["str", "wis"],
description: "PRISMRPG.Character.authority.description"
},
presence: {
id: "presence",
label: "PRISMRPG.Character.presence.label",
parents: ["str", "cha"],
description: "PRISMRPG.Character.presence.description"
},
stamina: {
id: "stamina",
label: "PRISMRPG.Character.stamina.label",
parents: ["dex", "con"],
description: "PRISMRPG.Character.stamina.description"
},
initiative: {
id: "initiative",
label: "PRISMRPG.Character.initiative.label",
parents: ["dex", "int"],
description: "PRISMRPG.Character.initiative.description"
},
wit: {
id: "wit",
label: "PRISMRPG.Character.wit.label",
parents: ["dex", "wis"],
description: "PRISMRPG.Character.wit.description"
},
grace: {
id: "grace",
label: "PRISMRPG.Character.grace.label",
parents: ["dex", "cha"],
description: "PRISMRPG.Character.grace.description"
},
tenacity: {
id: "tenacity",
label: "PRISMRPG.Character.tenacity.label",
parents: ["con", "int"],
description: "PRISMRPG.Character.tenacity.description"
},
willpower: {
id: "willpower",
label: "PRISMRPG.Character.willpower.label",
parents: ["con", "wis"],
description: "PRISMRPG.Character.willpower.description"
},
resilience: {
id: "resilience",
label: "PRISMRPG.Character.resilience.label",
parents: ["con", "cha"],
description: "PRISMRPG.Character.resilience.description"
},
cunning: {
id: "cunning",
label: "PRISMRPG.Character.cunning.label",
parents: ["int", "wis"],
description: "PRISMRPG.Character.cunning.description"
},
guile: {
id: "guile",
label: "PRISMRPG.Character.guile.label",
parents: ["int", "cha"],
description: "PRISMRPG.Character.guile.description"
},
sovereignty: {
id: "sovereignty",
label: "PRISMRPG.Character.sovereignty.label",
parents: ["wis", "cha"],
description: "PRISMRPG.Character.sovereignty.description"
}
})
export const CHALLENGES = Object.freeze({
str: {
id: "str",
label: "PRISMRPG.Character.str.label"
},
agility: {
id: "agility",
label: "PRISMRPG.Character.agility.label"
},
dying: {
id: "dying",
label: "PRISMRPG.Character.dying.label"
}
})
export const SAVES = Object.freeze({
str: {
id: "str",
label: "PRISMRPG.Character.str.label"
},
dex: {
id: "dex",
label: "PRISMRPG.Character.dex.label"
},
con: {
id: "con",
label: "PRISMRPG.Character.con.label"
},
int: {
id: "int",
label: "PRISMRPG.Character.int.label"
},
wis: {
id: "wis",
label: "PRISMRPG.Character.wis.label"
},
cha: {
id: "cha",
label: "PRISMRPG.Character.cha.label"
}
})