diff options
-rw-r--r-- | data.js | 4 | ||||
-rw-r--r-- | tools/gendata.js | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -76,7 +76,7 @@ locales:[ {"name":"York","type":"city","region":"England","adjacent":[1,47,49,56,57],"highways":[1,49],"roads":[56,57],"paths":[47],"not_paths":[1,49,56,57],"box":{"x":691,"y":623,"w":76,"h":65}}, {"name":"Calais","type":"calais","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":1134,"y":1418,"w":67,"h":79}}, {"name":"France","type":"exile","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":890,"y":1430,"w":109,"h":114}}, -{"name":"Scotland","type":"exile","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[0],"not_paths":[],"box":{"x":450,"y":278,"w":111,"h":118}}, +{"name":"Scotland","type":"exile","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[0,4],"not_paths":[],"box":{"x":450,"y":278,"w":111,"h":118}}, {"name":"Ireland","type":"exile","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":50,"y":949,"w":110,"h":121}}, {"name":"Burgundy","type":"exile","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":996,"y":688,"w":110,"h":121}}, {"name":"Scarborough","type":"town","region":"North","adjacent":[1,50],"highways":[],"roads":[1,50],"paths":[],"not_paths":[1,50],"box":{"x":791,"y":532,"w":78,"h":57}}, @@ -139,7 +139,7 @@ ways:[ [1,"highway",47,"path",49,"highway",56,"road",57,"road"], [], [], -[0,"path"], +[0,"path",4,"path"], [], [], [1,"road",50,"road"], diff --git a/tools/gendata.js b/tools/gendata.js index 196237d..e2b4106 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -762,6 +762,10 @@ road("Ravenspur", "Lincoln") locales[locmap.Scotland].paths.push(locmap.Bamburgh) map_set(ways[locmap.Scotland], locmap.Bamburgh, "path") +// one-way road from Scotland to Carlisle +locales[locmap.Scotland].paths.push(locmap.Carlisle) +map_set(ways[locmap.Scotland], locmap.Carlisle, "path") + let way_sea_1 = ["North Sea", "English Channel", "Bamburgh", "Newcastle", "Scarborough", "Ravenspur", "Lynn", "Ipswich", "Dover", "Hastings", "Calais", "Arundel", "Southampton", "Dorchester", "Exeter", "Plymouth", "Truro"].map(name => locmap[name]).sort(cmpnum) let way_sea_2 = ["English Channel","North Sea", "Irish Sea", "Bristol","Pembroke","Harlech", "English Channel","Bamburgh", "Newcastle", "Scarborough", "Ravenspur", "Lynn", "Ipswich","Dover", "Hastings", "Calais", "Arundel", "Southampton", "Dorchester", "Exeter", "Plymouth", "Truro" ].map(name => locmap[name]).sort(cmpnum) let way_sea_3 = ["English Channel", "Bristol","Pembroke","Harlech", "Dover", "Hastings", "Calais", "Arundel", "Southampton", "Dorchester", "Exeter", "Plymouth", "Truro","Irish Sea"].map(name => locmap[name]).sort(cmpnum) |