diff options
Diffstat (limited to 'tools/parse-layout.js')
-rw-r--r-- | tools/parse-layout.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/parse-layout.js b/tools/parse-layout.js index 8cf2a9f..5ee91c7 100644 --- a/tools/parse-layout.js +++ b/tools/parse-layout.js @@ -238,8 +238,8 @@ let cities = [] for (let key in points) { for (let [x, y] of points[key]) { let [ node, dist ] = find_closest_node(labels, x, y) - if (dist > 10) { - console.log(key,x,y, dist) + if (dist > 15) { + console.log(key,x,y, dist, node.name) } if (node) { labels = labels.filter(x => x !== node) @@ -375,6 +375,7 @@ let sets = { major_fortress: [], minor_fortress: [], city: [], + box: [], }, suit: { clubs: [], @@ -385,6 +386,7 @@ let sets = { map: { Flanders: [], Bohemia: [], + UNKNOWN: [], }, country: { Austria: [], @@ -396,6 +398,7 @@ let sets = { Saxony: [], Silesia: [], HRE: [], + UNKNOWN: [], }, } |