Commit Graph
6 Commits
Author SHA1 Message Date
tevansandClaude Sonnet 4.6 61b18ca3fc fix: race field type — string default in template, remove Array.isArray guards
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 22:46:20 +01:00
tevans 25250dc98a feat: Showing Off mechanic (v1.6.2)
Every roll dialog now has a gold SHOWING OFF button:
- Each click posts a big gold fanfare chat message + plays a WebAudio arpeggio
- Reduces the dice pool by 1 per click (floor: 1d6)
- Total dice display turns gold and shows the penalty
- Immediately increments actor system.details.showingOff tally
- At exactly 20 pts: public milestone broadcast with GM alert
- Finance tab: gold SHOWING OFF hero panel shows career total (editable)
- Hourly PC Status Report now includes Showing Off tally (yellow at >0, orange at 10+, red at 20+)
- template.json: showingOff: 0 added to character.details
- _playShowingOffFanfare(): ascending C-major arpeggio via WebAudio API
2026-06-04 00:02:51 +01:00
tevans 27bc43cea6 fix+feat: button overrun, natural weapon rolls, Wraith Teeth & Claw (v1.6.1)
CSS: morph-shift-btn now flex: 0 0 auto; max-width: 110px
     specialty-name gets flex: 1; min-width: 0 so it takes remaining space
     flex-wrap on specialty-name-row prevents overflow

Natural weapons:
- template.json: isNaturalWeapon/naturalWeaponDamage/AP/ROF fields on specialty
- Morphic Strike: ROF 2, isNaturalWeapon: true
- Wraith Teeth & Claw added to wraithraider racial abilities (DMG 2, AP 1, ROF 2)
- _ensureRacialAbilities patches existing items with missing natural weapon fields
- _onNaturalWeaponRoll: STR + Melee roll through full weapon chat card pipeline
- STRIKE button appears on any specialty with isNaturalWeapon: true
- All condition/drug/armor/racial mods applied to natural weapon rolls
2026-06-03 23:50:05 +01:00
tevans 2033f50a57 feat: LAD Account, condition fixes, hourly PC status report
- LAD Account checkbox (bio tab) adds locked 50c/week to Finances
- Active conditions now show dice penalty text inline on the sheet
- _applyStatusCondition() helper: toggleStatusEffect with ActiveEffect fallback
  so panic/crit/instability conditions always land reliably
- Condition-clear button also falls back to direct ActiveEffect delete
- _broadcastPCConditions(): whispered GM report of all PC HP/Resolve/Stress/conditions
- STATUS button (GM-only) on vitals row triggers report on demand
- Hourly setInterval fires the report automatically while Foundry is running
- Version bump 1.5.9
2026-06-03 22:45:00 +01:00
tevans 02d7177122 feat: Player Character flag + GM Finance Ledger
- Add isPlayerCharacter field to template.json (character.details)
- Bio tab: checkbox 'Player Character' bound to system.details.isPlayerCharacter
- SLAGMFinanceTool Application: GM-only window listing all PC-flagged
  actors with current balance, weekly income, weekly expenses, net
  weekly income, and a Calculate button per character
- Calculate button: applies netWeekly to credits (credits += net)
- Calculate All button: applies week to every listed PC at once
- Actor Directory: GM-only 'Finance Ledger' button opens the tool
- CSS: styled PC flag row and full GM Finance Ledger table
- Version bump: 1.4.5 → 1.4.6
2026-06-02 22:09:34 +00:00
tevans 2ebd5803fc Initial commit — full system source + zero-engine-state.md reference 2026-06-01 23:19:46 +01:00