Import initial

This commit is contained in:
2026-05-02 09:16:24 +02:00
parent e4b91948d2
commit 839b2b606e
76 changed files with 10025 additions and 0 deletions
+144
View File
@@ -0,0 +1,144 @@
<section class="{{cssClass}} les-oublies-sheet creature-sheet" autocomplete="off">
<header class="sheet-header hero-banner">
<img class="profile-img" data-edit="img" data-action="editImage" src="{{actor.img}}" title="{{actor.name}}" />
<div class="header-fields hero-copy">
<p class="sheet-kicker">Bestiaire de la Terra</p>
<h1 class="sheet-title"><input name="name" type="text" value="{{actor.name}}" placeholder="Nom" {{#if isPlayMode}}disabled{{/if}} /></h1>
<p class="sheet-subtitle">Créatures du Petit Peuple, du Cauchemar et des frontières</p>
<div class="sheet-actions">
<button type="button" data-action="openRoll">{{localize "LESOUBLIES.rolls.test"}}</button>
<button type="button" data-action="openConfrontation">{{localize "LESOUBLIES.rolls.confrontation"}}</button>
<button type="button" data-action="openInitiative">{{localize "LESOUBLIES.rolls.initiative"}}</button>
<button type="button" data-action="openThreadHarvest">Récolte de fils</button>
<button class="mode-button" type="button" data-action="toggleSheet">{{#if isEditMode}}{{localize "LESOUBLIES.ui.playMode"}}{{else}}{{localize "LESOUBLIES.ui.editMode"}}{{/if}}</button>
</div>
</div>
</header>
<div class="sheet-grid sheet-grid-2">
<section class="sheet-card summary-card">
<h2>{{localize "LESOUBLIES.ui.derivedOverview"}}</h2>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.categorie"}}</label><input name="system.biodata.categorie" type="text" value="{{system.biodata.categorie}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.taille"}}</label><input name="system.size.value" type="number" value="{{system.size.value}}" {{#if isPlayMode}}disabled{{/if}} /><span>{{derived.sizeLabel}}</span></div>
<div class="field-row"><label>{{localize "LESOUBLIES.ui.vie"}}</label><input name="system.hp.value" type="number" value="{{system.hp.value}}" {{#if isPlayMode}}disabled{{/if}} /><span>/ {{derived.hpMax}}</span></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.hpAffichage"}}</label><input name="system.hp.display" type="text" value="{{system.hp.display}}" {{#if isPlayMode}}disabled{{/if}} /><span>{{derived.hpDisplay}}</span></div>
<div class="field-row"><label>Protection</label><input name="system.protection" type="number" value="{{system.protection}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.ui.songes"}}</label><input name="system.songes.value" type="number" value="{{system.songes.value}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.pointsSonges"}}</label><input name="system.songes.points" type="number" value="{{system.songes.points}}" {{#if isPlayMode}}disabled{{/if}} /><span>/ {{system.songes.max}}</span></div>
<div class="field-row"><label>{{localize "LESOUBLIES.ui.cauchemar"}}</label><input name="system.cauchemar.value" type="number" value="{{system.cauchemar.value}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.pointsCauchemar"}}</label><input name="system.cauchemar.points" type="number" value="{{system.cauchemar.points}}" {{#if isPlayMode}}disabled{{/if}} /><span>/ {{system.cauchemar.max}}</span></div>
</section>
<section class="sheet-card profiles-card">
<h2>{{localize "LESOUBLIES.labels.profilsOptionnels"}}</h2>
<div class="profile-grid">
{{#each system.profils as |value key|}}
<div class="profile-cell">
<button type="button" data-action="rollProfile" data-profile-key="{{key}}">{{profileLabel key}}</button>
<input name="system.profils.{{key}}" type="number" value="{{value}}" {{#if @root.isPlayMode}}disabled{{/if}} />
</div>
{{/each}}
</div>
</section>
</div>
<section class="sheet-card ledger-card">
<div class="section-title-row">
<h2>{{localize "LESOUBLIES.ui.competences"}}</h2>
<button type="button" data-action="createItem" data-type="competence">+ {{localize "TYPES.Item.competence"}}</button>
</div>
{{#each skillGroups as |group|}}
{{#if (count group.items)}}
<div class="group-block">
<h3>{{group.label}}</h3>
<div class="item-list">
{{#each group.items as |entry|}}
<article class="item-card">
<div><strong>{{entry.item.name}}</strong><div>{{localize "LESOUBLIES.labels.valeurFinale"}} {{entry.finalValue}}</div></div>
<div class="item-controls"><button type="button" data-action="rollSkill" data-item-id="{{entry.item.id}}">{{localize "LESOUBLIES.ui.roll"}}</button><button type="button" data-action="editItem" data-item-id="{{entry.item.id}}">Edit</button><button type="button" data-action="deleteItem" data-item-id="{{entry.item.id}}">Delete</button></div>
</article>
{{/each}}
</div>
</div>
{{/if}}
{{/each}}
</section>
<div class="sheet-grid sheet-grid-2">
<section class="sheet-card ledger-card">
<h2>{{localize "LESOUBLIES.labels.degats"}}</h2>
{{editor system.statblock.damage target="system.statblock.damage" button=true editable=isEditMode}}
<h2>{{localize "LESOUBLIES.labels.reglesSpeciales"}}</h2>
{{editor system.statblock.special target="system.statblock.special" button=true editable=isEditMode}}
</section>
<section class="sheet-card ledger-card">
<h2>{{localize "LESOUBLIES.labels.sortilegesSonges"}}</h2>
{{editor system.statblock.spellSonges target="system.statblock.spellSonges" button=true editable=isEditMode}}
<h2>{{localize "LESOUBLIES.labels.sortilegesCauchemar"}}</h2>
{{editor system.statblock.spellCauchemar target="system.statblock.spellCauchemar" button=true editable=isEditMode}}
</section>
</div>
<section class="sheet-card ledger-card">
<div class="section-title-row">
<h2>{{localize "LESOUBLIES.ui.combat"}}</h2>
<div class="embed-buttons">
<button type="button" data-action="openCombatPreset" data-preset="encourager">Encourager</button>
<button type="button" data-action="openCombatPreset" data-preset="intimider">Intimider</button>
<button type="button" data-action="openCombatPreset" data-preset="evaluer">Évaluer</button>
<button type="button" data-action="openCombatPreset" data-preset="maitriser">Maîtriser</button>
<button type="button" data-action="openCombatPreset" data-preset="seDeplacer">Se déplacer</button>
</div>
</div>
</section>
<section class="sheet-card ledger-card">
<div class="section-title-row">
<h2>{{localize "LESOUBLIES.ui.equipement"}}</h2>
<div class="embed-buttons">
<button type="button" data-action="createItem" data-type="arme">+ {{localize "TYPES.Item.arme"}}</button>
<button type="button" data-action="createItem" data-type="armure">+ {{localize "TYPES.Item.armure"}}</button>
<button type="button" data-action="createItem" data-type="equipement">+ {{localize "TYPES.Item.equipement"}}</button>
<button type="button" data-action="createItem" data-type="sortilege">+ {{localize "TYPES.Item.sortilege"}}</button>
</div>
</div>
<div class="item-list">
{{#each weapons as |item|}}
<article class="item-card">
<div><strong>{{item.name}}</strong><div>{{item.system.damage}}</div></div>
<div class="item-controls"><button type="button" data-action="useWeapon" data-item-id="{{item.id}}">Attaque</button><button type="button" data-action="resolveWeaponDamage" data-item-id="{{item.id}}">Dégâts</button><button type="button" data-action="editItem" data-item-id="{{item.id}}">Edit</button><button type="button" data-action="deleteItem" data-item-id="{{item.id}}">Delete</button></div>
</article>
{{/each}}
{{#each armors as |item|}}
<article class="item-card">
<div><strong>{{item.name}}</strong><div>Prot {{item.system.protection}}</div></div>
<div class="item-controls"><button type="button" data-action="editItem" data-item-id="{{item.id}}">Edit</button><button type="button" data-action="deleteItem" data-item-id="{{item.id}}">Delete</button></div>
</article>
{{/each}}
{{#each equipment as |item|}}
<article class="item-card">
<div><strong>{{item.name}}</strong><div>{{localize "TYPES.Item.equipement"}} - {{item.system.category}}</div></div>
<div class="item-controls"><button type="button" data-action="editItem" data-item-id="{{item.id}}">Edit</button><button type="button" data-action="deleteItem" data-item-id="{{item.id}}">Delete</button></div>
</article>
{{/each}}
{{#each spells as |item|}}
<article class="item-card">
<div><strong>{{item.name}}</strong><div>{{item.system.tradition}} / {{item.system.polarity}}</div></div>
<div class="item-controls"><button type="button" data-action="useSpell" data-item-id="{{item.id}}">Activer</button><button type="button" data-action="editItem" data-item-id="{{item.id}}">Edit</button><button type="button" data-action="deleteItem" data-item-id="{{item.id}}">Delete</button></div>
</article>
{{/each}}
</div>
</section>
<section class="sheet-card notes-card">
<h2>{{localize "LESOUBLIES.labels.description"}}</h2>
{{editor system.biodata.description target="system.biodata.description" button=true editable=isEditMode}}
<h2>Habitat</h2>
{{editor system.biodata.habitat target="system.biodata.habitat" button=true editable=isEditMode}}
<h2>{{localize "LESOUBLIES.labels.notes"}}</h2>
{{editor system.biodata.notes target="system.biodata.notes" button=true editable=isEditMode}}
<h2>{{localize "LESOUBLIES.labels.gmnotes"}}</h2>
{{editor system.biodata.gmnotes target="system.biodata.gmnotes" button=true editable=isEditMode owner=isGM}}
</section>
</section>