Initial import
This commit is contained in:
20
templates/armor.hbs
Normal file
20
templates/armor.hbs
Normal file
@ -0,0 +1,20 @@
|
||||
<section>
|
||||
<div class="header">
|
||||
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
|
||||
{{formField systemFields.categorie value=system.categorie localize=true}}
|
||||
{{formField systemFields.valeur value=system.valeur}}
|
||||
{{formField systemFields.malus value=system.malus}}
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput
|
||||
systemFields.description
|
||||
enriched=enrichedDescription
|
||||
value=system.description
|
||||
name="system.description"
|
||||
toggled="false"
|
||||
}}
|
||||
</fieldset>
|
||||
</section>
|
12
templates/attack.hbs
Normal file
12
templates/attack.hbs
Normal file
@ -0,0 +1,12 @@
|
||||
<section>
|
||||
<div class="header">
|
||||
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
{{formField systemFields.degats value=system.degats}}
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>
|
14
templates/character-biography.hbs
Normal file
14
templates/character-biography.hbs
Normal file
@ -0,0 +1,14 @@
|
||||
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Character.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Character.Label.langues"}}</legend>
|
||||
{{formInput systemFields.langues enriched=enrichedLangues value=system.langues name="system.langues" toggled=true}}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Character.Label.notes"}}</legend>
|
||||
{{formInput systemFields.notes enriched=enrichedNotes value=system.notes name="system.notes" toggled=true}}
|
||||
</fieldset>
|
||||
</section>
|
103
templates/character-items.hbs
Normal file
103
templates/character-items.hbs
Normal file
@ -0,0 +1,103 @@
|
||||
<section class="tab character-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
|
||||
<fieldset>
|
||||
<legend data-tooltip="{{localize "TENEBRIS.Tooltip.learnedTalents"}}" data-tooltip-direction="UP">{{localize "TENEBRIS.Label.talents"}}</legend>
|
||||
<div class="talents">
|
||||
{{#if @root.isEditMode}}
|
||||
{{#each talents as |item|}}
|
||||
{{!log "path-talent" this}}
|
||||
<div class="talent {{#if item.appris}}appris{{/if}}" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}">
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<div class="name" data-tooltip="{{{item.description}}}<br><br>{{item.path}}" data-tooltip-direction="UP">{{item.name}}
|
||||
{{#if item.progression}}<span data-tooltip="{{localize 'TENEBRIS.Label.progressionPossible'}}"> (P)</span>{{/if}}
|
||||
{{#if (and item.progression (gt item.niveau 1))}}{{localize 'TENEBRIS.Label.level'}} {{item.niveau}}{{/if}}
|
||||
</div>
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
{{#each talentsAppris as |item|}}
|
||||
{{!log "path-talent appris" this}}
|
||||
<div class="talent" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-tooltip="{{{item.description}}}<br><br>{{item.path}}">
|
||||
{{#if (ne item.img "icons/svg/item-bag.svg")}}
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
{{/if}}
|
||||
{{item.name}} {{item.details}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.equipement"}}{{#if isEditMode}}<a class="action" data-tooltip="{{localize "TENEBRIS.Tooltip.addEquipment"}}" data-tooltip-direction="UP"><i class="fas fa-plus" data-action="createEquipment"></i></a>{{/if}}</legend>
|
||||
<div class="weapons">
|
||||
{{#each weapons as |item|}}
|
||||
{{!log 'weapon' this}}
|
||||
<div class="weapon" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true" data-drag-type="damage">
|
||||
{{#if (ne item.img "icons/svg/item-bag.svg")}}
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
{{/if}}
|
||||
<div class="name" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
<a {{#if (ne item.system.degats "1")}}class="rollable" data-item-id="{{item.id}}" data-action="roll" data-roll-type="damage" data-roll-value="{{item.system.degats}}"{{/if}}>{{localize "TENEBRIS.Label.degats"}} : {{item.system.degats}}</a>
|
||||
{{#if @root.isEditMode}}
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="armors">
|
||||
{{#each armors as |item|}}
|
||||
{{!log 'armor' this}}
|
||||
<div class="armor" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}">
|
||||
<img class="item-img" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
||||
<div class="name" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
{{localize "TENEBRIS.Label.armor"}} : {{item.system.valeur}} {{localize "TENEBRIS.Label.malus"}} : {{item.system.malus}}
|
||||
{{#if @root.isEditMode}}
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.biens"}}</legend>
|
||||
{{formInput systemFields.biens enriched=enrichedBiens value=system.biens name="system.biens" toggled=true }}
|
||||
</fieldset>
|
||||
|
||||
{{#if (or isEditMode (and isPlayMode hasSpells))}}
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.spells"}}{{#if isEditMode}}<a class="action" data-tooltip="{{localize "TENEBRIS.Tooltip.addSpell"}}" data-tooltip-direction="UP"><i class="fas fa-plus" data-action="createSpell"></i></a>{{/if}}</legend>
|
||||
<div class="spells">
|
||||
{{#each spells as |item|}}
|
||||
{{!log 'weapon' this}}
|
||||
<div class="spell" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="true" data-drag-type="spell">
|
||||
<div class="name" data-tooltip="{{{item.system.description}}}">
|
||||
{{item.name}}
|
||||
</div>
|
||||
{{#if @root.isEditMode}}
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
</section>
|
187
templates/character-main.hbs
Normal file
187
templates/character-main.hbs
Normal file
@ -0,0 +1,187 @@
|
||||
<section class="character-main character-main-{{ifThen isPlayMode 'play' 'edit'}}">
|
||||
{{!log "character-main" this}}
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Character.Label.personnage"}}</legend>
|
||||
<div class="character-personnage character-personnage-{{ifThen isPlayMode 'play' 'edit'}}">
|
||||
<div class="character-gauche">
|
||||
<div class="character-gauche-image">
|
||||
<img class="character-img" src="{{actor.img}}" data-edit="img" data-action="editImage" data-tooltip="{{actor.name}}" />
|
||||
</div>
|
||||
<div class="character-dv">
|
||||
{{formField systemFields.dv value=system.dv rootId=partId disabled=isPlayMode classes="character-dv"}}
|
||||
</div>
|
||||
<div class="character-dmax" data-tooltip="{{tooltipsCaracteristiques.dmax}}">
|
||||
{{formField systemFields.dmax.fields.valeur value=system.dmax.valeur rootId=partId disabled=isPlayMode classes="character-dmax"}}
|
||||
{{#if isEditMode}}
|
||||
<div class="character-dmax-edit">
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experienceDetail" detail='Dégâts max'}}">{{formInput systemFields.dmax.fields.experience value=system.dmax.experience}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="character-droite">
|
||||
<div class="character-name">
|
||||
{{formInput fields.name value=source.name rootId=partId disabled=isPlayMode}}
|
||||
<a class="control" data-action="toggleSheet" data-tooltip="TENEBRIS.ToggleSheet" data-tooltip-direction="UP">
|
||||
<i class="fa-solid fa-user-{{ifThen isPlayMode 'lock' 'pen'}}"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="character-infos">
|
||||
{{#if isEditMode}}
|
||||
<div class="character-voie-majeure">
|
||||
{{formField systemFields.voies.fields.majeure.fields.nom value=system.voies.majeure.nom rootId=partId disabled=true}}
|
||||
{{#if system.hasVoieMajeure}}
|
||||
<div class="controls">
|
||||
<a class="control" data-action="edit" data-item-id="{{actor.system.voies.majeure.id}}" data-tooltip="{{localize 'TENEBRIS.Edit'}}"><i class="fas fa-edit"></i></a>
|
||||
{{#if (not system.hasVoieMineure)}}
|
||||
<a class="control" data-action="deleteVoieMajeure" data-tooltip="{{localize 'TENEBRIS.Delete'}}"><i class="fas fa-trash"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-voie-mineure">
|
||||
{{formField systemFields.voies.fields.mineure.fields.nom value=system.voies.mineure.nom rootId=partId disabled=true}}
|
||||
{{#if system.hasVoieMineure}}
|
||||
<div class="controls">
|
||||
<a class="control" data-action="edit" data-item-id="{{actor.system.voies.majeure.id}}" data-tooltip="{{localize 'TENEBRIS.Edit'}}"><i class="fas fa-edit"></i></a>
|
||||
<a class="control" data-action="deleteVoieMineure" data-tooltip="{{localize 'TENEBRIS.Delete'}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="character-voie-majeure">
|
||||
{{formField systemFields.voies.fields.majeure.fields.nom value=system.voies.majeure.nom rootId=partId disabled=true}}
|
||||
</div>
|
||||
{{#if system.hasVoieMineure}}
|
||||
<div class="character-voie-mineure">
|
||||
{{formField systemFields.voies.fields.mineure.fields.nom value=system.voies.mineure.nom rootId=partId disabled=true}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<div class="character-commanditaire">
|
||||
{{formField systemFields.commanditaire value=system.commanditaire rootId=partId disabled=isPlayMode classes="character-commanditaire"}}
|
||||
</div>
|
||||
<div class="character-pv">
|
||||
<div class="character-pv-value">
|
||||
{{formField systemFields.pv.fields.value value=system.pv.value}}
|
||||
</div>
|
||||
<div class="pv-separator">/</div>
|
||||
<div class="character-pv-max">
|
||||
{{formInput systemFields.pv.fields.max value=system.pv.max rootId=partId disabled=isPlayMode}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="character-caracteristiques character-caracteristiques-{{ifThen isPlayMode 'play' 'edit'}}">
|
||||
<legend>{{localize "TENEBRIS.Character.Label.caracteristiques"}}</legend>
|
||||
<div class="character-caracteristique" data-drag="true" data-drag-type="save">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsCaracteristiques.rob}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.caracteristiques.fields.rob.fields.valeur value=system.caracteristiques.rob.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.saveRob}}
|
||||
{{#if isEditMode}}
|
||||
<div class="experience">
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.caracteristiques.fields.rob.fields.progression.fields.experience value=system.caracteristiques.rob.progression.experience}}</div>
|
||||
<div class="experience-progress" data-tooltip="{{localize "TENEBRIS.Label.progress"}}">{{formInput systemFields.caracteristiques.fields.rob.fields.progression.fields.progres value=system.caracteristiques.rob.progression.progres}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-caracteristique" data-drag="true" data-drag-type="save">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsCaracteristiques.dex}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.caracteristiques.fields.dex.fields.valeur value=system.caracteristiques.dex.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.saveDex}}
|
||||
{{#if isEditMode}}
|
||||
<div class="experience">
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.caracteristiques.fields.dex.fields.progression.fields.experience value=system.caracteristiques.dex.progression.experience}}</div>
|
||||
<div class="experience-progress" data-tooltip="{{localize "TENEBRIS.Label.progress"}}">{{formInput systemFields.caracteristiques.fields.dex.fields.progression.fields.progres value=system.caracteristiques.dex.progression.progres}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-caracteristique" data-drag="true" data-drag-type="save">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsCaracteristiques.int}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.caracteristiques.fields.int.fields.valeur value=system.caracteristiques.int.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.saveInt}}
|
||||
{{#if isEditMode}}
|
||||
<div class="experience">
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.caracteristiques.fields.int.fields.progression.fields.experience value=system.caracteristiques.int.progression.experience}}</div>
|
||||
<div class="experience-progress" data-tooltip="{{localize "TENEBRIS.Label.progress"}}">{{formInput systemFields.caracteristiques.fields.int.fields.progression.fields.progres value=system.caracteristiques.int.progression.progres}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-caracteristique" data-drag="true" data-drag-type="save">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsCaracteristiques.per}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.caracteristiques.fields.per.fields.valeur value=system.caracteristiques.per.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.savePer}}
|
||||
{{#if isEditMode}}
|
||||
<div class="experience">
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.caracteristiques.fields.per.fields.progression.fields.experience value=system.caracteristiques.per.progression.experience}}</div>
|
||||
<div class="experience-progress" data-tooltip="{{localize "TENEBRIS.Label.progress"}}">{{formInput systemFields.caracteristiques.fields.per.fields.progression.fields.progres value=system.caracteristiques.per.progression.progres}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-caracteristique" data-drag="true" data-drag-type="save">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsCaracteristiques.vol}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.caracteristiques.fields.vol.fields.valeur value=system.caracteristiques.vol.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.saveVol}}
|
||||
{{#if isEditMode}}
|
||||
<div class="experience">
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.caracteristiques.fields.vol.fields.progression.fields.experience value=system.caracteristiques.vol.progression.experience}}</div>
|
||||
<div class="experience-progress" data-tooltip="{{localize "TENEBRIS.Label.progress"}}">{{formInput systemFields.caracteristiques.fields.vol.fields.progression.fields.progres value=system.caracteristiques.vol.progression.progres}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="character-ressources character-ressources-{{ifThen isPlayMode 'play' 'edit'}}">
|
||||
<legend>{{localize "TENEBRIS.Character.Label.ressources"}}</legend>
|
||||
<div class="character-ressource" data-drag="true" data-drag-type="resource">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsRessources.san}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.ressources.fields.san.fields.valeur value=system.ressources.san.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.resourceSan}}
|
||||
{{#if isEditMode}}
|
||||
<div class="character-ressource-edit">
|
||||
{{formInput systemFields.ressources.fields.san.fields.max value=system.ressources.san.max}}
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.ressources.fields.san.fields.experience value=system.ressources.san.experience}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-ressource" data-drag="true" data-drag-type="resource">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsRessources.oeil}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.ressources.fields.oeil.fields.valeur value=system.ressources.oeil.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.resourceOeil}}
|
||||
{{#if isEditMode}}
|
||||
<div class="character-ressource-edit">
|
||||
{{formInput systemFields.ressources.fields.oeil.fields.max value=system.ressources.oeil.max}}
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.ressources.fields.oeil.fields.experience value=system.ressources.oeil.experience}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-ressource" data-drag="true" data-drag-type="resource">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsRessources.verbe}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.ressources.fields.verbe.fields.valeur value=system.ressources.verbe.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.resourceVerbe}}
|
||||
{{#if isEditMode}}
|
||||
<div class="character-ressource-edit">
|
||||
{{formInput systemFields.ressources.fields.verbe.fields.max value=system.ressources.verbe.max}}
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.ressources.fields.verbe.fields.experience value=system.ressources.verbe.experience}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-ressource" data-drag="true" data-drag-type="resource">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsRessources.bourse}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.ressources.fields.bourse.fields.valeur value=system.ressources.bourse.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.resourceBourse}}
|
||||
{{#if isEditMode}}
|
||||
<div class="character-ressource-edit">
|
||||
{{formInput systemFields.ressources.fields.bourse.fields.max value=system.ressources.bourse.max}}
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.ressources.fields.bourse.fields.experience value=system.ressources.bourse.experience}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="character-ressource" data-drag="true" data-drag-type="resource">
|
||||
<i class="fa fa-question-circle" aria-hidden="true" data-tooltip="{{tooltipsRessources.magie}}" style="font-size: small;"></i>
|
||||
{{formField systemFields.ressources.fields.magie.fields.valeur value=system.ressources.magie.valeur rootId=partId disabled=isPlayMode classes="rollable" dataset=rollType.resourceMagie}}
|
||||
{{#if isEditMode}}
|
||||
<div class="character-ressource-edit">
|
||||
{{formInput systemFields.ressources.fields.magie.fields.max value=system.ressources.magie.max}}
|
||||
<div data-tooltip="{{localize "TENEBRIS.Label.experience"}}">{{formInput systemFields.ressources.fields.magie.fields.experience value=system.ressources.magie.experience}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</section>
|
6
templates/chat-ask-roll.hbs
Normal file
6
templates/chat-ask-roll.hbs
Normal file
@ -0,0 +1,6 @@
|
||||
<div class="tenebris ask-roll">
|
||||
<h4 class="ask-roll-title">{{title}}<br>{{text}}</h4>
|
||||
<a class="ask-roll-dice" data-type="{{rollType}}" data-value="{{value}}" data-avantage="{{avantage}}">
|
||||
<i class="fas fa-dice-d20" title="{{localize 'TENEBRIS.Manager.roll'}}"></i> {{localize 'TENEBRIS.Manager.roll'}}
|
||||
</a>
|
||||
</div>
|
17
templates/chat-fortune.hbs
Normal file
17
templates/chat-fortune.hbs
Normal file
@ -0,0 +1,17 @@
|
||||
{{!log 'chat-fortune' this}}
|
||||
<div class="tenebris fortune">
|
||||
<div class="intro-chat">
|
||||
{{#if (ne actingCharImg "icons/svg/mystery-man.svg")}}
|
||||
<div class="intro-img">
|
||||
<img src="{{actingCharImg}}" data-tooltip="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="intro-right">
|
||||
<p class="introText">{{localize "TENEBRIS.Chat.askFortune" name=name}}</p>
|
||||
</div>
|
||||
</div>
|
||||
{{#if isGM}}
|
||||
<a class="button control" data-action="accept-fortune" data-tooltip="Accepter"><i class="fa-solid fa-check"></i></a>
|
||||
<div class="fortune-accepted" style="display: none;">Accepté !</div>
|
||||
{{/if}}
|
||||
</div>
|
55
templates/chat-message.hbs
Normal file
55
templates/chat-message.hbs
Normal file
@ -0,0 +1,55 @@
|
||||
{{!log 'chat-message' this}}
|
||||
<div class="{{cssClass}}">
|
||||
<div class="intro-chat">
|
||||
{{#if (ne actingCharImg "icons/svg/mystery-man.svg")}}
|
||||
<div class="intro-img">
|
||||
<img src="{{actingCharImg}}" data-tooltip="{{actingCharName}}" />
|
||||
</div>
|
||||
{{else}}
|
||||
<div></div>
|
||||
{{/if}}
|
||||
<div class="intro-right">
|
||||
<p class="introText" {{#if isSave}}data-tooltip="{{introTextTooltip}}"{{/if}}>{{{introText}}}
|
||||
{{#if isSave}}
|
||||
<br>
|
||||
{{#if (eq avantages "avantage")}} {{localize "TENEBRIS.Roll.avantage"}}{{/if}}
|
||||
{{#if (eq avantages "desavantage")}} {{localize "TENEBRIS.Roll.desavantage"}}{{/if}}
|
||||
{{#if (eq avantages "doubleAvantage")}} {{localize "TENEBRIS.Roll.doubleAvantage"}}{{/if}}
|
||||
{{#if (eq avantages "doubleDesavantage")}} {{localize "TENEBRIS.Roll.doubleDesavantage"}}{{/if}}
|
||||
{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{#if isSave}}
|
||||
<div class="result">
|
||||
{{#if (eq resultType "success")}}
|
||||
{{#if isPrivate}}?{{else}}{{localize "TENEBRIS.Roll.success"}}{{/if}}
|
||||
{{else}}
|
||||
{{#if isPrivate}}?{{else}}{{localize "TENEBRIS.Roll.failure"}}{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if isResource}}
|
||||
<div class="result">
|
||||
{{#if (eq resultType "success")}}
|
||||
{{#if isPrivate}}?{{else}}{{localize "TENEBRIS.Roll.success"}}{{/if}}
|
||||
{{else}}
|
||||
{{#if isPrivate}}?{{else}}{{localize "TENEBRIS.Roll.failure"}}{{#if isFailure}} ({{localize "TENEBRIS.Roll.resourceLost"}}){{/if}}{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if isDamage}}
|
||||
<div>
|
||||
{{#if (and isGM hasTarget)}}
|
||||
{{{localize "TENEBRIS.Roll.displayArmor" targetName=targetName targetArmor=targetArmor realDamage=realDamage}}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#unless isPrivate}}
|
||||
<div class="dice-result">
|
||||
<h4 class="dice-total">{{total}}</h4>
|
||||
<div class="dice-formula">{{formula}}</div>
|
||||
{{{tooltip}}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
</div>
|
9
templates/fortune.hbs
Normal file
9
templates/fortune.hbs
Normal file
@ -0,0 +1,9 @@
|
||||
{{!log "fortune" this}}
|
||||
<div class="application-fortune application-fortune-{{ifThen isGM 'gm' 'player'}}">
|
||||
{{#unless isGM}}
|
||||
<button type="button" class="action-button frame-brown" data-action="fortune" data-user-id={{userId}}>
|
||||
<label>Dépenser</label>
|
||||
</button>
|
||||
{{/unless}}
|
||||
<div class="application-fortune-value">{{fortune}}</div>
|
||||
</div>
|
39
templates/manager.hbs
Normal file
39
templates/manager.hbs
Normal file
@ -0,0 +1,39 @@
|
||||
<table class="tenebris-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{localize "TENEBRIS.Manager.player"}}</th>
|
||||
<th>{{localize "TENEBRIS.Manager.character"}}</th>
|
||||
<th>{{localize "TENEBRIS.Manager.pv"}}</th>
|
||||
<td data-action="saveAll" data-save="rob">{{localize "TENEBRIS.Manager.rob"}}</td>
|
||||
<td data-action="saveAll" data-save="dex">{{localize "TENEBRIS.Manager.dex"}}</td>
|
||||
<td data-action="saveAll" data-save="int">{{localize "TENEBRIS.Manager.int"}}</td>
|
||||
<td data-action="saveAll" data-save="per">{{localize "TENEBRIS.Manager.per"}}</td>
|
||||
<td data-action="saveAll" data-save="vol">{{localize "TENEBRIS.Manager.vol"}}</td>
|
||||
<td data-action="resourceAll" data-resource="san">{{localize "TENEBRIS.Manager.san"}}</td>
|
||||
<td data-action="resourceAll" data-resource="oeil">{{localize "TENEBRIS.Manager.oeil"}}</td>
|
||||
<td data-action="resourceAll" data-resource="verbe">{{localize "TENEBRIS.Manager.verbe"}}</td>
|
||||
<td data-action="resourceAll" data-resource="bourse">{{localize "TENEBRIS.Manager.bourse"}}</td>
|
||||
<td data-action="resourceAll" data-resource="magie">{{localize "TENEBRIS.Manager.magie"}}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each players as |player|}}
|
||||
{{!log "player" this}}
|
||||
<tr class="player" data-user-id="{{player.id}}" data-character-name="{{player.character.name}}" data-character-id="{{player.character.id}}">
|
||||
<td>{{player.name}}</td>
|
||||
<td data-action="openSheet" data-character-id="{{player.character.id}}">{{player.character.name}}</td>
|
||||
<td>{{player.character.system.pv.value}}</td>
|
||||
<td data-action="saveOne" data-save="rob">{{player.character.system.caracteristiques.rob.valeur}}</td>
|
||||
<td data-action="saveOne" data-save="dex">{{player.character.system.caracteristiques.dex.valeur}}</td>
|
||||
<td data-action="saveOne" data-save="int">{{player.character.system.caracteristiques.int.valeur}}</td>
|
||||
<td data-action="saveOne" data-save="per">{{player.character.system.caracteristiques.per.valeur}}</td>
|
||||
<td data-action="saveOne" data-save="vol">{{player.character.system.caracteristiques.vol.valeur}}</td>
|
||||
<td data-action="resourceOne" data-resource="san">{{player.character.system.ressources.san.valeur}}</td>
|
||||
<td data-action="resourceOne" data-resource="oeil">{{player.character.system.ressources.oeil.valeur}}</td>
|
||||
<td data-action="resourceOne" data-resource="verbe">{{player.character.system.ressources.verbe.valeur}}</td>
|
||||
<td data-action="resourceOne" data-resource="bourse">{{player.character.system.ressources.bourse.valeur}}</td>
|
||||
<td data-action="resourceOne" data-resource="magie">{{player.character.system.ressources.magie.valeur}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
79
templates/opponent.hbs
Normal file
79
templates/opponent.hbs
Normal file
@ -0,0 +1,79 @@
|
||||
<section>
|
||||
{{!log "opponent sheet" this}}
|
||||
<div class="opponent-header">
|
||||
<img class="opponent-img" src="{{actor.img}}" data-edit="img" data-action="editImage" data-tooltip="{{actor.name}}" />
|
||||
{{formInput fields.name value=source.name}}
|
||||
<a class="control" data-action="toggleSheet" data-tooltip="TENEBRIS.ToggleSheet" data-tooltip-direction="UP">
|
||||
<i class="fa-solid fa-user-{{ifThen isPlayMode 'lock' 'pen'}}"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="opponent-main">
|
||||
<div class="opponent-gauche">
|
||||
<fieldset class="opponent-caracteristiques">
|
||||
<legend>{{localize "TENEBRIS.Character.Label.caracteristiques"}}</legend>
|
||||
{{formField systemFields.dv value=system.dv disabled=isPlayMode}}
|
||||
{{formField systemFields.pv.fields.value value=system.pv.value}}
|
||||
{{formField systemFields.pv.fields.max value=system.pv.max disabled=isPlayMode}}
|
||||
{{formField systemFields.armure value=system.armure disabled=isPlayMode}}
|
||||
{{formField systemFields.malus value=system.malus disabled=isPlayMode}}
|
||||
{{formField systemFields.actions value=system.actions disabled=isPlayMode}}
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="opponent-attacks">
|
||||
<legend>{{localize "TENEBRIS.Character.Label.attaques"}}
|
||||
{{#if isEditMode}}<a class="action" data-tooltip="{{localize 'TENEBRIS.Tooltip.addAttack'}}" data-tooltip-direction="UP"><i
|
||||
class="fas fa-plus"
|
||||
data-action="createAttack"
|
||||
></i></a>{{/if}}</legend>
|
||||
{{#each attacks as |attack|}}
|
||||
<div class="opponent-attack" data-drag="true" data-drag-type="attack" data-roll-value="{{attack.system.degats}}" data-roll-target="{{attack.name}}">
|
||||
<div class="attack-name">
|
||||
<a
|
||||
class="rollable"
|
||||
data-item-id="{{attack.id}}"
|
||||
data-item-name="{{attack.name}}"
|
||||
data-action="roll"
|
||||
data-roll-type="attack"
|
||||
data-roll-value="{{attack.system.degats}}"
|
||||
>{{attack.system.degats}}</a>
|
||||
(<span data-tooltip="{{attack.system.toolTip}}">{{attack.name}}</span>)
|
||||
</div>
|
||||
{{#if @root.isEditMode}}
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-id="{{attack.id}}" data-item-uuid="{{attack.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-id="{{attack.id}}" data-item-uuid="{{attack.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
|
||||
{{#if (or isEditMode (and isPlayMode hasSpells))}}
|
||||
<fieldset class="opponent-spells">
|
||||
<legend>{{localize "TENEBRIS.Label.spells"}}{{#if isEditMode}}<a class="action" data-tooltip="{{localize "TENEBRIS.Tooltip.addSpell"}}" data-tooltip-direction="UP"><i class="fas fa-plus" data-action="createSpell"></i></a>{{/if}}</legend>
|
||||
{{#each spells as |spell|}}
|
||||
<div class="opponent-spell">
|
||||
<div class="name" data-tooltip="{{{spell.system.description}}}">
|
||||
{{spell.name}}
|
||||
</div>
|
||||
{{#if @root.isEditMode}}
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-id="{{spell.id}}" data-item-uuid="{{spell.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-id="{{spell.id}}" data-item-uuid="{{spell.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="opponent-droite">
|
||||
<fieldset class="opponent-description">
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true compact=true}}
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
7
templates/path-header.hbs
Normal file
7
templates/path-header.hbs
Normal file
@ -0,0 +1,7 @@
|
||||
<section class="path-name">
|
||||
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
{{formInput fields.name value=source.name rootId=partId disabled=isPlayMode}}
|
||||
<a class="control" data-action="toggleSheet" data-tooltip="TENEBRIS.ToggleSheet">
|
||||
<i class="fa-solid fa-user-{{ifThen isPlayMode 'lock' 'pen'}}"></i>
|
||||
</a>
|
||||
</section>
|
44
templates/path-main.hbs
Normal file
44
templates/path-main.hbs
Normal file
@ -0,0 +1,44 @@
|
||||
<section class="tab path-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.profil"}}</legend>
|
||||
<div class="profil">
|
||||
<div class="profil-gauche">
|
||||
{{formField systemFields.caracteristiques.fields.rob.fields.valeur value=system.caracteristiques.rob.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.caracteristiques.fields.dex.fields.valeur value=system.caracteristiques.dex.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.caracteristiques.fields.int.fields.valeur value=system.caracteristiques.int.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.caracteristiques.fields.per.fields.valeur value=system.caracteristiques.per.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.caracteristiques.fields.vol.fields.valeur value=system.caracteristiques.vol.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.dv value=system.dv rootId=partId disabled=isPlayMode}}
|
||||
</div>
|
||||
<div class="profil-droite">
|
||||
{{formField systemFields.dmax value=system.dmax rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.ressources.fields.san.fields.valeur value=system.ressources.san.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.ressources.fields.oeil.fields.valeur value=system.ressources.oeil.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.ressources.fields.verbe.fields.valeur value=system.ressources.verbe.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.ressources.fields.bourse.fields.valeur value=system.ressources.bourse.valeur rootId=partId disabled=isPlayMode}}
|
||||
{{formField systemFields.ressources.fields.magie.fields.valeur value=system.ressources.magie.valeur rootId=partId disabled=isPlayMode}}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="biens">
|
||||
<legend>{{localize "TENEBRIS.Label.biens"}}</legend>
|
||||
{{formInput systemFields.biens enriched=enrichedBiens value=system.biens documentUUID=item.uuid name="system.biens" collaborate="true" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="langues">
|
||||
<legend>{{localize "TENEBRIS.Label.langues"}}</legend>
|
||||
{{formInput systemFields.langues enriched=enrichedLangues value=system.langues documentUUID=item.uuid name="system.langues" collaborate="true" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="description">
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput
|
||||
systemFields.description
|
||||
enriched=enrichedDescription
|
||||
value=system.description
|
||||
name="system.description"
|
||||
toggled=true
|
||||
}}
|
||||
</fieldset>
|
||||
</section>
|
28
templates/path-talents.hbs
Normal file
28
templates/path-talents.hbs
Normal file
@ -0,0 +1,28 @@
|
||||
<section class="tab path-{{tab.id}} {{tab.cssClass}}" data-tab="{{tab.id}}" data-group="{{tab.group}}">
|
||||
{{!log "path-talents" this}}
|
||||
{{#each talents as |item|}}
|
||||
{{!log "path-talent" this}}
|
||||
<div class="talent" data-item-uuid="{{item.uuid}}">
|
||||
<div class="header">
|
||||
<div class="name">{{item.name}} {{#if item.system.canProgress}}<span data-tooltip="{{localize 'TENEBRIS.Label.progressionPossible'}}"> (P)</span>{{/if}}
|
||||
{{#if item.system.isLearned}}
|
||||
<span data-tooltip="{{localize 'TENEBRIS.Talent.FIELDS.appris.label'}}"> <i class="fa-solid fa-book"></i>({{item.system.niveau}})</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if @root.isEditMode}}
|
||||
<div class="controls">
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Edit'}}" data-action="edit" data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>
|
||||
<a data-tooltip="{{localize 'TENEBRIS.Delete'}}" data-action="delete" data-item-uuid="{{item.uuid}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if item.system.isLearned}}
|
||||
<div class="progression">
|
||||
<div>{{localize "TENEBRIS.Label.appris"}}</div>
|
||||
<div>{{localize "TENEBRIS.Label.niveau"}} {{item.system.niveau}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="description">{{{item.system.improvedDescription}}}</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</section>
|
61
templates/roll-dialog.hbs
Normal file
61
templates/roll-dialog.hbs
Normal file
@ -0,0 +1,61 @@
|
||||
{{log "roll-dialog" this}}
|
||||
<div class="tenebris-roll-dialog">
|
||||
{{#if isSave}}
|
||||
<fieldSet>
|
||||
<legend>{{localize "TENEBRIS.Label.sauvegarde"}}</legend>
|
||||
<div class="dialog-save">{{formula}}</div>
|
||||
</fieldSet>
|
||||
<fieldSet class="dialog-avantages">
|
||||
<legend>{{localize "TENEBRIS.Roll.avantagesDesavantages"}}</legend>
|
||||
<input
|
||||
type="range"
|
||||
name="avantages"
|
||||
min="1"
|
||||
max="5"
|
||||
value="{{rangeAdvantage}}"
|
||||
data-tooltip="Double désavantage - Désavantage - Normal - Avantage - Double avantage"
|
||||
data-tooltip-direction="UP"
|
||||
data-tooltip-class="tooltip-avantages"
|
||||
/>
|
||||
<input id="selectAvantages" name="selectAvantages" readonly value="{{rollAdvantage}}">
|
||||
</fieldSet>
|
||||
<div class="dialog-aide-gene">
|
||||
<fieldSet>
|
||||
<legend>{{localize "TENEBRIS.Roll.aide"}}</legend>
|
||||
<select name="aide">
|
||||
{{selectOptions choiceAide}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
<fieldSet>
|
||||
<legend>{{localize "TENEBRIS.Roll.gene"}}</legend>
|
||||
<select name="gene">
|
||||
{{selectOptions choiceGene}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
</div>
|
||||
<fieldSet class="dialog-modificateur">
|
||||
<legend>{{localize "TENEBRIS.Roll.adversite"}}</legend>
|
||||
<select name="modificateur" {{#if hasTarget}}data-tooltip="Cible : {{targetName}}" data-tooltip-direction="UP"{{/if}}>
|
||||
{{selectOptions choiceModificateur selected=malus}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
{{/if}}
|
||||
{{#if (or isDamage isAttack)}}
|
||||
<fieldSet>
|
||||
<legend>{{localize "TENEBRIS.Label.degats"}}</legend>
|
||||
<div class="dialog-damage">{{damageDice}} {{#if damageDiceLowered}}limités par les dégâts max à {{damageDiceFinal}} {{/if}}</div>
|
||||
</fieldSet>
|
||||
{{/if}}
|
||||
{{#if isResource}}
|
||||
<fieldSet>
|
||||
<legend>{{localize "TENEBRIS.Label.ressource"}}</legend>
|
||||
<div class="dialog-resource">{{formula}}</div>
|
||||
</fieldSet>
|
||||
{{/if}}
|
||||
<fieldSet>
|
||||
<legend>{{localize "TENEBRIS.Roll.visibilite"}}</legend>
|
||||
<select name="visibility">
|
||||
{{selectOptions rollModes selected=visibility}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
</div>
|
19
templates/spell.hbs
Normal file
19
templates/spell.hbs
Normal file
@ -0,0 +1,19 @@
|
||||
<section>
|
||||
<div class="header">
|
||||
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
|
||||
{{formField systemFields.preparation value=system.preparation}}
|
||||
{{formField systemFields.cible value=system.cible}}
|
||||
{{formField systemFields.portee value=system.portee localize=true}}
|
||||
{{formField systemFields.duree value=system.duree}}
|
||||
{{formField systemFields.consequenceA value=system.consequenceA}}
|
||||
{{formField systemFields.consequenceB value=system.consequenceB}}
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>
|
17
templates/talent.hbs
Normal file
17
templates/talent.hbs
Normal file
@ -0,0 +1,17 @@
|
||||
<section>
|
||||
<div class="header">
|
||||
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
{{formField systemFields.appris value=system.appris}}
|
||||
{{formField systemFields.progression value=system.progression}}
|
||||
{{#if canProgress}}
|
||||
{{formField systemFields.niveau value=system.niveau }}
|
||||
{{/if}}
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput systemFields.description enriched=enrichedDescription value=system.description name="system.description" toggled=true}}
|
||||
</fieldset>
|
||||
|
||||
</section>
|
19
templates/weapon.hbs
Normal file
19
templates/weapon.hbs
Normal file
@ -0,0 +1,19 @@
|
||||
<section>
|
||||
<div class="header">
|
||||
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
||||
{{formInput fields.name value=source.name}}
|
||||
</div>
|
||||
|
||||
{{formField systemFields.categorie value=system.categorie localize=true}}
|
||||
{{formField systemFields.degats value=system.degats}}
|
||||
<fieldset>
|
||||
<legend>{{localize "TENEBRIS.Label.description"}}</legend>
|
||||
{{formInput
|
||||
systemFields.description
|
||||
enriched=enrichedDescription
|
||||
value=system.description
|
||||
name="system.description"
|
||||
toggled=true
|
||||
}}
|
||||
</fieldset>
|
||||
</section>
|
Reference in New Issue
Block a user