Add active conditions summary below stats + GM 30-min chat report

- templates/actor/actor-sheet.html: red conditions bar shown below Strength/Speed/Intellect/Combat stats whenever any condition items are active; displays condition name and severity
- module/mosh.js: GM-only 30-minute interval timer that whispers a formatted conditions report to all GMs listing every actor with active conditions and their severities
- css/mosh.css: styles for .sla-active-conditions-summary, .sla-conditions-label, .sla-active-condition (red text, dark red border/background)
This commit is contained in:
2026-04-15 16:24:41 +01:00
parent 0d77741a41
commit b1cfb636df
3 changed files with 94 additions and 0 deletions
+34
View File
@@ -5178,3 +5178,37 @@ p {
background: #1a120c;
border: 1px solid #8a5a31;
}
/* ==========================================
ACTIVE CONDITIONS SUMMARY (below stats)
========================================== */
.sla-active-conditions-summary {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 5px;
padding: 4px 8px;
margin-top: 4px;
background: rgba(180, 0, 0, 0.12);
border: 1px solid #8b0000;
border-radius: 4px;
}
.sla-conditions-label {
font-size: 0.72em;
font-weight: 700;
color: #ff4444;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.sla-active-condition {
font-size: 0.78em;
font-weight: 700;
color: #ff4444;
text-shadow: 0 0 4px rgba(255, 68, 68, 0.45);
padding: 1px 6px;
border: 1px solid #8b0000;
border-radius: 3px;
background: rgba(139, 0, 0, 0.2);
}