Rename system id, template/asset paths, settings namespace, and pack references; repack compendia with corrected asset paths; point manifest at slaguru666/DeltaGreen2. game.deltagreen API namespace kept for macro compatibility. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
70 lines
1.6 KiB
JavaScript
70 lines
1.6 KiB
JavaScript
/**
|
|
* In config.js we can create constants that may be used all around the code base.
|
|
* I tried to get some of these values from `game.system` but it seems they
|
|
* aren't loaded yet when this is called. Oh well, this shouldn't really ever
|
|
* change.
|
|
*/
|
|
|
|
const DG = /** @type {const} */ ({
|
|
ID: "deltagreen2",
|
|
|
|
// All the base skills
|
|
skills: [
|
|
"accounting",
|
|
"alertness",
|
|
"anthropology",
|
|
"archeology",
|
|
"artillery",
|
|
"athletics",
|
|
"bureaucracy",
|
|
"computer_science",
|
|
"criminology",
|
|
"demolitions",
|
|
"disguise",
|
|
"dodge",
|
|
"drive",
|
|
"firearms",
|
|
"first_aid",
|
|
"forensics",
|
|
"heavy_machiner",
|
|
"heavy_weapons",
|
|
"history",
|
|
"humint",
|
|
"law",
|
|
"medicine",
|
|
"melee_weapons",
|
|
"navigate",
|
|
"occult",
|
|
"persuade",
|
|
"pharmacy",
|
|
"psychotherapy",
|
|
"ride",
|
|
"search",
|
|
"sigint",
|
|
"stealth",
|
|
"surgery",
|
|
"survival",
|
|
"swim",
|
|
"unarmed_combat",
|
|
"unnatural",
|
|
"ritual",
|
|
],
|
|
|
|
skillImprovementFormulas: {
|
|
// If choices are defined, the resulting setting will be a select menu
|
|
1: "DG.Settings.skillImprovementFormula.1",
|
|
d3: "DG.Settings.skillImprovementFormula.2",
|
|
d4: "DG.Settings.skillImprovementFormula.3",
|
|
"d4-1": "DG.Settings.skillImprovementFormula.4",
|
|
},
|
|
|
|
// All the base rollable stats.
|
|
statistics: ["str", "con", "dex", "int", "pow", "cha"],
|
|
});
|
|
|
|
// Set base template path for single source of truth for hbs locations.
|
|
const BASE_TEMPLATE_PATH = /** @type {const} */ (`systems/${DG.ID}/templates`);
|
|
|
|
export default DG;
|
|
export { BASE_TEMPLATE_PATH };
|