Files
fvtt-prism-rpg/module/config/skill.mjs
T
2025-11-06 00:01:59 +01:00

135 lines
3.4 KiB
JavaScript

/**
* Core Skills in Prism RPG
* Characters choose 1 Core Skill which gives:
* - +5 bonus to basic skill checks
* - Access to advanced skill checks
* - Access to a Core Skill Class (based on archetype)
* - +2 to one of 3 associated attributes
*/
export const CORE_SKILLS = Object.freeze({
acrobatics: {
id: "acrobatics",
label: "PRISMRPG.Skill.CoreSkill.acrobatics",
attributeChoices: ["dex", "wis", "con"]
},
animalHandling: {
id: "animalHandling",
label: "PRISMRPG.Skill.CoreSkill.animalHandling",
attributeChoices: ["str", "con", "dex"]
},
arcana: {
id: "arcana",
label: "PRISMRPG.Skill.CoreSkill.arcana",
attributeChoices: ["str", "int", "wis"]
},
athletics: {
id: "athletics",
label: "PRISMRPG.Skill.CoreSkill.athletics",
attributeChoices: ["str", "dex", "con"]
},
deception: {
id: "deception",
label: "PRISMRPG.Skill.CoreSkill.deception",
attributeChoices: ["int", "wis", "cha"]
},
history: {
id: "history",
label: "PRISMRPG.Skill.CoreSkill.history",
attributeChoices: ["str", "wis", "con"]
},
insight: {
id: "insight",
label: "PRISMRPG.Skill.CoreSkill.insight",
attributeChoices: ["int", "cha", "wis"]
},
intimidate: {
id: "intimidate",
label: "PRISMRPG.Skill.CoreSkill.intimidate",
attributeChoices: ["str", "cha", "wis"]
},
investigation: {
id: "investigation",
label: "PRISMRPG.Skill.CoreSkill.investigation",
attributeChoices: ["int", "wis", "con"]
},
medicine: {
id: "medicine",
label: "PRISMRPG.Skill.CoreSkill.medicine",
attributeChoices: ["con", "wis", "int"]
},
nature: {
id: "nature",
label: "PRISMRPG.Skill.CoreSkill.nature",
attributeChoices: ["str", "wis", "int"]
},
perception: {
id: "perception",
label: "PRISMRPG.Skill.CoreSkill.perception",
attributeChoices: ["dex", "wis", "cha"]
},
performance: {
id: "performance",
label: "PRISMRPG.Skill.CoreSkill.performance",
attributeChoices: ["str", "cha", "wis"]
},
persuasion: {
id: "persuasion",
label: "PRISMRPG.Skill.CoreSkill.persuasion",
attributeChoices: ["cha", "dex", "int"]
},
religion: {
id: "religion",
label: "PRISMRPG.Skill.CoreSkill.religion",
attributeChoices: ["str", "wis", "cha"]
},
sleightOfHand: {
id: "sleightOfHand",
label: "PRISMRPG.Skill.CoreSkill.sleightOfHand",
attributeChoices: ["dex", "wis", "int"]
},
stealth: {
id: "stealth",
label: "PRISMRPG.Skill.CoreSkill.stealth",
attributeChoices: ["int", "dex", "cha"]
},
survival: {
id: "survival",
label: "PRISMRPG.Skill.CoreSkill.survival",
attributeChoices: ["int", "con", "cha"]
}
});
/**
* Core Skill bonus values
*/
export const CORE_SKILL_BONUS = Object.freeze({
basic: 5, // +5 to basic skill checks
attributeBonus: 2 // +2 to chosen attribute
});
/**
* Legacy skill categories (may be deprecated)
*/
export const CATEGORY = Object.freeze({
layperson: {
id: "layperson",
label: "PRISMRPG.Skill.Category.layperson",
},
professional: {
id: "professional",
label: "PRISMRPG.Skill.Category.professional",
},
weapon: {
id: "weapon",
label: "PRISMRPG.Skill.Category.weapon",
},
armor: {
id: "armor",
label: "PRISMRPG.Skill.Category.armor",
},
resist: {
id: "resist",
label: "PRISMRPG.Skill.Category.resist",
}
})