Update confrontation

This commit is contained in:
LeRatierBretonnien 2023-06-28 11:49:17 +02:00
parent a3df0499a7
commit f20fded23c
4 changed files with 58 additions and 0 deletions

View File

@ -10,6 +10,12 @@
}
},
"ECRY": {
"settings": {
"cogs": "Cogs",
"cephaly": "Cephaly",
"boheme": "Boheme",
"amertume": "Amertume"
},
"chat": {
"formula": "Formula",
"difficulty": "Difficulty",

View File

@ -10,6 +10,12 @@
}
},
"ECRY": {
"settings": {
"cogs": "Engrenages",
"cephaly": "Céphalie",
"boheme": "Bohême",
"amertume": "Amertume"
},
"chat": {
"formula": "Formule",
"difficulty": "Difficulté",

View File

@ -56,6 +56,22 @@ export class EcrymeUtility {
accum += block.fn(i);
return accum;
})
game.settings.register("fvtt-ecryme", "ecryme-game-level", {
name: game.i18n.localize("ECRY.settings.gamelevel"),
label: game.i18n.localize("ECRY.settings.gamelevelhelp"),
scope: 'world',
config: true,
type: String,
choices: {
"level_e": game.i18n.localize("ECRY.settings.cogs"),
"level_c": game.i18n.localize("ECRY.settings.cephaly"),
"level_b": game.i18n.localize("ECRY.settings.boheme"),
"level_a": game.i18n.localize("ECRY.settings.amertume"),
},
restricted: true
})
this.buildSkillConfig()
}

View File

@ -136,6 +136,36 @@
"major": 0
}
},
"cephaly": {
"name": "ECRY.ui.cephaly",
"skilllist": {
"elegy": {
"name": "ECRY.ui.elegy",
"value": 0,
"max": 10
},
"entelechy": {
"name": "ECRY.ui.entelechy",
"value": 0,
"max": 10
},
"mekany": {
"name": "ECRY.ui.mekany",
"value": 0,
"max": 10
},
"psyche": {
"name": "ECRY.ui.psyche",
"value": 0,
"max": 10
},
"scoria": {
"name": "ECRY.ui.scoria",
"value": 0,
"max": 10
}
}
},
"internals": {
"confrontbonus": 0
}