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:
40
templates/roll-dialog.hbs
Normal file
40
templates/roll-dialog.hbs
Normal file
@@ -0,0 +1,40 @@
|
||||
<form class="roll-dialog celestopol">
|
||||
<div class="roll-title">
|
||||
<span class="stat-label">{{statLabel}}</span>
|
||||
<span class="separator">›</span>
|
||||
<span class="skill-label">{{skillLabel}}</span>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="moonPhase">{{localize "CELESTOPOL.Roll.moonPhase"}}</label>
|
||||
<select id="moonPhase" name="moonPhase">
|
||||
{{#each moonPhases as |phase key|}}
|
||||
<option value="{{key}}" {{#if (eq key ../currentMoonPhase)}}selected{{/if}}>
|
||||
{{localize phase.label}} {{#if phase.bonus}}(+{{phase.bonus}}){{else}}(+0){{/if}}
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="difficulty">{{localize "CELESTOPOL.Roll.difficulty"}}</label>
|
||||
<select id="difficulty" name="difficulty">
|
||||
{{#each difficulties as |diff key|}}
|
||||
<option value="{{diff.threshold}}" {{#if (eq diff.threshold ../currentDifficulty)}}selected{{/if}}>
|
||||
{{localize diff.label}} ({{diff.threshold}})
|
||||
</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="modifier">{{localize "CELESTOPOL.Roll.modifier"}}</label>
|
||||
<input type="number" id="modifier" name="modifier" value="0">
|
||||
</div>
|
||||
|
||||
<div class="dice-preview">
|
||||
<span>{{localize "CELESTOPOL.Roll.nbDice"}}</span>
|
||||
<span class="nb-dice">{{nbDice}}</span>
|
||||
<span>d6</span>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user