Chat rework: - Roll cards are now dark 'Eyes Only' dossier cards with a classification strip (FIELD OPERATION / THE UNNATURAL / LETHAL FORCE), roll name, and a target chip. Message frame is colour-accented per roll variant via a deltagreen2.variant flag set in DGRoll.toMessage and styled on renderChatMessageHTML. Flavor lines dropped in favour of the card header. Field Equipment compendium: - New packs/field-equipment with 60 modern DG gear items across surveillance, counter-surveillance, forensics, hazmat/protective, breaching/restraint, non-lethal, and support. Each uses a bundled white-on-black icon, carries flavourful descriptions with mechanical bonus notes, and an Agent's Handbook expense tier. Registered in the Delta Green pack folder. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
54 lines
1.9 KiB
Handlebars
54 lines
1.9 KiB
Handlebars
<div class="dg2-card">
|
|
<div class="dg2-card-strip">
|
|
<span class="dg2-card-type">{{typeLabel}}</span>
|
|
<span class="dg2-card-org">{{localize 'DG2.Chat.EyesOnly'}}</span>
|
|
</div>
|
|
<div class="dg2-card-title">
|
|
<span class="dg2-card-name">{{rollName}}</span>
|
|
{{#if targetText}}
|
|
<span class="dg2-chip" {{#if chipDetail}}data-tooltip="{{chipDetail}}"{{/if}}>{{targetText}}</span>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="dice-roll" data-action="expandRoll">
|
|
<div class="dice-result">
|
|
<div class="dg2-outcome {{outcomeClass}}">
|
|
<i class="fas {{outcomeIcon}}" aria-hidden="true"></i>
|
|
<span class="dg2-outcome-text">{{resultString}}</span>
|
|
{{#if marginText}}<span class="dg2-margin">{{marginText}}</span>{{/if}}
|
|
</div>
|
|
<div class="dice-tooltip">
|
|
<div class="wrapper">
|
|
<section class="tooltip-part">
|
|
<div class="dice">
|
|
<header class="part-header flexrow">
|
|
<span class="part-formula">{{formula}}</span>
|
|
<span class="part-total">{{total}}</span>
|
|
</header>
|
|
<ol class="dice-rolls">
|
|
<li class="roll die {{formula}}">{{total}}</li>
|
|
</ol>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<h4 class="dice-total">{{total}}</h4>
|
|
{{#if ammoLine}}
|
|
<div class="dg2-ammo-line {{#if outOfAmmo}}dg2-out-of-ammo{{/if}}">
|
|
<i class="fas fa-crosshairs" aria-hidden="true"></i> {{ammoLine}}
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if failureMark}}
|
|
<div class="rollback-section">
|
|
<label>{{localize 'DG.Messages.Skillsmark.Marked'}}</label>
|
|
<i class="fa fa-book" aria-hidden="true" data-tooltip="<p>{{localize 'DG.Messages.Skillsmark.Tooltip'}}</p>"></i>
|
|
<button type="button" data-action="rollback-skill-failure-state">
|
|
<i class="fa fa-undo" aria-hidden="true"></i>
|
|
</button>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|