Commit Graph
6 Commits
Author SHA1 Message Date
tevansandClaude Fable 5 7dcbd96b13 Fix pause overlay showing GAME PAUSED while unpaused — v2.0.5
Root cause of the toggle cycle bug: the theme set display:flex on
#pause.dg2-pause unconditionally, out-specificity-ing core's hidden
(unpaused) state. After unpausing, the pause element stayed visible and
showed Foundry's default GAME PAUSED markup (the overlay injector
correctly skips unpaused renders). Scope the flex layout to
#pause.dg2-pause.paused and explicitly hide :not(.paused).

Verified three full pause/unpause cycles: paused = radar scope visible,
unpaused = element hidden. (Earlier tests misread visibility via
offsetParent, which is always null for position:fixed elements.)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 22:39:52 +01:00
tevansandClaude Fable 5 ff13de2ca5 Radar-scope pause screen + Providence/Calamity critical events — v2.0.2
Pause: replace the stock spinner with an animated DG2 radar scope (centre-
swept beam, phosphor trail, range rings, glinting blips) captioned MISSION
PAUSED / ALL STATIONS HOLD.

Home rule (criticalEvents automation setting, default on): when an Agent
rolls a natural 01 on a percentile test, roll 1d6 on the PROVIDENCE table
(1 = recover 1D4 SAN ... 6 = the whole cell gains +20%/1 WP); a natural 00
rolls on the CALAMITY table (1 = equipment failure ... 6 = everyone in the
scene loses SAN as something notices the cell). Events post as dramatic
gold/red dossier chat cards with the d6 attached (themed 3D dice); the
Handler applies effects. Verified both paths end-to-end in isolated Foundry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 22:02:20 +01:00
tevansandClaude Fable 5 d5e62e08a7 Dossier chat cards + 60-item Field Equipment compendium
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>
2026-07-15 21:08:39 +01:00
tevansandClaude Fable 5 2458ae808f Add Tactical sheet theme (new default): modern dark redesign
- New characterSheetStyle option 'tactical' (default), css/dg2-tactical.css.
- Dark federal-dossier design: charcoal surfaces, olive accent, Public
  Sans throughout, uppercase letterspaced name plate and section headers.
- Color-coded HP (olive) / WP (steel) / SAN (red) resource cards.
- Modern underline tab navigation; skill rows as hoverable panels with
  dimmed untrained skills and olive value badges; restyled item lists,
  inputs, and buttons.
- Item sheets (AppV1) carry the theme class and get matching dark styling.
- Fix: CSS selectors still targeted .deltagreen after the system-id
  rename, leaving most stock sheet styling dead - renamed to .deltagreen2.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 20:33:24 +01:00
tevansandClaude Fable 5 69e10765f2 Add GM automation: templated roll cards, apply buttons, ammo tracking
- Percentile roll cards: outcome banners (crit/success/failure) with icons
  and margin-of-success text instead of color-only inline styles.
- Damage and lethality cards: Apply Damage / Apply Lethality buttons that
  hit targeted or selected tokens, auto-subtracting equipped armor
  protection reduced by the weapon's armor-piercing value.
- Sanity damage cards: apply buttons for success/failure loss with GM
  whispers for temporary insanity (5+), breaking point crossings, and 0 SAN.
- Ammo: weapon ammo is now numeric with a magazine capacity; attack rolls
  expend a round (ammoTracking setting, default on), gear tab shows an
  ammo column with a reload control, compendium weapons carry capacities.
- CSS: drop live Google Fonts imports (offline reliability); DG2 styles
  with dark-theme support.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 17:36:30 +01:00
tevansandClaude Fable 5 7c29335b0d Baseline: Delta Green official system v1.7.0 (MIT, TheLastScrub)
Pristine copy of the installed deltagreen 1.7.0 release build.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 17:22:41 +01:00