Files
fvtt-hamalron/module/config/system.mjs
T
2025-12-25 23:08:06 +01:00

89 lines
2.9 KiB
JavaScript

export const SYSTEM_ID = "fvtt-hamalron"
export const ASCII = `
, _
/| | | |
|___| __, _ _ _ __, | | ,_ __ _ _
| |\/ | / |/ |/ | / | |/ / | / \_/ |/ |
| |/\_/|_/ | | |_/\_/|_/|__/ |_/\__/ | |_/
`
export const TAROT_SYMBOLES = {
"coupe": { id: "coupe", label: "Coupe" },
"epee": { id: "epee", label: "Epée" },
"denier": { id: "denier", label: "Denier" },
"baton": { id: "baton", label: "Bâton" },
}
export const TAROT_TYPES = {
"atout": { id: "atout", label: "Atout" },
"figure": { id: "figure", label: "Figure" },
"numéro": { id: "numéro", label: "Numéro" },
}
export const TAROT_VALEURS = {
"roi": { id: "roi", label: "Roi", value: 14 },
"reine": { id: "reine", label: "Reine", value: 13 },
"cavalier": { id: "cavalier", label: "Cavalier", value: 12 },
"valet": { id: "valet", label: "Valet", value: 11 },
"10": { id: "10", label: "10", value: 10 },
"9": { id: "9", label: "9", value: 9 },
"8": { id: "8", label: "8", value: 8 },
"7": { id: "7", label: "7", value: 7 },
"6": { id: "6", label: "6", value: 6 },
"5": { id: "5", label: "5", value: 5 },
"4": { id: "4", label: "4", value: 4 },
"3": { id: "3", label: "3", value: 3 },
"2": { id: "2", label: "2", value: 2 },
"1": { id: "1", label: "1", value: 1 },
}
export const DIFFICULTY_CHOICES = {
"tresfacile": { id: "tresfacile", label: "Très Facile", standard: 3, "soustension": -4 },
"facile": { id: "facile", label: "Facile", standard: 5, "soustension": -2 },
"moyenne": { id: "moyenne", label: "Moyenne", standard: 7, "soustension": 0 },
"difficile": { id: "difficile", label: "Difficile", standard: 10, "soustension": 3 },
"tresdifficile": { id: "tresdifficile", label: "Très Difficile", standard: 13, "soustension": 6 },
"heroique": { id: "heroique", label: "Héroïque", standard: 16, "soustension": 9 },
}
export const WEAPON_TYPES = {
"melee": { id: "melee", label: "Mêlée" },
"tir": { id: "tir", label: "Tir" },
}
export const COMPETENCE_TYPES = {
"generale": { id: "generale", label: "Générale" },
"faction": { id: "faction", label: "Faction" },
"peuple": { id: "peuple", label: "Peuple" },
}
export const ENEMY_TYPES = {
"mook": { id: "mook", label: "Sbire" },
"elite": { id: "elite", label: "Élite" },
"boss": { id: "boss", label: "Boss" },
}
export const SORTILEGE_CATEGORIES = {
"malefica": { id: "malefica", label: "Maléfica" },
"ritual": { id: "ritual", label: "Rituel" },
}
/**
* Include all constant definitions within the SYSTEM global export
* @type {Object}
*/
export const SYSTEM = {
id: SYSTEM_ID,
TAROT_SYMBOLES: TAROT_SYMBOLES,
DIFFICULTY_CHOICES: DIFFICULTY_CHOICES,
TAROT_TYPES: TAROT_TYPES,
TAROT_VALEURS: TAROT_VALEURS,
WEAPON_TYPES: WEAPON_TYPES,
COMPETENCE_TYPES: COMPETENCE_TYPES,
ENEMY_TYPES: ENEMY_TYPES,
SORTILEGE_CATEGORIES: SORTILEGE_CATEGORIES,
ASCII
}