diff --git a/src/announcement-data/systems/stations/AmeyPhil.tsx b/src/announcement-data/systems/stations/AmeyPhil.tsx index f0a120d72..512a62c5a 100644 --- a/src/announcement-data/systems/stations/AmeyPhil.tsx +++ b/src/announcement-data/systems/stations/AmeyPhil.tsx @@ -4560,11 +4560,18 @@ export default class AmeyPhil extends StationAnnouncementSystem { const coaches = options.coaches.split(' ')[0] // Platforms share the same audio as coach numbers - files.push( - { id: 's.this train is formed of', opts: { delayStart: 250 } }, - `platform.s.${coaches}`, - `e.${coaches === '1' ? 'coach' : 'coaches'}`, - ) + if (options.coaches !== 'None') { + files.push( + { id: 's.this train is formed of', opts: { delayStart: 250 } }, + `platform.s.${coaches}`, + `e.${coaches === '1' ? 'coach' : 'coaches'}`, + ) + } + //files.push( + // { id: 's.this train is formed of', opts: { delayStart: 250 } }, + // `platform.s.${coaches}`, + // `e.${coaches === '1' ? 'coach' : 'coaches'}`, + //) } files.push( @@ -5330,6 +5337,7 @@ export default class AmeyPhil extends StationAnnouncementSystem { name: 'Coach count', default: '8 coaches', options: [ + 'None', '1 coach', '2 coaches', '3 coaches', @@ -5342,6 +5350,14 @@ export default class AmeyPhil extends StationAnnouncementSystem { '10 coaches', '11 coaches', '12 coaches', + '13 coaches', + '14 coaches', + '15 coaches', + '16 coaches', + '17 coaches', + '18 coaches', + '19 coaches', + '20 coaches', ].map(c => ({ title: c, value: c })), type: 'select', }, @@ -5570,6 +5586,7 @@ export default class AmeyPhil extends StationAnnouncementSystem { name: 'Coach count', default: '8 coaches', options: [ + 'None', '1 coach', '2 coaches', '3 coaches', @@ -5582,6 +5599,14 @@ export default class AmeyPhil extends StationAnnouncementSystem { '10 coaches', '11 coaches', '12 coaches', + '13 coaches', + '14 coaches', + '15 coaches', + '16 coaches', + '17 coaches', + '18 coaches', + '19 coaches', + '20 coaches', ].map(c => ({ title: c, value: c })), type: 'select', },