156672d853
- New: modules/mournblade-cyd2-effects.js with utility methods for creating, applying, and managing effects - New: templates/partial-active-effects.hbs for displaying actor effects - New: templates/partial-item-effects.hbs for displaying item effects - Update: modules/mournblade-cyd2-config.js with effect configuration (types, attribute keys, categories) - Update: templates/actor-sheet.hbs and creature-sheet.hbs with Effects tab - Update: templates/partial-item-nav.hbs with conditional Effects tab - Update: templates/item-talent-sheet.hbs with Effects tab content - Update: base-actor-sheet.mjs with effect action handlers (create, edit, delete, toggle) - Update: base-item-sheet.mjs with effect action handlers and context - Update: modules/mournblade-cyd2-main.js to import and expose MournbladeCYD2Effects - Update: lang/fr.json with effect-related translations Features: - Support for creating permanent and temporary effects - Support for attribute modifications (ADR, PUI, CLA, PRE, TRE, etc.) - Support for health, soul, combat, and adversity modifications - Support for status effects - Support for runes (pronounced and traced) effects - Toggle to enable/disable effects - Duration tracking (rounds, turns, seconds, combat, scene) - Display of all active modifications summary Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
65 lines
2.6 KiB
Handlebars
65 lines
2.6 KiB
Handlebars
<section>
|
|
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-item-header.hbs}}
|
|
|
|
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-item-nav.hbs}}
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-item-description.hbs}}
|
|
|
|
<div class="tab details" data-group="primary" data-tab="details">
|
|
|
|
<ul class="item-list alternate-list">
|
|
|
|
<li class="flexrow item">
|
|
<label class="generic-label item-field-label-medium">Type </label>
|
|
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
|
name="system.talenttype" value="{{system.talenttype}}" data-dtype="String">
|
|
{{selectOptions config.optionsTypeTalent selected=system.talenttype valueAttr="key" nameAttr="key" labelAttr="label"}}
|
|
</select>
|
|
</li>
|
|
|
|
<li class="flexrow item">
|
|
<label class="generic-label item-field-label-medium">Utilisation </label>
|
|
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
|
name="system.utilisation" value="{{system.utilisation}}" data-dtype="String">
|
|
{{selectOptions config.optionsUseTalent selected=system.utilisation valueAttr="key" nameAttr="key" labelAttr="label"}}
|
|
</select>
|
|
</li>
|
|
|
|
<li class="flexrow item">
|
|
<label class="generic-label item-field-label-long">Pré-requis </label>
|
|
</li>
|
|
<li class="flexrow item">
|
|
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
|
name="system.prerequis" data-dtype="String">{{system.prerequis}}</textarea>
|
|
</li>
|
|
|
|
<li class="flexrow item">
|
|
<label class="generic-label item-field-label-long">Résumé (si bonus) </label>
|
|
</li>
|
|
<li class="flexrow item">
|
|
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
|
name="system.resumebonus" data-dtype="String">{{system.resumebonus}}</textarea>
|
|
</li>
|
|
|
|
<li class="flexrow item">
|
|
<label class="generic-label item-field-label-medium">Déja utilisé ? </label>
|
|
<input class="predilection-maitrise" type="checkbox" name="system.used" {{checked system.used}} />
|
|
</li>
|
|
|
|
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-automation.hbs}}
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
{{!-- Effects Tab --}}
|
|
{{#if item.effects.length}}
|
|
<div class="tab effects" data-group="primary" data-tab="effects">
|
|
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-item-effects.hbs}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
</section>
|
|
</section> |