From 0933e238281287b85649fbb929c71f8a97841a9a Mon Sep 17 00:00:00 2001 From: David Wheatley Date: Sun, 16 Jun 2024 17:05:39 +0100 Subject: [PATCH] fix: short platform fixes See #226 --- src/data/liveTrains/shortPlatforms.ts | 44 +++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/src/data/liveTrains/shortPlatforms.ts b/src/data/liveTrains/shortPlatforms.ts index 60fe4555e..70c2d28e8 100644 --- a/src/data/liveTrains/shortPlatforms.ts +++ b/src/data/liveTrains/shortPlatforms.ts @@ -429,6 +429,7 @@ const data: Record< DMS: { '*': { SN: 'front.8', + TL: 'front.8', }, }, DUR: { @@ -903,13 +904,16 @@ const data: Record< }, OXT: { '1': { - SN: southernTurboElectro('front.10', 'front.11'), + SN: southernTurboElectro('front.10', 'front.12'), + TL: 'front.11', }, '2': { - SN: southernTurboElectro('front.10', 'front.11'), + SN: southernTurboElectro('front.10', 'front.12'), + TL: 'front.11', }, '3': { SN: southernTurboElectro('front.3', 'front.4'), + TL: 'front.4', }, }, PMR: { @@ -2135,6 +2139,42 @@ const data: Record< VT: 'front.9', }, }, + HGY: { + '*': { + GN: 'front.5', + TL: 'front.5', + }, + }, + HRN: { + '*': { + GN: 'front.5', + TL: 'front.5', + }, + }, + BPK: { + '*': { + GN: 'front.5', + TL: 'front.5', + }, + }, + AWM: { + '*': { + GN: 'front.5', + TL: 'front.5', + }, + }, + BDK: { + '*': { + GN: 'front.8', + TL: 'front.8', + }, + }, + HEN: { + '*': { + GN: 'front.7', + TL: 'front.7', + }, + }, } function southernTurboElectro(turboLen: `${'front' | 'middle' | 'rear'}.${number}`, electroLen: `${'front' | 'middle' | 'rear'}.${number}`) {