feat: implémentation complète du système Célestopol 1922 pour FoundryVTT v13
- DataModels (character, npc, anomaly, aspect, attribute, equipment) - ApplicationV2 sheets (character 5 tabs, npc 3 tabs, 4 item sheets) - DialogV2 pour les jets de dés avec phase de lune - Templates Handlebars complets (fiches PJ/PNJ, items, jet, chat) - Styles LESS → CSS compilé (thème vert foncé / orange CopaseticNF) - i18n fr.json complet (clés CELESTOPOL.*) - Point d'entrée fvtt-celestopol.mjs avec hooks init/ready - Assets : polices CopaseticNF, images UI, icônes items - Mise à jour copilot-instructions.md avec l'architecture réelle Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
34
templates/npc-blessures.hbs
Normal file
34
templates/npc-blessures.hbs
Normal file
@@ -0,0 +1,34 @@
|
||||
<div class="tab blessures" data-group="sheet" data-tab="blessures">
|
||||
<section class="track-section">
|
||||
<div class="track-header">
|
||||
<span class="track-title">{{localize "CELESTOPOL.Track.blessures"}}</span>
|
||||
</div>
|
||||
<div class="track-boxes">
|
||||
{{#each (array "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8") as |key|}}
|
||||
<div class="track-box {{#if (lookup ../system.blessures key 'checked')}}checked{{/if}}">
|
||||
<input type="checkbox" name="system.blessures.{{key}}.checked"
|
||||
{{#if (lookup ../system.blessures key 'checked')}}checked{{/if}}
|
||||
{{#unless ../isEditable}}disabled{{/unless}}>
|
||||
<label class="box-label">{{lookup ../system.blessures key 'malus'}}</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
<div class="track-level">
|
||||
<label>{{localize "CELESTOPOL.Track.level"}}</label>
|
||||
{{#if isEditMode}}
|
||||
<input type="number" name="system.blessures.lvl" value="{{system.blessures.lvl}}" min="0" max="8">
|
||||
{{else}}
|
||||
<span>{{system.blessures.lvl}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{!-- Description --}}
|
||||
<div class="description-section">
|
||||
{{#if isEditMode}}
|
||||
{{editor system.description target="system.description" button=true editable=isEditable}}
|
||||
{{else}}
|
||||
<div class="enriched-html">{{{enrichedDescription}}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user