Fiche armes et traits

This commit is contained in:
2023-04-28 15:25:57 +02:00
parent b9978545d2
commit 06d91f11f1
24 changed files with 233 additions and 138 deletions

View File

@ -1,3 +1,39 @@
export const ECRYME_CONFIG = {
traitTypes: {
normal: "Normal",
spleen: "Spleen",
ideal: "Ideal"
},
traitLevel: [
{value: -3, text: "-3"},
{value: -2, text: "-2"},
{value: -1, text: "-1"},
{value: +1, text: "+1"},
{value: +2, text: "+2"},
{value: +3, text: "+3"}
],
skillLevel: {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10"
},
costUnits: {
"ingot": {name: "ECRY.ui.ingot", value: 100000},
"ingotin": {name: "ECRY.ui.ingotin", value: 10000},
"goldcoin": {name: "ECRY.ui.goldcoin", value: 1000 },
"lige": {name: "ECRY.ui.lige", value: 100 },
"hurle": {name: "ECRY.ui.hurle", value: 10 },
"coin": {name: "ECRY.ui.coin", value: 1 }
}
}

View File

@ -1,5 +1,5 @@
/* -------------------------------------------- */
import { EcrymeCommands } from "./ecryme-commands.js";
import { EcrymeCommands } from "../app/ecryme-commands.js";
/* -------------------------------------------- */
@ -101,6 +101,7 @@ export class EcrymeUtility {
const templatePaths = [
'systems/fvtt-ecryme/templates/actors/editor-notes-gm.hbs',
'systems/fvtt-ecryme/templates/items/partial-item-nav.hbs',
'systems/fvtt-ecryme/templates/items/partial-item-equipment.hbs',
'systems/fvtt-ecryme/templates/items/partial-item-description.hbs'
]
return loadTemplates(templatePaths);