tevans
7de21e290d
fix: split bullet tax credit update into standalone call (v1.4.4)
...
Foundry v14 rejects actor.update() silently when one field in the payload
has a schema conflict. The combined update (credits + finances nested paths)
was being dropped entirely, so credits never changed.
Fix: two separate actor.update() calls
1. Credit deduction: update("system.details.credits") alone — critical
2. Finances tracking: update(finances paths) — non-critical, caught silently
Added console.log so GMs can confirm credit deductions in browser console:
Zero Engine | Bullet Tax: Joe credits 500c -> 440c (-60c)
2026-06-02 22:40:17 +01:00
tevans
86df96132e
fix: bullet tax doubled + full caliber catalog + fix undefined/undefined (v1.4.3)
...
Bullet tax rules (per user spec):
- Tax is now 2x base round cost on every shot (ammo cost + levy)
- e.g. 7mm standard = 10c/round -> 20c charged per round fired
- Applied immediately on ATTACK press, not deferred to REST
- Weapon locking still only on push + bane (unchanged)
Ammo catalog expanded (was missing 9 calibers -> 0 tax for those weapons):
- .44 (Revolver): 8/24/45c standard/AP/HE
- .454 (Heavy Pistol): 10/28/50c
- .50 (Heavy Pistol): 12/35/60c
- 3mm (Machine Pistol): 3/9/20c
- 7mm (SLA Carbine/LMG): 10/28/55c
- 8mm (Sniper Rifle): 14/40/75c
- 12g (Shotgun): 18/45/80c
- 40mm (Grenade/Launcher): 80/180/140c
- Rail (Rail Gun): 50/120/200c
SLA_WEAPON_DEFAULT_CALIBER expanded to cover all weapon types
Chat display: removed undefined/undefined (Remaining X/Y) - weapons are
always assumed loaded; display now shows Rounds fired + tax cost only
Tax notification updated to show 2x calculation clearly
2026-06-02 22:32:11 +01:00
tevans
4e3554c28b
fix: readability — solid dark backgrounds on all chat cards (v1.4.2)
...
Root cause: all chat card containers used rgba() with 0.2-0.4 opacity,
which becomes nearly transparent on Foundry v14 parchment chat bg.
Light text (white, cyan, yellow, green) was invisible on the result.
CSS fixes (solid dark backgrounds replacing transparent rgba):
- .panic-result: rgba(139,0,0,0.2) -> #1c0808 + color: #e0e0e0
- .panic-success: rgba(0,128,0,0.2) -> #081c08 + green text toned to #55ee55
- .panic-effect: rgba(0,0,0,0.4) -> #111111 + color: #e0e0e0
- .critical-injury: rgba(220,20,60,0.2) -> #1c080d + color: #e0e0e0
- .crit-effects/.crit-healing/.crit-recovery: rgba(0,0,0,0.3) -> #111111
- .time-limit: rgba(255,170,0,0.2) -> #1a1200
New CSS classes added (were missing entirely):
- .instability-result with dark bg, border, and sub-element rules
- .instability-no-effect, .instability-effect-text, .instability-auto-note
- .panic-auto (auto-applied row)
- .drug-gm-alert, .weapon-reload-chat
JS inline style fixes:
- Rest card: rgba(0,60,30,0.3) -> #0a1a0e (solid)
- Ammo empty card: rgba(80,20,0,0.3) -> #1a0800 (solid)
- Instability effect text: color:#333 (dark on dark) -> CSS class #d8d8d8
- Instability auto-note: color:#ffcc44 inline -> CSS class
2026-06-02 22:05:05 +01:00
tevans
76e086ca6c
feat: Body Blocker armor + drug credit deduction on use (v1.4.1)
...
- Add Body Blocker armor (AR 1, Dice 1, 120c) with custom SVG icon
Concealable civilian vest, sits between Street Clothes and Downtown Jacket
- _activateDrug now automatically deducts drug cost from actor credits
Shows notification: drug name, cost charged, old and new credit total
Credits cannot go below 0
- Set costs on 7 drugs that were missing them (cost was 0):
Painkillers 30c, Stimulant 40c, Sedative 35c, Redline 110c,
Calm-Line 65c, Rush 85c, UV 200c
- Rebuild: sla-armors (18), sla-drugs (16)
2026-06-02 21:42:29 +01:00
tevans
304e47f507
feat: racial natural weapons + specialty icons (v1.4.0)
...
Weapons added (4 new, total 36):
- Shaktar Claws: melee, DMG 2, AP 1, ROF 2, Engaged
- Stormer Teeth: melee, DMG 3, AP 1, ROF 1, Engaged
- Stormer Claws: melee, DMG 3, AP 1, ROF 2, Engaged
- Vevaphon Claws: melee, DMG 2, AP 1, ROF 2, Engaged
Icons added:
- 4 new weapon SVG icons (weapon-shaktar-claws, stormer-teeth, stormer-claws, vevaphon-claws)
- 16 specialty SVG icons replacing broken Foundry defaults (icons/svg/ paths no longer exist in v14)
Fixes: Hard Hitter, Sniper, Fast Reflexes, True Grit, all others now have custom icons
Packs rebuilt: sla-weapons (36), sla-specialties (16)
2026-06-02 21:20:45 +01:00
tevans
e155a2dd1b
fix: correct DSN dice skins + UI tweaks (v1.3.9)
...
- DSN: register ze-stress-dice system separately so normal/stress d6 presets dont overwrite each other
- DSN: use term.options.appearance.system to force correct preset on every roll - bypasses user saved DSN system preference
- Remove v1.3.8 flag-patching ready hook (no longer needed)
- UI: dice icon on attribute header enlarged (13px to 20px) with glow
- UI: attr-btn smaller (24px to 16px), skill +/- smaller (20px to 14px)
- UI: clicking attribute name, skill name, or weapon name now triggers roll
2026-06-02 21:12:02 +01:00
tevans
6edce3ed77
fix: force zero-engine dice system for all users on load (v1.3.8)
2026-06-02 19:46:45 +00:00
tevans
bf927ed382
chore: bump version to 1.3.7
2026-06-02 20:30:02 +01:00
tevans
9343f61413
feat: replace SVG icons with real SLA artwork for all 135 items (v1.3.6)
2026-06-02 16:36:39 +01:00
tevans
90e0ad178a
feat: 7 compendium packs, 135 items total with custom icons (v1.3.5)
...
Weapons: 32 (added 16 new: GA50, FEN 209/401/701/981, Street Sweeper, Reaper LMG, MILA Launcher, Mutilator Sword, Chainaxe, Chainsaw, Riot Shield, Frag Grenade, Stun Grenade, Ebb Sword, Stormer Chuckleduster)
Armors: 17 (added 11: Street Clothes, Shiver Flak/Full, Crackshot, Shock, Stealth Suit, Ebb Deathsuit, PP10 HARD, Thresher Light/Heavy, DN Power)
Drugs: 16 (added 9: Shatter, Blaze UV, Drum, Honesty, Flip, Bozerker, Push, Bubbles, Slosh)
Equipment: 11 new items (medkit, stim patch, bandage, cutting charge, comms, drone, toolkit, torch, access card, duct tape)
Ammo: 13 types (10mm/9mm/5.56/7.62/12g/44/.454/40mm in STD/AP/slug/smoke variants)
New icons: 30+ custom SVGs for all new types
2026-06-02 16:17:44 +01:00
tevans
3c2437b369
feat: 16 SLA weapons with custom icons (v1.3.4)
2026-06-02 16:04:26 +01:00
tevans
92be561740
feat: custom icons for all items, weapons pack added (v1.3.3)
2026-06-02 15:55:42 +01:00
tevans
523b1e50c8
fix: rebuild packs with compacted .ldb files, bump to 1.3.2
2026-06-02 15:41:04 +01:00
tevans
89a4314ea7
fix: bump version to 1.3.1, remove LevelDB LOCK files from git
2026-06-02 15:34:25 +01:00
tevans
c8a2da7f17
feat: add LevelDB compendium packs (armors, drugs, ebb formulae, specialties)
2026-06-02 15:23:28 +01:00
tevans
3584706134
fix: add url field to system.json
2026-06-02 12:39:02 +01:00
tevans
19c2be6def
fix: add manifest and download URLs to system.json
2026-06-02 12:35:59 +01:00
tevans
2ebd5803fc
Initial commit — full system source + zero-engine-state.md reference
2026-06-01 23:19:46 +01:00