forked from public/foundryvtt-reve-de-dragon
#77 Gestion alchimie
This commit is contained in:
@ -781,6 +781,21 @@
|
||||
<hr>
|
||||
</article>
|
||||
|
||||
<article class="flexcol">
|
||||
<h3>Recettes Alchimiques</h3>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.recettesAlchimiques as |recette id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{recette._id}}"><span class="competence-title recette-label item-edit"><a>{{recette.name}} </a></span>
|
||||
<div class="item-controls">
|
||||
<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>
|
||||
<hr>
|
||||
</article>
|
||||
|
||||
<article class="flexcol">
|
||||
<h3>Biographie : </h3>
|
||||
<div class="form-group editor">
|
||||
|
12
templates/chat-resultat-alchimie.html
Normal file
12
templates/chat-resultat-alchimie.html
Normal file
@ -0,0 +1,12 @@
|
||||
<h4>
|
||||
{{alias}} essaye de réaliser sa recette Alchimique : {{recette.name}}
|
||||
</h4>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<hr>
|
||||
<div>
|
||||
{{#if rolled.isSuccess}}
|
||||
{{alias}} a réussi son opération alchimiue ! Il/Elle peut passer à l'étape suivante de sa recette.
|
||||
{{else}}
|
||||
{{alias}} a raté son opération Alchimique ! Sa recette est un echec.
|
||||
{{/if}}
|
||||
</div>
|
38
templates/dialog-roll-alchimie.html
Normal file
38
templates/dialog-roll-alchimie.html
Normal file
@ -0,0 +1,38 @@
|
||||
<form class="dialog-roll-sort">
|
||||
<div class="form-group">
|
||||
<ul>
|
||||
<li><label for="categorie">Recette : {{recetteName}}</label></li>
|
||||
<li><label for="categorie">Tâche Alchimique : {{alchimieTexte}}</label></li>
|
||||
<li><label for="categorie">Jet : {{selectedCarac.label}} / {{competence.name}}</label></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="categorie">conditions</label>
|
||||
<select name="diffConditions" id="diffConditions" data-dtype="number">
|
||||
{{#select diffConditions}}
|
||||
{{#each ajustementsConditions as |key|}}
|
||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<label for="categorie">Difficulté </label>
|
||||
<select name="diffLibre" id="diffLibre" data-dtype="number">
|
||||
{{#select diffLibre}}
|
||||
{{#each difficultesLibres as |key|}}
|
||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="tableAjustements">
|
||||
</div>
|
||||
<div id="tableResolution">
|
||||
</div>
|
||||
<div id="tableProbaReussite">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
</script>
|
47
templates/item-recettealchimique-sheet.html
Normal file
47
templates/item-recettealchimique-sheet.html
Normal file
@ -0,0 +1,47 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="form-group">
|
||||
<label for="xp">But</label>
|
||||
<input class="attribute-value" type="text" name="data.but" value="{{data.but}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Manipulation : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor content=data.manipulation_update target="data.manipulation" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Utilisation : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor content=data.utilisation target="data.utilisation" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Enchantement : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor content=data.enchantement target="data.enchantement" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Sur-effet : </label></span>
|
||||
<div class="form-group small-editor">
|
||||
{{editor content=data.sureffet target="data.sureffet" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Notes additionnelles : </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</form>
|
Reference in New Issue
Block a user