NPC + roll enhancements + calcul intensite

This commit is contained in:
sladecraven 2022-11-01 16:26:53 +01:00
parent 025d7a2740
commit 08a8415cba
10 changed files with 282 additions and 236 deletions

View File

@ -1,3 +1,6 @@
{ "ACTOR": {
"TypePersonnage": "Personnage",
} "TypeCreature": "Créature",
"TypeEntite": "Entité de cauchemar",
"TypeVehicule": "Véhicule"
},

19
lang/fr.json Normal file
View File

@ -0,0 +1,19 @@
{
"ACTOR": {
"TypeCharacter": "Personnage",
"TypePm": "Protagoniste du meneur"
},
"ITEM": {
"TypeCapacite": "Capacité",
"TypeArchetype": "Archétype",
"TypeSpecialite": "Spécialité",
"TypeFamiliarite": "Familiarité",
"TypeNature": "Nature Profonde",
"TypeTrait": "Trait",
"TypeSymbiose": "Symbiose",
"TypeRessource": "Ressource",
"TypeSingularite": "Singularité",
"TypeContact": "Contact",
"TypeEquipement": "Equipement"
}
}

View File

@ -1402,6 +1402,10 @@ ul, li {
width: 64px; width: 64px;
height: auto; height: auto;
} }
.separator-slash {
width: 0.8rem;
max-width: 0.8rem;
}
.item-name-img { .item-name-img {
flex-grow:1; flex-grow:1;
max-width: 2rem; max-width: 2rem;
@ -1438,6 +1442,16 @@ ul, li {
max-width: 8rem; max-width: 8rem;
min-width: 8rem; min-width: 8rem;
} }
.item-field-label-long2 {
flex-grow:1;
max-width: 20rem;
min-width: 20rem;
}
.item-field-label-long2-no-img {
flex-grow:1;
max-width: 18rem;
min-width: 18rem;
}
.item-control-end { .item-control-end {
align-self: flex-end; align-self: flex-end;
} }

View File

@ -7,7 +7,15 @@
"flags": {} "flags": {}
} }
], ],
"version": "10.0.9", "languages": [
{
"lang": "fr",
"name": "Français",
"path": "lang/fr.json",
"flags": {}
}
],
"version": "10.0.12",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10", "verified": "10",
@ -67,5 +75,5 @@
"background": "images/ui/imperium5_welcome_page.webp", "background": "images/ui/imperium5_welcome_page.webp",
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5", "url": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5",
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/archive/fvtt-imperium5-v10.0.7.zip" "download": "https://www.uberwald.me/gitea/uberwald/fvtt-imperium5/archive/fvtt-imperium5-v10.0.11.zip"
} }

View File

@ -141,6 +141,20 @@
} }
], ],
"rupture": 0 "rupture": 0
},
"paradigmes": {
"custom01": {
"label": "A changer",
"value": 0,
"used": false,
"editable": true
},
"custom02": {
"label": "A changer",
"value": 0,
"used": false,
"editable": true
}
} }
} }
}, },

View File

@ -15,7 +15,7 @@
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
name="system.amestype.{{typeame}}.cohesion" value="{{typedata.cohesion}}" data-dtype="Number" {{#unless name="system.amestype.{{typeame}}.cohesion" value="{{typedata.cohesion}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} /> / @root.editScore}}disabled{{/unless}} /> <label class="ame-margin separator-slash"> / </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
name="system.amestype.{{typeame}}.cohesionmax" value="{{typedata.cohesionmax}}" data-dtype="Number" {{#unless name="system.amestype.{{typeame}}.cohesionmax" value="{{typedata.cohesionmax}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}}> @root.editScore}}disabled{{/unless}}>

View File

@ -34,75 +34,55 @@
<div class="ame-block"> <div class="ame-block">
<span class="flexrow"> <span class="flexrow">
<h4 class="ame-margin ame-subtitle">Niveau</h4> <label class="ame-margin">Niveau</label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="typedata.ames.niveau" value="{{system.ames.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} /> name="system.ames.niveau" value="{{system.ames.niveau}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
</span> </span>
<span class="flexrow"> <span class="flexrow">
<h4 class="ame-margin ame-subtitle">Intensité</h4> <label class="ame-margin">Intensité</label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="typedata.ames.intensite" value="{{system.ames.intensite}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} /> name="system.ames.intensite" value="{{system.ames.intensite}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
</span> </span>
</div>
</div>
</div>
<div class="flexrow">
<div class="sheet-box color-bg-archetype ">
<span class="flexrow"> <span class="flexrow">
<img class="ame-icon" src="systems/fvtt-imperium5/images/icons/archetype_transparent.webp"> <label class="ame-margin">Riposte</label>
<h4 class="ame-margin title-font">ARCHETYPE</h4> <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="system.ames.riposte" value="{{system.ames.riposte}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
</span> </span>
<h4 class="ame-margin"></h4>
<ul>
<li class="item stat flexrow" data-item-id="{{archetype._id}}">
<img class="sheet-competence-img" src="{{archetype.img}}" /></a>
<span class="item-name-label">{{archetype.name}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
</ul>
<h4 class="ame-margin">Spécialités</h4> <span class="flexrow">
<ul> <label class="ame-margin">Cohésion</label>
{{#each specialites as |spec key|}} <input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
<li class="item stat flexrow " data-item-id="{{spec._id}}"> name="system.ames.cohesions.value" value="{{system.ames.cohesions.value}}" data-dtype="Number" {{#unless
<img class="sheet-competence-img" src="{{spec.img}}" /></a> @root.editScore}}disabled{{/unless}} /> <label class="ame-margin separator-slash"> / </label>
<span class="item-name-label">{{spec.name}}</span> <input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
<div class="item-filler">&nbsp;</div> name="system.ames.cohesions.max" value="{{system.ames.cohesions.max}}" data-dtype="Number" {{#unless
<div class="item-controls item-controls-fixed"> @root.editScore}}disabled{{/unless}}>
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> </span>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li> <span class="flexrow">
{{/each}} <label class="ame-margin">Rupture</label>
</ul> <select class="input-numeric-short padd-right status-small-label color-class-common" type="text"
name="system.ames.rupture" value="{{system.ames.rupture}}" data-dtype="Number">
{{#select system.ames.rupture}}
<option value="0">0</option>
<option value="-1">-1</option>
<option value="-2">-2</option>
<option value="-3">-3</option>
<option value="-3">-4</option>
{{/select}}
</select>
</span>
<h4 class="ame-margin">Familiarités :</h4>
<ul>
{{#each familiarites as |fami key|}}
<li class="item stat flexrow " data-item-id="{{fami._id}}">
<img class="sheet-competence-img" src="{{fami.img}}" /></a>
<span class="item-name-label">{{fami.name}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div> </div>
</li>
{{/each}}
</ul>
</div> </div>
</div> </div>
</div>
<div class="flexrow">
<div class="sheet-box color-bg-paradigme "> <div class="sheet-box color-bg-paradigme ">
@ -115,12 +95,18 @@
</ul> </ul>
</div> </div>
</div>
<div class="flexrow">
<div class="sheet-box color-bg-archetype "> <div class="sheet-box color-bg-archetype ">
<span class="flexrow"> <span class="flexrow">
<img class="ame-icon" src="systems/fvtt-imperium5/images/icons/nature_transparent.webp"> <img class="ame-icon" src="systems/fvtt-imperium5/images/icons/nature_transparent.webp">
<h4 class="ame-margin title-font">NATURE PROFONDE</h4> <h4 class="ame-margin title-font">NATURE PROFONDE</h4>
</span> </span>
{{#if nature}}
<ul> <ul>
<li class="item stat flexrow " data-item-id="{{nature._id}}"> <li class="item stat flexrow " data-item-id="{{nature._id}}">
<img class="sheet-competence-img" src="{{nature.img}}" /> <img class="sheet-competence-img" src="{{nature.img}}" />
@ -132,6 +118,13 @@
</div> </div>
</li> </li>
</ul> </ul>
{{else}}
<ul>
<li class="item stat flexrow " >
<span >Aucune nature profonde</span>
</li>
</ul>
{{/if}}
<h4 class="ame-margin">Traits</h4> <h4 class="ame-margin">Traits</h4>
<ul> <ul>
@ -164,16 +157,6 @@
</ul> </ul>
</div> </div>
</div>
</div>
{{!-- Equipement Tab --}}
<div class="tab ressources" data-group="primary" data-tab="ressources">
<div class="flexrow">
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow"> <li class="item flexrow">
@ -200,6 +183,9 @@
</ul> </ul>
</div> </div>
</div>
<div class="flexrow">
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow"> <li class="item flexrow">
@ -230,8 +216,6 @@
</ul> </ul>
</div> </div>
</div>
<div class="flexrow"> <div class="flexrow">
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
@ -291,6 +275,8 @@
</div> </div>
</div>
{{!-- Biography Tab --}} {{!-- Biography Tab --}}
<div class="tab biodata" data-group="primary" data-tab="biodata"> <div class="tab biodata" data-group="primary" data-tab="biodata">
<div class="grid grid-3col"> <div class="grid grid-3col">
@ -308,7 +294,8 @@
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Age</label> <label class="generic-label">Age</label>
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
@ -321,18 +308,21 @@
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Sexe</label> <label class="generic-label">Sexe</label>
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
data-dtype="String" />
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Taille</label> <label class="generic-label">Taille</label>
<input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}"
data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
<div> <div>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Yeux</label> <label class="generic-label">Yeux</label>
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}"
data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Main préférée</label> <label class="generic-label">Main préférée</label>
@ -341,7 +331,8 @@
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Cheveux</label> <label class="generic-label">Cheveux</label>
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}"
data-dtype="String" />
</li> </li>
</div> </div>
</div> </div>
@ -354,16 +345,7 @@
editable=editable}} editable=editable}}
</div> </div>
</div> </div>
<div>
<h3>Autres identités : </h3>
<div class="form-group small-editor">
{{editor system.biodata.identities target="system.biodata.identities" button=true owner=owner
editable=editable}}
</div>
</div>
</div>
<div class="flexrow">
<div> <div>
<h3>Traits particuliers : </h3> <h3>Traits particuliers : </h3>
<div class="form-group small-editor"> <div class="form-group small-editor">
@ -371,30 +353,7 @@
editable=editable}} editable=editable}}
</div> </div>
</div> </div>
<div>
<h3>Souvenirs quantiques : </h3>
<div class="form-group small-editor">
{{editor system.biodata.memories target="system.biodata.memories" button=true owner=owner
editable=editable}}
</div>
</div>
</div>
<div class="flexrow">
<div>
<h3>Rebuild : </h3>
<div class="form-group small-editor">
{{editor system.biodata.rebuild target="system.biodata.rebuild" button=true owner=owner
editable=editable}}
</div>
</div>
<div>
<h3>Relations, contacts et acolytes : </h3>
<div class="form-group small-editor">
{{editor system.biodata.contacts target="system.biodata.contacts" button=true owner=owner
editable=editable}}
</div>
</div>
</div> </div>
<h3>Qui suis-je : </h3> <h3>Qui suis-je : </h3>

View File

@ -30,15 +30,18 @@
<h4 class="ame-margin title-font">KARMA</h4> <h4 class="ame-margin title-font">KARMA</h4>
<span class="item-name-label flexrow">Karma <span class="item-name-label flexrow">Karma
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="system.karma.value" value="{{system.karma.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} /> name="system.karma.value" value="{{system.karma.value}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
</span> </span>
<span class="item-name-label flexrow">Source <span class="item-name-label flexrow">Source
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="system.karma.source" value="{{system.karma.source}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} /> name="system.karma.source" value="{{system.karma.source}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
</span> </span>
<span class="item-name-label flexrow">XP <span class="item-name-label flexrow">XP
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
name="system.karma.xp" value="{{system.karma.xp}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} /> name="system.karma.xp" value="{{system.karma.xp}}" data-dtype="Number" {{#unless
@root.editScore}}disabled{{/unless}} />
</span> </span>
</div> </div>
@ -52,11 +55,14 @@
<img class="ame-icon" src="systems/fvtt-imperium5/images/icons/ame_transparent.webp"> <img class="ame-icon" src="systems/fvtt-imperium5/images/icons/ame_transparent.webp">
<h4 class="ame-margin title-font">AMES</h4> <h4 class="ame-margin title-font">AMES</h4>
</span> </span>
{{>systems/fvtt-imperium5/templates/actor-partial-ames.html typeame="physique" typedata=system.amestype.physique}} {{>systems/fvtt-imperium5/templates/actor-partial-ames.html typeame="physique"
typedata=system.amestype.physique}}
{{>systems/fvtt-imperium5/templates/actor-partial-ames.html typeame="social" typedata=system.amestype.social}} {{>systems/fvtt-imperium5/templates/actor-partial-ames.html typeame="social"
typedata=system.amestype.social}}
{{>systems/fvtt-imperium5/templates/actor-partial-ames.html typeame="mental" typedata=system.amestype.mental}} {{>systems/fvtt-imperium5/templates/actor-partial-ames.html typeame="mental"
typedata=system.amestype.mental}}
</div> </div>
</div> </div>
@ -68,6 +74,8 @@
<h4 class="ame-margin title-font">ARCHETYPE</h4> <h4 class="ame-margin title-font">ARCHETYPE</h4>
</span> </span>
<h4 class="ame-margin"></h4> <h4 class="ame-margin"></h4>
{{#if archetype}}
<ul> <ul>
<li class="item stat flexrow" data-item-id="{{archetype._id}}"> <li class="item stat flexrow" data-item-id="{{archetype._id}}">
<img class="sheet-competence-img" src="{{archetype.img}}" /></a> <img class="sheet-competence-img" src="{{archetype.img}}" /></a>
@ -79,6 +87,14 @@
</div> </div>
</li> </li>
</ul> </ul>
{{else}}
<ul>
<li class="item stat flexrow">
<span>Aucun archetype</span>
</li>
</ul>
{{/if}}
<h4 class="ame-margin">Spécialités</h4> <h4 class="ame-margin">Spécialités</h4>
<ul> <ul>
@ -133,6 +149,8 @@
<img class="ame-icon" src="systems/fvtt-imperium5/images/icons/nature_transparent.webp"> <img class="ame-icon" src="systems/fvtt-imperium5/images/icons/nature_transparent.webp">
<h4 class="ame-margin title-font">NATURE PROFONDE</h4> <h4 class="ame-margin title-font">NATURE PROFONDE</h4>
</span> </span>
{{#if nature}}
<ul> <ul>
<li class="item stat flexrow " data-item-id="{{nature._id}}"> <li class="item stat flexrow " data-item-id="{{nature._id}}">
<img class="sheet-competence-img" src="{{nature.img}}" /> <img class="sheet-competence-img" src="{{nature.img}}" />
@ -144,6 +162,13 @@
</div> </div>
</li> </li>
</ul> </ul>
{{else}}
<ul>
<li class="item stat flexrow ">
<span>Aucune nature profonde</span>
</li>
</ul>
{{/if}}
<h4 class="ame-margin">Traits</h4> <h4 class="ame-margin">Traits</h4>
<ul> <ul>
@ -189,48 +214,18 @@
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow"> <li class="item flexrow">
<span class="item-name-label-header"> <span class="item-name-label-header item-field-label-long2">
<h3><label class="items-title-text">Equipement</label></h3> <h3><label class="item-field-label-long2">Equipement</label></h3>
</span> </span>
<span class="item-field-label-short"> <span class="item-field-label-long">
<label class="short-label">Intensité</label> <label class="item-field-label-long">Ressouce/Intensité</label>
</span> </span>
</li> </li>
{{#each equipements as |equip key|}} {{#each equipements as |equip key|}}
<li class="item flexrow " data-item-id="{{equip._id}}"> <li class="item flexrow " data-item-id="{{equip._id}}">
<img class="item-name-img" src="{{equip.img}}" /> <img class="item-name-img" src="{{equip.img}}" />
<span class="item-name-label">{{equip.name}}</span> <span class="item-field-label-long2-no-img">{{equip.name}}</span>
<span class="item-field-label-short">{{equip.system.value}}</span> <span class="item-field-label-long">{{equip.system.ressource}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Capacités</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Aide</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Ressource</label>
</span>
</li>
{{#each capacites as |capa key|}}
<li class="item flexrow " data-item-id="{{capa._id}}">
<img class="item-name-img" src="{{capa.img}}" /></a>
<span class="item-name-label">{{capa.name}}</span>
<span class="item-field-label-short"">{{capa.system.aide}}</span>
<span class=" item-field-label-short"">{{capa.system.ressource}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
@ -244,6 +239,38 @@
</div> </div>
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header item-field-label-long2">
<h3><label class="item-field-label-long2">Capacités</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Aide</label>
</span>
<span class="item-field-label-long">
<label class="item-field-label-long">Ressource/Intensité</label>
</span>
</li>
{{#each capacites as |capa key|}}
<li class="item flexrow " data-item-id="{{capa._id}}">
<img class="item-name-img" src="{{capa.img}}" /></a>
<span class="item-field-label-long2-no-img">{{capa.name}}</span>
<span class="item-field-label-short"">{{capa.system.aide}}</span>
<span class=" item-field-label-short"">{{capa.system.ressource}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
<div class="flexrow"> <div class="flexrow">
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
@ -252,15 +279,15 @@
<span class="item-name-label-header"> <span class="item-name-label-header">
<h3><label class="items-title-text">Singularités</label></h3> <h3><label class="items-title-text">Singularités</label></h3>
</span> </span>
<span class="item-field-label-short"> <span class="item-field-label-long">
<label class="short-label">Intensité</label> <label class="item-field-label-long">Ressource/Intensité</label>
</span> </span>
</li> </li>
{{#each singularites as |singul key|}} {{#each singularites as |singul key|}}
<li class="item flexrow " data-item-id="{{singul._id}}"> <li class="item flexrow " data-item-id="{{singul._id}}">
<img class="item-name-img" src="{{singul.img}}" /> <img class="item-name-img" src="{{singul.img}}" />
<span class="item-name-label">{{singul.name}}</span> <span class="item-name-label">{{singul.name}}</span>
<span class="item-field-label-short">{{singul.system.value}}</span> <span class="item-field-label-long">{{singul.system.ressource}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
@ -278,15 +305,15 @@
<span class="item-name-label-header"> <span class="item-name-label-header">
<h3><label class="items-title-text">Contacts/Finances</label></h3> <h3><label class="items-title-text">Contacts/Finances</label></h3>
</span> </span>
<span class="item-field-label-short"> <span class="item-field-label-long">
<label class="short-label">Intensité</label> <label class="item-field-label-long">Ressource/Intensité</label>
</span> </span>
</li> </li>
{{#each contacts as |contact key|}} {{#each contacts as |contact key|}}
<li class="item flexrow " data-item-id="{{contact._id}}"> <li class="item flexrow " data-item-id="{{contact._id}}">
<img class="item-name-img" src="{{contact.img}}" /> <img class="item-name-img" src="{{contact.img}}" />
<span class="item-name-label">{{contact.name}}</span> <span class="item-name-label">{{contact.name}}</span>
<span class="item-field-label-short">{{contact.system.value}}</span> <span class="item-field-label-long">{{contact.system.ressource}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
@ -320,7 +347,8 @@
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Age</label> <label class="generic-label">Age</label>
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
@ -333,18 +361,21 @@
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Sexe</label> <label class="generic-label">Sexe</label>
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
data-dtype="String" />
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Taille</label> <label class="generic-label">Taille</label>
<input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}"
data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
<div> <div>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Yeux</label> <label class="generic-label">Yeux</label>
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}"
data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Main préférée</label> <label class="generic-label">Main préférée</label>
@ -353,7 +384,8 @@
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Cheveux</label> <label class="generic-label">Cheveux</label>
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}" data-dtype="String" /> <input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}"
data-dtype="String" />
</li> </li>
</div> </div>
</div> </div>

View File

@ -13,31 +13,24 @@
<div class="flexcol"> <div class="flexcol">
{{#if (exists system.capatype)}} {{#if (exists system.capatype)}}
<span> <span class="flexrow">
<label class="generic-label">Type de capacité : </label> <label class="generic-label item-field-label-long">Type de capacité : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.capatype" value="{{system.capatype}}" <input type="text" class="padd-right status-small-label color-class-common" name="system.capatype" value="{{system.capatype}}"
data-dtype="String" /> data-dtype="String" />
</span> </span>
{{/if}} {{/if}}
{{#if (exists system.value)}}
<span>
<label class="generic-label">Valeur : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.value" value="{{system.value}}"
data-dtype="Number" />
</span>
{{/if}}
{{#if (exists system.aide)}} {{#if (exists system.aide)}}
<span class="generic-label"> <span class="flexrow">
<label>Aide : </label> <label class="generic-label item-field-label-long">Aide : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.aide" value="{{system.aide}}" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.aide" value="{{system.aide}}"
data-dtype="Number" /> data-dtype="Number" />
</span> </span>
{{/if}} {{/if}}
{{#if (exists system.ressource)}} {{#if (exists system.ressource)}}
<span class="generic-label"> <span class="flexrow">
<label>Resource : </label> <label class="generic-label item-field-label-long">Resource/Intensité : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.ressource" value="{{system.ressource}}" <input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.ressource" value="{{system.ressource}}"
data-dtype="Number" /> data-dtype="Number" />
</span> </span>

View File

@ -1,12 +1,12 @@
<form class="skill-roll-dialog"> <form class="skill-roll-dialog">
<header class="roll-dialog-header"> <header class="roll-dialog-header">
{{#if img}} {{#if actorImg}}
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" /> <img class="actor-icon" src="{{actorImg}}" data-edit="img" title="{{name}}" />
{{/if}} {{/if}}
<h1 class="dialog-roll-title roll-dialog-header">{{ame.label}} ({{ame.value}})</h1> <h1 class="dialog-roll-title roll-dialog-header">{{ame.label}} ({{ame.value}})</h1>
</header> </header>
<div class="flexcol"> <div class="flexcol sheet-box color-bg-ame">
<div class="flexrow"> <div class="flexrow">
<span class="roll-dialog-label">Ruptures : {{ameMalus}}</span> <span class="roll-dialog-label">Ruptures : {{ameMalus}}</span>
@ -48,6 +48,9 @@
<div class="flexrow"> <div class="flexrow">
<span class="roll-dialog-label">Total : <span id="ame-total">{{ame.value}}</span>d8</span> <span class="roll-dialog-label">Total : <span id="ame-total">{{ame.value}}</span>d8</span>
</div> </div>
</div>
<div class="flexcol sheet-box color-bg-archetype">
<div class="flexrow"> <div class="flexrow">
<span class="roll-dialog-label">Dés de Réalité : </span> <span class="roll-dialog-label">Dés de Réalité : </span>
@ -65,6 +68,7 @@
</select> </select>
</div> </div>
</div>
</div> </div>