New items and cleanup
This commit is contained in:
parent
59e8cca56d
commit
f2a659ddbd
@ -1,6 +1,17 @@
|
||||
|
||||
export const HERITIERS_CONFIG = {
|
||||
|
||||
caracList: {
|
||||
"agi": "Agilité",
|
||||
"con": "Constitution",
|
||||
"for": "Force",
|
||||
"prec": "Précision",
|
||||
"esp": "Esprit",
|
||||
"per": "Perception",
|
||||
"pres": "Présence",
|
||||
"san": "Sang-Froid"
|
||||
},
|
||||
|
||||
competenceCategorie : {
|
||||
"utile": "Utile",
|
||||
"futile": "Futile"
|
||||
@ -14,10 +25,30 @@ export const HERITIERS_CONFIG = {
|
||||
"savant": "Savant",
|
||||
"gentleman": "Gentleman"
|
||||
},
|
||||
|
||||
baseTestPouvoir: {
|
||||
"feerie": "Féerie",
|
||||
"Masque": "Masque"
|
||||
},
|
||||
resistancePouvoir: {
|
||||
"physiquepassive": "Physique Passive",
|
||||
"physiqueactive": "Physique Active",
|
||||
"psychiquepassive": "Psychique Passive",
|
||||
"psychiqueactive": "Psychique Active",
|
||||
"autre": "Autre",
|
||||
},
|
||||
typePouvoir: {
|
||||
"actif": "Actif",
|
||||
"passif": "Passif"
|
||||
"passif": "Passif",
|
||||
"metamorphose": "Métamorphose"
|
||||
},
|
||||
niveauPouvoir: {
|
||||
"normal": "Normal",
|
||||
"profond": "Profond",
|
||||
"legendaire": "Légendaire"
|
||||
},
|
||||
masquePouvoir: {
|
||||
"masque": "Masqué",
|
||||
"demasque": "Démasqué"
|
||||
}
|
||||
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "fvtt-les-heritiers",
|
||||
"description": "Les Héritiers pour FoundryVTT",
|
||||
"version": "10.0.1",
|
||||
"version": "10.0.2",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Uberwald/LeRatierBretonnien",
|
||||
@ -19,7 +19,7 @@
|
||||
"gridUnits": "m",
|
||||
"license": "LICENSE.txt",
|
||||
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
|
||||
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.1.zip",
|
||||
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.2.zip",
|
||||
"languages": [
|
||||
{
|
||||
"lang": "fr",
|
||||
|
@ -257,11 +257,17 @@
|
||||
},
|
||||
"pouvoir": {
|
||||
"pouvoirtype": "",
|
||||
"masquetype": "",
|
||||
"niveau": "",
|
||||
"activation": "",
|
||||
"istest": false,
|
||||
"feeriemasque": "feerie",
|
||||
"carac": "pre",
|
||||
"cibles": "",
|
||||
"effet": "",
|
||||
"portee": "",
|
||||
"resistance": "",
|
||||
"resistanceautre":"",
|
||||
"description": ""
|
||||
},
|
||||
"atoutfeerique": {
|
||||
|
@ -12,6 +12,18 @@
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Masqué/Démasque </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.masquetype" value="{{system.masquetype}}" data-dtype="string">
|
||||
{{#select system.masquetype}}
|
||||
{{#each config.masquePouvoir as |categ cKey|}}
|
||||
<option value="{{cKey}}">{{categ}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Type </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
@ -24,12 +36,56 @@
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="string">
|
||||
{{#select system.niveau}}
|
||||
{{#each config.niveauPouvoir as |categ cKey|}}
|
||||
<option value="{{cKey}}">{{categ}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Activation </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.activation" value="{{system.activation}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Jet nécessaire ? </label>
|
||||
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.istest" {{checked system.istest}}/>
|
||||
</li>
|
||||
|
||||
{{#if system.istest}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Base </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.feeriemasque" value="{{system.feeriemasque}}" data-dtype="string">
|
||||
{{#select system.feeriemasque}}
|
||||
{{#each config.baseTestPouvoir as |categ cKey|}}
|
||||
<option value="{{cKey}}">{{categ}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">+ Carac </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.carac" value="{{system.carac}}" data-dtype="string">
|
||||
{{#select system.carac}}
|
||||
{{#each config.caracList as |categ cKey|}}
|
||||
<option value="{{cKey}}">{{categ}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Cibles </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
@ -50,10 +106,24 @@
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Résistance</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.resistance" value="{{system.resistance}}" data-dtype="String" />
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.resistance" value="{{system.resistance}}" data-dtype="string">
|
||||
{{#select system.resistance}}
|
||||
{{#each config.resistancePouvoir as |categ cKey|}}
|
||||
<option value="{{cKey}}">{{categ}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{#if (eq system.resistance "autre")}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Résistance (Autre) </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.resistanceautre" value="{{system.resistanceautre}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user