Ready pour compendiums

This commit is contained in:
sladecraven 2022-05-30 07:43:49 +02:00
parent 342b290a98
commit 1b60989571
7 changed files with 123 additions and 36 deletions

View File

@ -100,7 +100,19 @@
"description": ""
}
},
"types": [ "arme", "competence", "protection", "pacte", "traitchaotique", "monnaie", "don", "tendance", "rune"],
"types": [ "arme", "competence", "protection", "pacte", "traitchaotique", "monnaie", "don", "tendance", "rune", "predilection", "equipement", "capacite"],
"capacite":{
"templates": [ "base" ]
},
"predilection": {
"competence": "",
"templates": [ "base" ]
},
"equipement": {
"rarete": 0,
"prix": 0,
"templates": [ "base" ]
},
"arme": {
"typearme": "",
"bonusmaniementoff": 0,
@ -125,7 +137,7 @@
"protection": {
"typeprotection": "",
"protection": 0,
"bonusmaniementdef": 0,
"degats": "",
"rarete": 0,
"prix": 0,
"templates": [ "base" ]

View File

@ -27,42 +27,49 @@
{{!-- Main Tab --}}
<div class="tab principal" data-group="primary" data-tab="principal">
<div class="flexrow">
<div class="flexcol">
<div class="flexrow">
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Attributs</h4>
</span>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
{{#each data.attributs as |attr key|}}
<span><label>{{attr.label}}</label><label>{{attr.value}}</label></span>
<li class="item flexrow " data-item-id="{{equip._id}}">
<span class="item-name-label">{{attr.label}}</span>
<span class="item-field-label-short">{{attr.value}}</span>
</li>
{{/each}}
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Bonne Aventure</h4>
</span>
<span><label>Base</label><label>{{data.bonneaventure.base}}</label></span>
<span><label>Actuelle</label><label>{{data.bonneaventure.actuelle}}</label></span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Eclat</h4>
</span>
<span><label>Valeur</label><label>{{data.eclat.value}}</label></span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Expérience</h4>
</span>
<span><label>Valeur</label><label>{{data.experience.value}}</label></span>
</div>
</ul>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Bonne Aventure</h4>
</span>
<span class="flexrow">
<label>Base</label><label>{{data.bonneaventure.base}}</label>
<label>Actuelle</label><label>{{data.bonneaventure.actuelle}}</label>
</span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Eclat</h4>
</span>
<span class="flexrow">
<label>Valeur</label><label>{{data.eclat.value}}</label>
</span>
</div>
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
<h4 class="ame-margin title-font">Expérience</h4>
</span>
<span class="flexrow">
<label>Valeur</label><label>{{data.experience.value}}</label>
</span>
</div>
</div>
</div>
{{!-- Competence Tab --}}

View File

@ -0,0 +1,18 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -0,0 +1,27 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Rareté </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.rarete" value="{{data.rarete}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Prix </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.prix" value="{{data.prix}}" data-dtype="Number" />
</span>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -0,0 +1,23 @@
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Compétence : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.competence" value="{{data.competence}}" data-dtype="String" />
</span>
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
</div>
</section>
</form>

View File

@ -24,8 +24,8 @@
<input type="text" class="padd-right status-small-label color-class-common" name="data.protection" value="{{data.protection}}" data-dtype="Number" />
</span>
<span class="flexrow">
<label class="generic-label">Bonus de maniement (défensif) : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonusmaniementdef" value="{{data.bonusmaniementdef}}" data-dtype="Number" />
<label class="generic-label">Degats : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.degats" value="{{data.degats}}" data-dtype="String" />
</span>
<span class="flexrow">
<label class="generic-label">Rareté </label>

View File

@ -11,7 +11,7 @@
<div class="flexcol">
<span class="flexrow">
<label class="generic-label">Formule : </label>
<label class="generic-label">Haut-Parler : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.formule" value="{{data.formule}}" data-dtype="String" />
</span>
<span class="flexrow">