Extract avoidable combinations from profiles into ProfileProperties

This commit is contained in:
Patrick Niklaus
2017-07-18 21:05:37 +00:00
committed by Patrick Niklaus
parent f347efb006
commit 9c11197768
7 changed files with 121 additions and 6 deletions
+7
View File
@@ -100,6 +100,13 @@ function setup()
'vehicle'
},
-- classes to support for avoid flags
avoidable = Sequence {
Set {"toll"},
Set {"motorway"},
Set {"ferry"}
},
avoid = Set {
'area',
-- 'toll', -- uncomment this to avoid tolls