Skip to content

Commit

Permalink
fix: short platform fixes
Browse files Browse the repository at this point in the history
See #226
  • Loading branch information
davwheat committed Jun 16, 2024
1 parent 54a9d3c commit 0933e23
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions src/data/liveTrains/shortPlatforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ const data: Record<
DMS: {
'*': {
SN: 'front.8',
TL: 'front.8',
},
},
DUR: {
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -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}`) {
Expand Down

0 comments on commit 0933e23

Please sign in to comment.