summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-03 20:05:45 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-03 20:05:45 +0100
commit6436acb5833ecec7f6bddc33461efb8c875d19b5 (patch)
tree6ec9ea7b043a75429a5e7e08015860221154499b
parentef3753ea59541bab79dd8ae72b45cf2046502307 (diff)
Add IC2-specific data
-rw-r--r--lib/Travel/Status/DE/DBWagenreihung/Wagon.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm b/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm
index 2f45e2a..40b34c9 100644
--- a/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm
+++ b/lib/Travel/Status/DE/DBWagenreihung/Wagon.pm
@@ -58,6 +58,11 @@ our %type_attributes = (
undef, undef, ['has_family_area'],
[ 'has_quiet_area', 'has_bahn_comfort' ] # (5) (6) 7 8
],
+ 'IC2' => [
+ [ 'has_family_area', 'has_bike_storage' ], ['has_bike_storage'], # 1 2
+ ['has_bike_storage'], [ 'has_bike_storage', 'has_bahn_comfort' ], # 3 4
+ [ 'has_bahn_comfort', 'has_quiet_area', 'has_phone_area' ] # 5
+ ],
);
sub new {