diff --git a/generate_data.py b/generate_data.py
index de21bde7..fdbbfd1a 100644
--- a/generate_data.py
+++ b/generate_data.py
@@ -6,7 +6,7 @@ from main import TelemetrySnapshot
def main() -> None:
wait = 10
- online_time = -10
+ online_time = 24 * 3600 # start at 1 day
ew = 0
ns = 0
while True:
diff --git a/static/script.js b/static/script.js
index 0b6b9aff..bfe94b72 100644
--- a/static/script.js
+++ b/static/script.js
@@ -209,6 +209,8 @@ function render(players) {
${p.kills_per_hour}
${p.rares_found}
${p.vt_state}
+ ${p.onlinetime}
+ ${p.deaths}
`;
li.addEventListener('click', () => selectPlayer(p, x, y));
diff --git a/static/style.css b/static/style.css
index 031a41be..b6a7286d 100644
--- a/static/style.css
+++ b/static/style.css
@@ -156,11 +156,12 @@ body {
#playerList li {
display: grid;
grid-template-columns: 1fr auto;
- grid-template-rows: auto auto auto;
+ grid-template-rows: auto auto auto auto;
grid-template-areas:
"name loc"
"kills kph"
- "rares meta";
+ "rares meta"
+ "onlinetime deaths";
gap: 4px 8px;
margin: 6px 0;
padding: 8px 10px;
@@ -178,6 +179,8 @@ body {
.stat.kph { grid-area: kph; }
.stat.rares { grid-area: rares; }
.stat.meta { grid-area: meta; }
+.stat.onlinetime { grid-area: onlinetime; }
+.stat.deaths { grid-area: deaths; }
/* pill styling */
#playerList li .stat {
@@ -198,6 +201,8 @@ body {
background: var(--accent);
color: #111;
}
+.stat.onlinetime::before { content: "🕑 "}
+.stat.deaths::before { content: "💀 "}
/* hover & selected states */
#playerList li:hover { background: var(--card-hov); }