Click the Health or Resolve label to roll a save using the current
value as the dice pool (plain d6, no stress, no dialog). Zero successes
adds +1 Stress. Chat card uses standard yze-die styling.
The non-Mk2 sheet had two inputs named system.details.credits (header
+ finances tab). Foundry concatenates duplicate names as "500,500"
which is not a valid number, causing the field to show blank/grey
after saving.
Fix: finances tab input made readonly with no name attribute — header
is now the sole authoritative credits field.
Also: on-boot sanitization now covers credits, fixing any actors
already storing the corrupted comma-string value.
- 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
Three bugs:
1. weeklyExpenses total omitted bulletTax from the sum (both getData paths)
Fix: add (_exp.bulletTax||0) to the calculation
2. _applyBulletTax read undefined credits as 0 (actors created before the
credits field existed have null/undefined, not zero)
Fix: fallback to 500 (template default) only when value is null/undefined
3. Finances tab CURRENT BALANCE showed just C because input had no placeholder
Fix: add placeholder=500 min=0 to the credits input in character-sheet.hbs