summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-29 16:44:55 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-29 16:44:55 +0100
commit33c73232d062f0d5a1a58979a0518947769ecb3b (patch)
tree6f8eed3ad6d53a12a114ab4531d466395412be26 /tools
parent5efad42768a6bfaa775dccde8d1af4b92b2344c9 (diff)
downloadplantagenet-33c73232d062f0d5a1a58979a0518947769ecb3b.tar.gz
Carlisle and Bamburgh are adjacent to Scotland (one-way).
Fixes bug with Supply not being traceable per 4.5.1 exception.
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 2f4d90d..9e7cdf2 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -347,10 +347,12 @@ road("Ravenspur", "Lincoln")
// one-way road from Scotland to Bamburgh
locales[locmap.Scotland].paths.push(locmap.Bamburgh)
+locales[locmap.Scotland].adjacent.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)
+locales[locmap.Scotland].adjacent.push(locmap.Carlisle)
map_set(ways[locmap.Scotland], locmap.Carlisle, "path")
let sea_1 = locmap["North Sea"]