forked from public/foundryvtt-reve-de-dragon
Ajout de l'Item "faune" pour tables environnement
This commit is contained in:
@ -10,6 +10,7 @@ const typesObjetsInventaire = [
|
||||
"gemme",
|
||||
"herbe",
|
||||
"ingredient",
|
||||
"faune",
|
||||
"livre",
|
||||
"monnaie",
|
||||
"munition",
|
||||
@ -35,6 +36,7 @@ export const defaultItemImg = {
|
||||
conteneur: "systems/foundryvtt-reve-de-dragon/icons/objets/sac_a_dos.webp",
|
||||
sort: "systems/foundryvtt-reve-de-dragon/icons/competence_oniros.webp",
|
||||
herbe: "systems/foundryvtt-reve-de-dragon/icons/botanique/Endorlotte.webp",
|
||||
faune: "systems/foundryvtt-reve-de-dragon/icons/faune/rongeur.webp",
|
||||
ingredient: "systems/foundryvtt-reve-de-dragon/icons/objets/sable_poudre.webp",
|
||||
livre: "systems/foundryvtt-reve-de-dragon/icons/objets/livre.webp",
|
||||
potion: "systems/foundryvtt-reve-de-dragon/icons/objets/liqueur_de_bagdol.webp",
|
||||
@ -457,6 +459,14 @@ export class RdDItem extends Item {
|
||||
]
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
_fauneChatData() {
|
||||
return [
|
||||
`<b>Sustentation</b>: ${this.system.sust}`,
|
||||
`<b>Milieu</b>: ${this.system.milieu}`,
|
||||
...this._inventaireTemplateChatData()
|
||||
]
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
_tacheChatData() {
|
||||
return [
|
||||
`<b>Caractéristique</b>: ${this.system.carac}`,
|
||||
|
Reference in New Issue
Block a user