Add PF2e persistent damage condition tags
All checks were successful
CI / check (push) Successful in 2m39s
CI / build-image (push) Successful in 19s

Persistent damage displayed as compact tags with damage type icon and
formula (e.g., Flame + "2d6"). Supports fire, bleed, acid, cold,
electricity, poison, and mental types. One instance per type, added via
sub-picker in the condition picker. PF2e only, persists across reload.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-04-11 12:09:31 +02:00
parent 09a801487d
commit 4b1c1deda2
20 changed files with 1257 additions and 111 deletions

View File

@@ -13,6 +13,8 @@ import {
EarOff,
Eye,
EyeOff,
Flame,
FlaskConical,
Footprints,
Gem,
Ghost,
@@ -28,6 +30,7 @@ import {
Siren,
Skull,
Snail,
Snowflake,
Sparkles,
Sun,
TrendingDown,
@@ -49,6 +52,8 @@ export const CONDITION_ICON_MAP: Record<string, LucideIcon> = {
EarOff,
Eye,
EyeOff,
Flame,
FlaskConical,
Footprints,
Gem,
Ghost,
@@ -64,6 +69,7 @@ export const CONDITION_ICON_MAP: Record<string, LucideIcon> = {
Siren,
Skull,
Snail,
Snowflake,
Sparkles,
Sun,
TrendingDown,
@@ -81,6 +87,7 @@ export const CONDITION_COLOR_CLASSES: Record<string, string> = {
yellow: "text-yellow-400",
slate: "text-slate-400",
green: "text-green-400",
lime: "text-lime-400",
indigo: "text-indigo-400",
sky: "text-sky-400",
red: "text-red-400",