From df2ceeed93732415b6067ff6ffa6e07224eef78e Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 22 Jun 2019 20:10:36 +0000
Subject: [PATCH] Update GT8 tram subtypes (additional partially low-floor trams)

---
 lib/vehicle_types.php |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/lib/vehicle_types.php b/lib/vehicle_types.php
index 36ec6fb..276dd30 100644
--- a/lib/vehicle_types.php
+++ b/lib/vehicle_types.php
@@ -18,6 +18,9 @@
 	];
 }
 function numToTypeT($id) {
+	if((int)$id == 250) {
+		$id = 410;
+	}
 $data = <<<'END'
 101	107	HW	E1	0
 108	113	RW	E1	0
@@ -40,12 +43,12 @@
 160	174	HW	E1	0
 201	245	RZ	105N	0
 246	299	HZ	105N	0
-301	312	RF	GT8S	0
+301	310	RF	GT8S	0
+311	311	RF	GT8N	1
+312	312	RF	GT8S	0
 313	313	RF	GT8C	1
-314	322	RF	GT8S	0
-323	323	RF	GT8N	1
-324	324	RF	GT8S	0
-325	329	RF	GT8N	1
+314	317	RF	GT8S	0
+318	329	RF	GT8N	1
 401	440	HL	EU8N	1
 451	456	HK	N8C-NF	0
 457	461	HK	N8S-NF	1

--
Gitblit v1.9.1