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:
26
templates/partials/item-scores.hbs
Normal file
26
templates/partials/item-scores.hbs
Normal file
@@ -0,0 +1,26 @@
|
||||
{{!-- Template partagé pour les scores bonus/malus d'un item par compétence --}}
|
||||
<div class="scores-section">
|
||||
<div class="scores-header">
|
||||
<span>{{localize "CELESTOPOL.Item.scores"}}</span>
|
||||
</div>
|
||||
<div class="scores-grid">
|
||||
{{#each skills as |statSkills statId|}}
|
||||
<div class="scores-stat-col">
|
||||
<div class="scores-stat-name">{{localize (concat "CELESTOPOL.Stat." statId)}}</div>
|
||||
{{#each statSkills as |skill skillId|}}
|
||||
<div class="score-row">
|
||||
<span class="score-skill-name">{{localize skill.label}}</span>
|
||||
{{#if ../isEditable}}
|
||||
<input type="number" name="system.scores.{{statId}}.{{skillId}}.bonus"
|
||||
value="{{lookup (lookup (lookup ../system.scores statId) skillId) 'bonus'}}"
|
||||
min="0" class="score-bonus" title="+bonus">
|
||||
<input type="number" name="system.scores.{{statId}}.{{skillId}}.malus"
|
||||
value="{{lookup (lookup (lookup ../system.scores statId) skillId) 'malus'}}"
|
||||
min="0" class="score-malus" title="-malus">
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user