more info on train moves in history. train info added to tooltip on timetable and division map. support for multiple trains in area switching. more info on train7/8 wrt location of coach on initial train build.

This commit is contained in:
Jesse
2026-08-16 21:45:19 -04:00
parent 98f93e6691
commit 08339effba
14 changed files with 1029 additions and 40 deletions
+13
View File
@@ -127,6 +127,19 @@ button.cardact.discard{color:#d6b48a}
.scheduled{display:block;font-size:11.5px;margin:0 0 7px;padding:3px 9px;border-radius:5px;
background:rgba(40,140,60,.22);border:1px solid #2f6b47;color:#bfe8cd;font-weight:600}
.makeup-note{font-size:11px;margin:0 0 5px}
/* WHICH TRAIN AM I SWITCHING. A row of crews rather than a stacked list — they are alternatives,
and the chosen one is the crew whose squares the board is drawing, so it wears the same violet
"you are here" the rest of the page uses. */
.crewpick{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.crewpick h3{flex:0 0 100%;margin:0 0 2px}
button.act.crew{width:auto;display:inline-block;margin:0}
button.act.crew.on{border-color:var(--now);background:rgba(185,140,240,.18);color:#e9dcff}
/* THE ORDER TO ADD THE CARS IN. Only ever drawn for a train whose make-up order can lock it (7/8
Local), so it is worth a coloured rule down the side: a player who sees this once needs to read
it, and will not see it again on the next train. `warn` is the train already made up badly. */
.makeup-advice{font-size:11px;line-height:1.45;margin:0 0 6px;padding:5px 8px;border-radius:4px;
border-left:3px solid #4d6fa8;background:rgba(60,100,170,.13)}
.makeup-advice.warn{border-left-color:#e0a060;background:rgba(200,150,60,.15)}
/* Moves left, beside the moves. Amber like the actions, because it is a budget being spent by the
buttons underneath it; struck through in red once it is gone. */
.moves{display:inline-block;font-size:11px;margin:0 0 7px;padding:1px 8px;border-radius:10px;