Files
fvtt-hellborn/module/config/system.mjs

121 lines
4.0 KiB
JavaScript

export const SYSTEM_ID = "fvtt-hellborn"
export const ASCII = `
░▒█░▒█░▒█▀▀▀░▒█░░░░▒█░░░░▒█▀▀▄░▒█▀▀▀█░▒█▀▀▄░▒█▄░▒█
░▒█▀▀█░▒█▀▀▀░▒█░░░░▒█░░░░▒█▀▀▄░▒█░░▒█░▒█▄▄▀░▒█▒█▒█
░▒█░▒█░▒█▄▄▄░▒█▄▄█░▒█▄▄█░▒█▄▄█░▒█▄▄▄█░▒█░▒█░▒█░░▀█
`
export const AILMENTS = {
"bleeding": { id: "bleeding", label: "Bleeding" },
"blinded": { id: "blinded", label: "Blinded" },
"burning": { id: "burning", label: "Burning" },
"dazed": { id: "dazed", label: "Dazed" },
"deafened": { id: "deafened", label: "Deafened" },
"exposes": { id: "exposed", label: "Exposed" },
"mortally": { id: "mortal", label: "Mortal" },
"muted": { id: "muted", label: "Muted" },
"prone": { id: "prone", label: "Prone" },
"immobilized": { id: "immobilized", label: "Immobile" },
"shaken": { id: "shaken", label: "Shaken" },
"stunned": { id: "stunned", label: "Stunned" },
"winded": { id: "winded", label: "Winded" }
}
export const STATS = {
"flesh": { id: "flesh", label: "Flesh" },
"skin": { id: "skin", label: "Skin" },
"heart": { id: "heart", label: "Heart" },
"mind": { id: "mind", label: "Mind" },
"soul": { id: "soul", label: "Soul" }
}
export const PERK_ROLES = {
"abbetor": { id: "abbetor", label: "Abbetor" },
"blade": { id: "blade", label: "Blade" },
"gunslinger": { id: "gunslinger", label: "Gunslinger" },
"malefic": { id: "malefic", label: "Malefic" },
"mastermind": { id: "mastermind", label: "Mastermind" },
"sentinel": { id: "sentinel", label: "Sentinel" },
"slayer": { id: "slayer", label: "Slayer" },
"wretch": { id: "wretch", label: "Wretch" },
}
export const MALEFICA_DOMAINS = {
"adfectus": { id: "adfectus", label: "Adfectus" },
"divinus": { id: "divinus", label: "Divinus" },
"ignis": { id: "ignis", label: "Ignis" },
"iunctio": { id: "iunctio", label: "Iunctio" },
"speculo": { id: "speculo", label: "Speculo" },
"vinculum": { id: "vinculum", label: "Vinculum" },
"vita": { id: "vita", label: "Vita" },
}
export const PERK_LEVELS = {
"1": { id: "1", label: "Level 1" },
"2": { id: "2", label: "Level 2" },
"3": { id: "3", label: "Level 3" },
"mastery": { id: "mastery", label: "Mastery" },
}
export const MALEFICA_LEVELS = {
"1": { id: "1", label: "Level 1" },
"2": { id: "2", label: "Level 2" },
"3": { id: "3", label: "Level 3" },
"highpowers": { id: "highpowers", label: "High Power" },
}
export const WEAPON_TYPES = {
"melee": { id: "melee", label: "Melee" },
"ranged": { id: "ranged", label: "Ranged" },
}
export const RANGED_SUBTYPES = {
"pistols": { id: "pistols", label: "Pistols" },
"rifles": { id: "rifles", label: "Rifles" },
"shotguns": { id: "shotguns", label: "Shotguns" },
"submachineguns": { id: "submachineguns ", label: "Sub machine guns" },
"grenades": { id: "grenades", label: "Grenades" },
"heavy": { id: "heavy", label: "Heavy Weapons" },
}
export const ATTACK_MODIFIERS = {
"two-attacks": -1,
"aiming": 1,
"dim": -1,
"darkness": -2,
"prone": -1,
"cover": -2,
"recoil-first": -1,
"recoil-third": -2,
"aware": -1
}
export const MODIFIER_CHOICES = {
"easy": { id: "easy", label: "HELLBORN.Label.Easy", value :"1" },
"moderate": { id: "moderate", label: "HELLBORN.Label.Moderate", value: "0" },
"difficult": { id: "difficult", label: "HELLBORN.Label.Difficult", value: "-1" },
"formidable": { id: "formidable", label: "HELLBORN.Label.Formidable", value: "-2" },
"impossible": { id: "impossible", label: "HELLBORN.Label.Impossible", value: "-4" }
}
/**
* Include all constant definitions within the SYSTEM global export
* @type {Object}
*/
export const SYSTEM = {
id: SYSTEM_ID,
AILMENTS,
STATS,
PERK_ROLES,
PERK_LEVELS,
MALEFICA_LEVELS,
MALEFICA_DOMAINS,
MODIFIER_CHOICES,
ATTACK_MODIFIERS,
WEAPON_TYPES,
RANGED_SUBTYPES,
ASCII
}