118 lines
4.1 KiB
JavaScript
118 lines
4.1 KiB
JavaScript
export const SYSTEM_RDD = 'foundryvtt-reve-de-dragon'
|
|
export const SYSTEM_SOCKET_ID = 'system.foundryvtt-reve-de-dragon'
|
|
export const LOG_HEAD = 'RdD | '
|
|
|
|
export const HIDE_DICE = 'hide'
|
|
export const SHOW_DICE = 'show'
|
|
|
|
export const ENTITE_INCARNE = 'incarne'
|
|
export const ENTITE_NONINCARNE = 'nonincarne'
|
|
export const ENTITE_BLURETTE = 'blurette'
|
|
|
|
export const renderTemplate = foundry.applications.handlebars.renderTemplate
|
|
|
|
export const RDD_CONFIG = {
|
|
niveauEthylisme: [
|
|
{ value: "1", label: "Aucun" },
|
|
{ value: "0", label: "Eméché (0)" },
|
|
{ value: "-1", label: "Gris (-1)" },
|
|
{ value: "-2", label: "Pinté (-2)" },
|
|
{ value: "-3", label: "Pas Frais (-3)" },
|
|
{ value: "-4", label: "Ivre (-4)" },
|
|
{ value: "-5", label: "Bu (-5)" },
|
|
{ value: "-6", label: "Complètement fait (-6)" },
|
|
{ value: "-7", label: "Ivre mort (-7)" }
|
|
],
|
|
categorieEntite: {
|
|
"cauchemar": "Cauchemar",
|
|
"reve": "Rêve"
|
|
},
|
|
typeEntite: {
|
|
"incarne": "Incarnée",
|
|
"nonincarne": "Non Incarnée",
|
|
"blurette": "Blurette"
|
|
},
|
|
heuresRdD: [
|
|
{ value: "vaisseau", label: "Vaisseau", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd01.webp" },
|
|
{ value: "sirene", label: "Sirène", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd02.webp" },
|
|
{ value: "faucon", label: "Faucon", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd03.webp" },
|
|
{ value: "couronne", label: "Couronne", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd04.webp" },
|
|
{ value: "dragon", label: "Dragon", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd05.webp" },
|
|
{ value: "epees", label: "Epées", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd06.webp" },
|
|
{ value: "lyre", label: "Lyre", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd07.webp" },
|
|
{ value: "serpent", label: "Serpent", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd08.webp" },
|
|
{ value: "poissonacrobate", label: "Poisson Acrobate", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd09.webp" },
|
|
{ value: "araignee", label: "Araignée", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd10.webp" },
|
|
{ value: "roseau", label: "Roseau", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd11.webp" },
|
|
{ value: "chateaudormant", label: "Chateau Dormant", img: "systems/foundryvtt-reve-de-dragon/icons/heures/hd12.webp" }
|
|
],
|
|
raretes: [
|
|
{ value: "Commune", label: "Commune" },
|
|
{ value: "Frequente", label: "Fréquente" },
|
|
{ value: "Rare", label: "Rare" },
|
|
{ value: "Rarissime", label: "Rarissime" }
|
|
],
|
|
particuliere: {
|
|
force: { key: 'force', descr: 'en force', img: 'systems/foundryvtt-reve-de-dragon/assets/ui/part-force.svg'},
|
|
finesse: { key: 'finesse', descr: 'en finesse', img: 'systems/foundryvtt-reve-de-dragon/assets/ui/part-finesse.svg'},
|
|
rapidite: { key: 'finesse', descr: 'en rapidité', img: 'systems/foundryvtt-reve-de-dragon/assets/ui/part-rapidite.svg'},
|
|
}
|
|
}
|
|
|
|
|
|
export const ACTOR_TYPES = {
|
|
personnage: 'personnage',
|
|
creature: 'creature',
|
|
entite: 'entite',
|
|
commerce: 'commerce',
|
|
vehicule: 'vehicule'
|
|
}
|
|
|
|
export const ITEM_TYPES = {
|
|
competence: 'competence',
|
|
competencecreature: 'competencecreature',
|
|
empoignade: 'empoignade',
|
|
possession: 'possession',
|
|
blessure: 'blessure',
|
|
maladie: 'maladie',
|
|
poison: 'poison',
|
|
arme: 'arme',
|
|
armure: 'armure',
|
|
conteneur: 'conteneur',
|
|
objet: 'objet',
|
|
monnaie: 'monnaie',
|
|
gemme: 'gemme',
|
|
munition: 'munition',
|
|
nourritureboisson: 'nourritureboisson',
|
|
herbe: 'herbe',
|
|
plante: 'plante',
|
|
ingredient: 'ingredient',
|
|
faune: 'faune',
|
|
livre: 'livre',
|
|
potion: 'potion',
|
|
service: 'service',
|
|
musique: 'musique',
|
|
danse: 'danse',
|
|
chant: 'chant',
|
|
jeu: 'jeu',
|
|
race: 'race',
|
|
recettecuisine: 'recettecuisine',
|
|
oeuvre: 'oeuvre',
|
|
recettealchimique: 'recettealchimique',
|
|
tache: 'tache',
|
|
sort: 'sort',
|
|
sortreserve: 'sortreserve',
|
|
rencontre: 'rencontre',
|
|
queue: 'queue',
|
|
ombre: 'ombre',
|
|
souffle: 'souffle',
|
|
tete: 'tete',
|
|
casetmr: 'casetmr',
|
|
meditation: 'meditation',
|
|
signedraconique: 'signedraconique',
|
|
tarot: 'tarot',
|
|
nombreastral: 'nombreastral',
|
|
extraitpoetique: 'extraitpoetique',
|
|
}
|
|
|