diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 10:19:39 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-26 10:19:39 +0100 |
commit | 6c83c9e5ef251847f9e57401dd0f13bfe068b6e4 (patch) | |
tree | 5cc50f901ca04e1a2ed32cca8387c7c427e312ba | |
parent | a087ad571d40e90baf1dfbfe6393fa4bb5f057d1 (diff) |
add IC2 wagon images
-rw-r--r-- | lib/DBInfoscreen.pm | 6 | ||||
-rw-r--r-- | share/dbdb_wagen.json | 96 |
2 files changed, 7 insertions, 95 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 915b9fd..52b1383 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -182,6 +182,9 @@ sub startup { { $ret = $wagon_type; } + elsif ( $train_type =~ m{IC2 Twindexx} ) { + $ret = $wagon_type; + } elsif ( not $uic ) { return; } @@ -205,6 +208,9 @@ sub startup { { $ret = substr( $uic, 5, 4 ); } + elsif ( $train_type =~ m{IC2 KISS} ) { + $ret = substr( $uic, 5, 4 ); + } if ( $ret and $self->app->dbdb_wagon->{$ret} ) { return $ret; } diff --git a/share/dbdb_wagen.json b/share/dbdb_wagen.json index 6bd8fce..628032a 100644 --- a/share/dbdb_wagen.json +++ b/share/dbdb_wagen.json @@ -1,95 +1 @@ -{ -"08120":true, -"14120":true, -"18120":true, -"24120":true, -"24123":true, -"24125":true, -"24128":true, -"31_4030":true, -"31_4031":true, -"31_4032":true, -"31_4033":true, -"31_4035":true, -"31_4036":true, -"31_4037":true, -"31_4038":true, -"32_4030":true, -"32_4031":true, -"32_4032":true, -"32_4033":true, -"32_4035":true, -"32_4036":true, -"32_4037":true, -"32_4038":true, -"3_4060":true, -"3_4061":true, -"3_4062":true, -"3_4063":true, -"3_4065":true, -"3_4066":true, -"3_4067":true, -"3_4068":true, -"3r_4030":true, -"3r_4031":true, -"3r_4032":true, -"3r_4033":true, -"3r_4035":true, -"3r_4036":true, -"3r_4037":true, -"3r_4038":true, -"3r_4060":true, -"3r_4061":true, -"3r_4062":true, -"3r_4063":true, -"3r_4065":true, -"3r_4066":true, -"3r_4067":true, -"3r_4068":true, -"4070":true, -"4071":true, -"4072":true, -"4073":true, -"4075":true, -"4076":true, -"4077":true, -"4078":true, -"48120":true, -"58120":true, -"64120":true, -"8010":true, -"8014":true, -"8018":true, -"8020":true, -"8023":true, -"8026":true, -"8027":true, -"8028":true, -"8029":true, -"8031":true, -"8040":true, -"8050":true, -"8053":true, -"8060":true, -"8063":true, -"8066":true, -"8070":true, -"8080":true, -"88120":true, -"98120":true, -"Apmmz":true, -"ARkimbz":true, -"ARkimmbz":true, -"Avmmz":true, -"Avmz":true, -"Bimmdzf":true, -"Bpmbz":true, -"Bpmmbdz":true, -"Bpmmbdzf":true, -"Bpmmbz":true, -"Bpmmdz":true, -"Bpmmz":true, -"Bvmmsz":true, -"Bvmmz":true, -"Bvmsz":true -} +{"08120":"true","1101":"true","1104":"true","1105":"true","1106":"true","14120":"true","18120":"true","24120":"true","24123":"true","24125":"true","24128":"true","31_4030":"true","31_4031":"true","31_4032":"true","31_4033":"true","31_4035":"true","31_4036":"true","31_4037":"true","31_4038":"true","32_4030":"true","32_4031":"true","32_4032":"true","32_4033":"true","32_4035":"true","32_4036":"true","32_4037":"true","32_4038":"true","3_4060":"true","3_4061":"true","3_4062":"true","3_4063":"true","3_4065":"true","3_4066":"true","3_4067":"true","3_4068":"true","3r_4030":"true","3r_4031":"true","3r_4032":"true","3r_4033":"true","3r_4035":"true","3r_4036":"true","3r_4037":"true","3r_4038":"true","3r_4060":"true","3r_4061":"true","3r_4062":"true","3r_4063":"true","3r_4065":"true","3r_4066":"true","3r_4067":"true","3r_4068":"true","4070":"true","4071":"true","4072":"true","4073":"true","4075":"true","4076":"true","4077":"true","4078":"true","48120":"true","58120":"true","64120":"true","8010":"true","8014":"true","8018":"true","8020":"true","8023":"true","8026":"true","8027":"true","8028":"true","8029":"true","8031":"true","8040":"true","8050":"true","8053":"true","8060":"true","8063":"true","8066":"true","8070":"true","8080":"true","88120":"true","98120":"true","ARkimbz":"true","ARkimmbz":"true","Apmmz":"true","Avmmz":"true","Avmz":"true","Bimmdzf":"true","Bpmbz":"true","Bpmmbdz":"true","Bpmmbdzf":"true","Bpmmbz":"true","Bpmmdz":"true","Bpmmz":"true","Bvmmsz":"true","Bvmmz":"true","Bvmsz":"true","DApza":"true","DBpbzfa":"true","DBpza":"true"} |