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:
56
templates/equipment.hbs
Normal file
56
templates/equipment.hbs
Normal file
@@ -0,0 +1,56 @@
|
||||
<div class="item-sheet equipment">
|
||||
<header class="item-header">
|
||||
<div class="item-portrait" data-action="editImage" data-edit="img">
|
||||
<img src="{{item.img}}" alt="{{item.name}}">
|
||||
</div>
|
||||
<div class="item-header-fields">
|
||||
<input type="text" name="name" value="{{item.name}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
<div class="item-meta">
|
||||
<select name="system.subtype" {{#unless isEditable}}disabled{{/unless}}>
|
||||
{{selectOptions systemFields.subtype.choices selected=system.subtype localize=true}}
|
||||
</select>
|
||||
<div class="item-qty">
|
||||
<label>{{localize "CELESTOPOL.Item.quantity"}}</label>
|
||||
<input type="number" name="system.quantity" value="{{system.quantity}}" min="0"
|
||||
{{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="form-grid equipment-stats">
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.damage"}}</label>
|
||||
<input type="text" name="system.damage" value="{{system.damage}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.range"}}</label>
|
||||
<input type="text" name="system.range" value="{{system.range}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.protection"}}</label>
|
||||
<input type="text" name="system.protection" value="{{system.protection}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.speed"}}</label>
|
||||
<input type="text" name="system.speed" value="{{system.speed}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.crew"}}</label>
|
||||
<input type="text" name="system.crew" value="{{system.crew}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.weight"}}</label>
|
||||
<input type="number" name="system.weight" value="{{system.weight}}" min="0"
|
||||
{{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group description-group">
|
||||
{{editor system.description target="system.description" button=true editable=isEditable}}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>{{localize "CELESTOPOL.Item.reference"}}</label>
|
||||
<input type="text" name="system.reference" value="{{system.reference}}" {{#unless isEditable}}disabled{{/unless}}>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user