From a950b4bef4a7e4b52e7098cb3045c47a397d5d05 Mon Sep 17 00:00:00 2001 From: Spythere Date: Tue, 4 Feb 2025 15:11:11 +0100 Subject: [PATCH] chore: calculating max train speed based on its mass --- src/components/TrainsView/TrainInfo.vue | 47 +++++-- src/data/speedLimits.json | 156 ++++++++++++++++++++++++ src/locales/en.json | 2 +- src/locales/pl.json | 2 +- 4 files changed, 196 insertions(+), 11 deletions(-) create mode 100644 src/data/speedLimits.json diff --git a/src/components/TrainsView/TrainInfo.vue b/src/components/TrainsView/TrainInfo.vue index ab91826..5f51819 100644 --- a/src/components/TrainsView/TrainInfo.vue +++ b/src/components/TrainsView/TrainInfo.vue @@ -184,14 +184,20 @@