diff options
-rw-r--r-- | data.js | 324 | ||||
-rw-r--r-- | rules.ts | 36 | ||||
-rw-r--r-- | tools/gendata.js | 93 |
3 files changed, 226 insertions, 227 deletions
@@ -1,195 +1,195 @@ const data = { -exile_1:55, -exile_2:52, -exile_3:54, -exile_4:53, +exile_1:54, +exile_2:55, +exile_3:56, +exile_4:57, sea_1:60, sea_2:58, sea_3:59, -port_1:[1,35,37,56,57], -port_2:[14,15,17,19,20,21,22,24,51], -port_3:[5,6,26], -all_ports:[1,5,6,14,15,17,19,20,21,22,24,26,35,37,51,56,57], -sail_exile_1:[60,1,35,37,56,57], -sail_exile_2:[58,14,15,17,19,20,21,22,24,51], -sail_exile_3:[59,5,6,26], -sail_exile_4:[60,1,35,37,56,57], -sail_sea_1:[1,14,15,17,19,20,21,22,24,35,37,51,56,57,58], -sail_sea_2:[1,5,6,14,15,17,19,20,21,22,24,26,35,37,51,56,57,59,60], -sail_sea_3:[5,6,14,15,17,19,20,21,22,24,26,51,58], -sail_port_1:[60,1,35,37,56,57], -sail_port_2:[58,14,15,17,19,20,21,22,24,51], -sail_port_3:[59,5,6,26], +port_1:[0,1,2,3,4], +port_2:[5,6,7,8,9,10,11,12,13], +port_3:[14,15,16], +all_ports:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16], +sail_exile_1:[60,0,1,2,3,4], +sail_exile_2:[58,5,6,7,8,9,10,11,12,13], +sail_exile_3:[59,14,15,16], +sail_exile_4:[60,0,1,2,3,4], +sail_sea_1:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,58], +sail_sea_2:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,59,60], +sail_sea_3:[5,6,7,8,9,10,11,12,13,14,15,16,58], +sail_port_1:[60,0,1,2,3,4], +sail_port_2:[58,5,6,7,8,9,10,11,12,13], +sail_port_3:[59,14,15,16], locales:[ -{"name":"Bamburgh","type":"fortress","region":"North","adjacent":[1],"highways":[1],"roads":[],"paths":[],"not_paths":[1],"box":{"x":646,"y":311,"w":40,"h":30}}, -{"name":"Newcastle","type":"city","region":"North","adjacent":[0,2,3,50,56],"highways":[0,50],"roads":[2,3,56],"paths":[],"not_paths":[0,2,3,50,56],"box":{"x":665,"y":427,"w":58,"h":64}}, -{"name":"Appleby","type":"town","region":"North","adjacent":[1,4,48],"highways":[],"roads":[1,4],"paths":[48],"not_paths":[1,4],"box":{"x":546,"y":472,"w":50,"h":40}}, -{"name":"Hexham","type":"town","region":"North","adjacent":[1,4],"highways":[],"roads":[1,4],"paths":[],"not_paths":[1,4],"box":{"x":560,"y":403,"w":50,"h":40}}, -{"name":"Carlisle","type":"city","region":"North","adjacent":[2,3],"highways":[],"roads":[2,3],"paths":[],"not_paths":[2,3],"box":{"x":447,"y":420,"w":58,"h":64}}, -{"name":"Harlech","type":"harlech","region":"Wales","adjacent":[6,47],"highways":[],"roads":[],"paths":[6,47],"not_paths":[],"box":{"x":282,"y":919,"w":57,"h":52}}, -{"name":"Pembroke","type":"fortress","region":"Wales","adjacent":[5,7],"highways":[],"roads":[],"paths":[5,7],"not_paths":[],"box":{"x":193,"y":1130,"w":40,"h":30}}, -{"name":"Cardiff","type":"city","region":"Wales","adjacent":[6,27],"highways":[],"roads":[27],"paths":[6],"not_paths":[27],"box":{"x":396,"y":1166,"w":58,"h":64}}, -{"name":"Hereford","type":"city","region":"Wales","adjacent":[9,27],"highways":[9,27],"roads":[],"paths":[],"not_paths":[9,27],"box":{"x":486,"y":1040,"w":58,"h":64}}, -{"name":"Ludlow","type":"fortress","region":"Wales","adjacent":[8,10,46],"highways":[8],"roads":[10,46],"paths":[],"not_paths":[8,10,46],"box":{"x":487,"y":979,"w":40,"h":30}}, -{"name":"Shrewsbury","type":"city","region":"Wales","adjacent":[9,43,47],"highways":[],"roads":[9,43,47],"paths":[],"not_paths":[9,43,47],"box":{"x":506,"y":869,"w":58,"h":64}}, -{"name":"Salisbury","type":"city","region":"South","adjacent":[12,15,20,25,29],"highways":[12,25],"roads":[15,20,29],"paths":[],"not_paths":[12,15,20,25,29],"box":{"x":620,"y":1267,"w":58,"h":64}}, -{"name":"Winchester","type":"city","region":"South","adjacent":[11,13,15],"highways":[11,13],"roads":[15],"paths":[],"not_paths":[11,13,15],"box":{"x":730,"y":1262,"w":58,"h":64}}, -{"name":"Guildford","type":"city","region":"South","adjacent":[12,30],"highways":[12,30],"roads":[],"paths":[],"not_paths":[12,30],"box":{"x":849,"y":1246,"w":58,"h":64}}, -{"name":"Arundel","type":"town","region":"South","adjacent":[15,19],"highways":[],"roads":[15,19],"paths":[],"not_paths":[15,19],"box":{"x":796,"y":1337,"w":50,"h":40}}, -{"name":"Southampton","type":"town","region":"South","adjacent":[11,12,14],"highways":[],"roads":[11,12,14],"paths":[],"not_paths":[11,12,14],"box":{"x":682,"y":1379,"w":50,"h":40}}, -{"name":"Rochester","type":"city","region":"South","adjacent":[18,19,30],"highways":[],"roads":[18,19,30],"paths":[],"not_paths":[18,19,30],"box":{"x":987,"y":1185,"w":58,"h":64}}, -{"name":"Dover","type":"town","region":"South","adjacent":[18,19],"highways":[],"roads":[18,19],"paths":[],"not_paths":[18,19],"box":{"x":1041,"y":1287,"w":50,"h":40}}, -{"name":"Canterbury","type":"city","region":"South","adjacent":[16,17],"highways":[],"roads":[16,17],"paths":[],"not_paths":[16,17],"box":{"x":1062,"y":1202,"w":58,"h":64}}, -{"name":"Hastings","type":"town","region":"South","adjacent":[14,16,17],"highways":[],"roads":[14,16,17],"paths":[],"not_paths":[14,16,17],"box":{"x":989,"y":1328,"w":50,"h":40}}, -{"name":"Dorchester","type":"town","region":"England","adjacent":[11,21,25],"highways":[],"roads":[11,21,25],"paths":[],"not_paths":[11,21,25],"box":{"x":531,"y":1377,"w":50,"h":40}}, -{"name":"Exeter","type":"city","region":"England","adjacent":[20,22,23,25],"highways":[25],"roads":[20,22,23],"paths":[],"not_paths":[20,22,23,25],"box":{"x":344,"y":1376,"w":58,"h":64}}, -{"name":"Plymouth","type":"town","region":"England","adjacent":[21,23,24],"highways":[],"roads":[21,23,24],"paths":[],"not_paths":[21,23,24],"box":{"x":257,"y":1428,"w":50,"h":40}}, -{"name":"Launceston","type":"city","region":"England","adjacent":[21,22,24],"highways":[],"roads":[21,22,24],"paths":[],"not_paths":[21,22,24],"box":{"x":202,"y":1351,"w":58,"h":64}}, -{"name":"Truro","type":"town","region":"England","adjacent":[22,23],"highways":[],"roads":[22,23],"paths":[],"not_paths":[22,23],"box":{"x":145,"y":1456,"w":50,"h":40}}, -{"name":"Wells","type":"city","region":"England","adjacent":[11,20,21,26],"highways":[11,21],"roads":[20,26],"paths":[],"not_paths":[11,20,21,26],"box":{"x":508,"y":1262,"w":58,"h":64}}, -{"name":"Bristol","type":"city","region":"England","adjacent":[25,27],"highways":[27],"roads":[25],"paths":[],"not_paths":[25,27],"box":{"x":500,"y":1180,"w":58,"h":64}}, -{"name":"Gloucester","type":"city","region":"England","adjacent":[7,8,26,28,46],"highways":[8,26,28,46],"roads":[7],"paths":[],"not_paths":[7,8,26,28,46],"box":{"x":568,"y":1091,"w":58,"h":64}}, -{"name":"Oxford","type":"city","region":"England","adjacent":[27,29,30,40],"highways":[27,30],"roads":[29,40],"paths":[],"not_paths":[27,29,30,40],"box":{"x":711,"y":1103,"w":58,"h":64}}, -{"name":"Newbury","type":"town","region":"England","adjacent":[11,28],"highways":[],"roads":[11,28],"paths":[],"not_paths":[11,28],"box":{"x":676,"y":1195,"w":50,"h":40}}, -{"name":"London","type":"london","region":"England","adjacent":[13,16,28,31],"highways":[13,28,31],"roads":[16],"paths":[],"not_paths":[13,16,28,31],"box":{"x":878,"y":1159,"w":89,"h":73}}, -{"name":"St Albans","type":"town","region":"England","adjacent":[30,32,33,35],"highways":[30,32,33],"roads":[35],"paths":[],"not_paths":[30,32,33,35],"box":{"x":906,"y":1091,"w":50,"h":40}}, -{"name":"Bedford","type":"town","region":"England","adjacent":[31,33,40],"highways":[31,40],"roads":[33],"paths":[],"not_paths":[31,33,40],"box":{"x":845,"y":1052,"w":50,"h":40}}, -{"name":"Cambridge","type":"town","region":"England","adjacent":[31,32,34,38],"highways":[31,38],"roads":[32,34],"paths":[],"not_paths":[31,32,34,38],"box":{"x":902,"y":1026,"w":50,"h":40}}, -{"name":"Bury St Edmunds","type":"town","region":"England","adjacent":[33,35,36,38],"highways":[],"roads":[33,35,36,38],"paths":[],"not_paths":[33,35,36,38],"box":{"x":1000,"y":996,"w":50,"h":40}}, -{"name":"Ipswich","type":"town","region":"England","adjacent":[31,34,36],"highways":[],"roads":[31,34,36],"paths":[],"not_paths":[31,34,36],"box":{"x":1108,"y":1031,"w":50,"h":40}}, -{"name":"Norwich","type":"city","region":"England","adjacent":[34,35,37],"highways":[],"roads":[34,35,37],"paths":[],"not_paths":[34,35,37],"box":{"x":1063,"y":889,"w":58,"h":64}}, -{"name":"Lynn","type":"fortress","region":"England","adjacent":[36,38],"highways":[],"roads":[36,38],"paths":[],"not_paths":[36,38],"box":{"x":968,"y":898,"w":40,"h":30}}, -{"name":"Ely","type":"city","region":"England","adjacent":[33,34,37,39],"highways":[33,39],"roads":[34,37],"paths":[],"not_paths":[33,34,37,39],"box":{"x":927,"y":956,"w":58,"h":64}}, -{"name":"Peterborough","type":"city","region":"England","adjacent":[38,40,42,49],"highways":[38,49],"roads":[40,42],"paths":[],"not_paths":[38,40,42,49],"box":{"x":832,"y":927,"w":58,"h":64}}, -{"name":"Northampton","type":"town","region":"England","adjacent":[28,32,39,41,42],"highways":[32,42],"roads":[28,39,41],"paths":[],"not_paths":[28,32,39,41,42],"box":{"x":751,"y":1025,"w":50,"h":40}}, -{"name":"Coventry","type":"city","region":"England","adjacent":[40,43],"highways":[],"roads":[40,43],"paths":[],"not_paths":[40,43],"box":{"x":678,"y":966,"w":58,"h":64}}, -{"name":"Leicester","type":"town","region":"England","adjacent":[39,40,43,45],"highways":[40,45],"roads":[39,43],"paths":[],"not_paths":[39,40,43,45],"box":{"x":756,"y":912,"w":50,"h":40}}, -{"name":"Lichfield","type":"city","region":"England","adjacent":[10,41,42,44,46],"highways":[],"roads":[10,41,42,44,46],"paths":[],"not_paths":[10,41,42,44,46],"box":{"x":613,"y":899,"w":58,"h":64}}, -{"name":"Derby","type":"town","region":"England","adjacent":[43,45],"highways":[],"roads":[43,45],"paths":[],"not_paths":[43,45],"box":{"x":661,"y":850,"w":50,"h":40}}, -{"name":"Nottingham","type":"town","region":"England","adjacent":[42,44,49],"highways":[42],"roads":[44,49],"paths":[],"not_paths":[42,44,49],"box":{"x":733,"y":843,"w":50,"h":40}}, -{"name":"Worcester","type":"city","region":"England","adjacent":[9,27,43],"highways":[27],"roads":[9,43],"paths":[],"not_paths":[9,27,43],"box":{"x":561,"y":989,"w":58,"h":64}}, -{"name":"Chester","type":"city","region":"England","adjacent":[5,10,48,50],"highways":[],"roads":[10],"paths":[5,48,50],"not_paths":[10],"box":{"x":444,"y":800,"w":58,"h":64}}, -{"name":"Lancaster","type":"town","region":"England","adjacent":[2,47],"highways":[],"roads":[],"paths":[2,47],"not_paths":[],"box":{"x":485,"y":606,"w":50,"h":40}}, -{"name":"Lincoln","type":"city","region":"England","adjacent":[39,45,50,57],"highways":[39,50],"roads":[45,57],"paths":[],"not_paths":[39,45,50,57],"box":{"x":780,"y":757,"w":58,"h":64}}, -{"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":705,"y":625,"w":58,"h":64}}, +{"name":"Lynn","type":"fortress","region":"England","adjacent":[19,24],"highways":[],"roads":[19,24],"paths":[],"not_paths":[19,24],"box":{"x":968,"y":898,"w":40,"h":30}}, +{"name":"Ravenspur","type":"fortress","region":"England","adjacent":[23,29],"highways":[],"roads":[23,29],"paths":[],"not_paths":[23,29],"box":{"x":858,"y":734,"w":40,"h":30}}, +{"name":"Ipswich","type":"town","region":"England","adjacent":[24,32,40],"highways":[],"roads":[24,32,40],"paths":[],"not_paths":[24,32,40],"box":{"x":1108,"y":1031,"w":50,"h":40}}, +{"name":"Newcastle","type":"city","region":"North","adjacent":[4,29,42,43,44],"highways":[29,42],"roads":[4,43,44],"paths":[],"not_paths":[4,29,42,43,44],"box":{"x":665,"y":427,"w":58,"h":64}}, +{"name":"Scarborough","type":"town","region":"North","adjacent":[3,29],"highways":[],"roads":[3,29],"paths":[],"not_paths":[3,29],"box":{"x":809,"y":546,"w":50,"h":40}}, {"name":"Calais","type":"calais","region":"England","adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":1137,"y":1411,"w":63,"h":58}}, +{"name":"Exeter","type":"city","region":"England","adjacent":[7,8,21,27],"highways":[27],"roads":[7,8,21],"paths":[],"not_paths":[7,8,21,27],"box":{"x":344,"y":1376,"w":58,"h":64}}, +{"name":"Dorchester","type":"town","region":"England","adjacent":[6,27,48],"highways":[],"roads":[6,27,48],"paths":[],"not_paths":[6,27,48],"box":{"x":531,"y":1377,"w":50,"h":40}}, +{"name":"Plymouth","type":"town","region":"England","adjacent":[6,9,21],"highways":[],"roads":[6,9,21],"paths":[],"not_paths":[6,9,21],"box":{"x":257,"y":1428,"w":50,"h":40}}, +{"name":"Truro","type":"town","region":"England","adjacent":[8,21],"highways":[],"roads":[8,21],"paths":[],"not_paths":[8,21],"box":{"x":145,"y":1456,"w":50,"h":40}}, +{"name":"Arundel","type":"town","region":"South","adjacent":[12,13],"highways":[],"roads":[12,13],"paths":[],"not_paths":[12,13],"box":{"x":796,"y":1337,"w":50,"h":40}}, +{"name":"Dover","type":"town","region":"South","adjacent":[12,45],"highways":[],"roads":[12,45],"paths":[],"not_paths":[12,45],"box":{"x":1041,"y":1287,"w":50,"h":40}}, +{"name":"Hastings","type":"town","region":"South","adjacent":[10,11,47],"highways":[],"roads":[10,11,47],"paths":[],"not_paths":[10,11,47],"box":{"x":989,"y":1328,"w":50,"h":40}}, +{"name":"Southampton","type":"town","region":"South","adjacent":[10,48,49],"highways":[],"roads":[10,48,49],"paths":[],"not_paths":[10,48,49],"box":{"x":682,"y":1379,"w":50,"h":40}}, +{"name":"Bristol","type":"city","region":"England","adjacent":[20,27],"highways":[20],"roads":[27],"paths":[],"not_paths":[20,27],"box":{"x":500,"y":1180,"w":58,"h":64}}, +{"name":"Pembroke","type":"fortress","region":"Wales","adjacent":[16,50],"highways":[],"roads":[],"paths":[16,50],"not_paths":[],"box":{"x":193,"y":1130,"w":40,"h":30}}, +{"name":"Harlech","type":"harlech","region":"Wales","adjacent":[15,17],"highways":[],"roads":[],"paths":[15,17],"not_paths":[],"box":{"x":282,"y":919,"w":57,"h":52}}, +{"name":"Chester","type":"city","region":"England","adjacent":[16,29,35,52],"highways":[],"roads":[52],"paths":[16,29,35],"not_paths":[52],"box":{"x":444,"y":800,"w":58,"h":64}}, +{"name":"Coventry","type":"city","region":"England","adjacent":[22,38],"highways":[],"roads":[22,38],"paths":[],"not_paths":[22,38],"box":{"x":678,"y":966,"w":58,"h":64}}, +{"name":"Ely","type":"city","region":"England","adjacent":[0,26,32,33],"highways":[26,33],"roads":[0,32],"paths":[],"not_paths":[0,26,32,33],"box":{"x":927,"y":956,"w":58,"h":64}}, +{"name":"Gloucester","type":"city","region":"England","adjacent":[14,25,28,50,51],"highways":[14,25,28,51],"roads":[50],"paths":[],"not_paths":[14,25,28,50,51],"box":{"x":568,"y":1091,"w":58,"h":64}}, +{"name":"Launceston","type":"city","region":"England","adjacent":[6,8,9],"highways":[],"roads":[6,8,9],"paths":[],"not_paths":[6,8,9],"box":{"x":202,"y":1351,"w":58,"h":64}}, +{"name":"Lichfield","type":"city","region":"England","adjacent":[18,28,34,36,52],"highways":[],"roads":[18,28,34,36,52],"paths":[],"not_paths":[18,28,34,36,52],"box":{"x":613,"y":899,"w":58,"h":64}}, +{"name":"Lincoln","type":"city","region":"England","adjacent":[1,26,29,39],"highways":[26,29],"roads":[1,39],"paths":[],"not_paths":[1,26,29,39],"box":{"x":780,"y":757,"w":58,"h":64}}, +{"name":"Norwich","type":"city","region":"England","adjacent":[0,2,32],"highways":[],"roads":[0,2,32],"paths":[],"not_paths":[0,2,32],"box":{"x":1063,"y":889,"w":58,"h":64}}, +{"name":"Oxford","type":"city","region":"England","adjacent":[20,30,37,38],"highways":[20,30],"roads":[37,38],"paths":[],"not_paths":[20,30,37,38],"box":{"x":711,"y":1103,"w":58,"h":64}}, +{"name":"Peterborough","type":"city","region":"England","adjacent":[19,23,36,38],"highways":[19,23],"roads":[36,38],"paths":[],"not_paths":[19,23,36,38],"box":{"x":832,"y":927,"w":58,"h":64}}, +{"name":"Wells","type":"city","region":"England","adjacent":[6,7,14,48],"highways":[6,48],"roads":[7,14],"paths":[],"not_paths":[6,7,14,48],"box":{"x":508,"y":1262,"w":58,"h":64}}, +{"name":"Worcester","type":"city","region":"England","adjacent":[20,22,53],"highways":[20],"roads":[22,53],"paths":[],"not_paths":[20,22,53],"box":{"x":561,"y":989,"w":58,"h":64}}, +{"name":"York","type":"city","region":"England","adjacent":[1,3,4,17,23],"highways":[3,23],"roads":[1,4],"paths":[17],"not_paths":[1,3,4,23],"box":{"x":705,"y":625,"w":58,"h":64}}, +{"name":"London","type":"london","region":"England","adjacent":[25,40,46,47],"highways":[25,40,46],"roads":[47],"paths":[],"not_paths":[25,40,46,47],"box":{"x":878,"y":1159,"w":89,"h":73}}, +{"name":"Bedford","type":"town","region":"England","adjacent":[33,38,40],"highways":[38,40],"roads":[33],"paths":[],"not_paths":[33,38,40],"box":{"x":845,"y":1052,"w":50,"h":40}}, +{"name":"Bury St Edmunds","type":"town","region":"England","adjacent":[2,19,24,33],"highways":[],"roads":[2,19,24,33],"paths":[],"not_paths":[2,19,24,33],"box":{"x":1000,"y":996,"w":50,"h":40}}, +{"name":"Cambridge","type":"town","region":"England","adjacent":[19,31,32,40],"highways":[19,40],"roads":[31,32],"paths":[],"not_paths":[19,31,32,40],"box":{"x":902,"y":1026,"w":50,"h":40}}, +{"name":"Derby","type":"town","region":"England","adjacent":[22,39],"highways":[],"roads":[22,39],"paths":[],"not_paths":[22,39],"box":{"x":661,"y":850,"w":50,"h":40}}, +{"name":"Lancaster","type":"town","region":"England","adjacent":[17,43],"highways":[],"roads":[],"paths":[17,43],"not_paths":[],"box":{"x":485,"y":606,"w":50,"h":40}}, +{"name":"Leicester","type":"town","region":"England","adjacent":[22,26,38,39],"highways":[38,39],"roads":[22,26],"paths":[],"not_paths":[22,26,38,39],"box":{"x":756,"y":912,"w":50,"h":40}}, +{"name":"Newbury","type":"town","region":"England","adjacent":[25,48],"highways":[],"roads":[25,48],"paths":[],"not_paths":[25,48],"box":{"x":676,"y":1195,"w":50,"h":40}}, +{"name":"Northampton","type":"town","region":"England","adjacent":[18,25,26,31,36],"highways":[31,36],"roads":[18,25,26],"paths":[],"not_paths":[18,25,26,31,36],"box":{"x":751,"y":1025,"w":50,"h":40}}, +{"name":"Nottingham","type":"town","region":"England","adjacent":[23,34,36],"highways":[36],"roads":[23,34],"paths":[],"not_paths":[23,34,36],"box":{"x":733,"y":843,"w":50,"h":40}}, +{"name":"St Albans","type":"town","region":"England","adjacent":[2,30,31,33],"highways":[30,31,33],"roads":[2],"paths":[],"not_paths":[2,30,31,33],"box":{"x":906,"y":1091,"w":50,"h":40}}, +{"name":"Carlisle","type":"city","region":"North","adjacent":[43,44],"highways":[],"roads":[43,44],"paths":[],"not_paths":[43,44],"box":{"x":447,"y":420,"w":58,"h":64}}, +{"name":"Bamburgh","type":"fortress","region":"North","adjacent":[3],"highways":[3],"roads":[],"paths":[],"not_paths":[3],"box":{"x":646,"y":311,"w":40,"h":30}}, +{"name":"Appleby","type":"town","region":"North","adjacent":[3,35,41],"highways":[],"roads":[3,41],"paths":[35],"not_paths":[3,41],"box":{"x":546,"y":472,"w":50,"h":40}}, +{"name":"Hexham","type":"town","region":"North","adjacent":[3,41],"highways":[],"roads":[3,41],"paths":[],"not_paths":[3,41],"box":{"x":560,"y":403,"w":50,"h":40}}, +{"name":"Canterbury","type":"city","region":"South","adjacent":[11,47],"highways":[],"roads":[11,47],"paths":[],"not_paths":[11,47],"box":{"x":1062,"y":1202,"w":58,"h":64}}, +{"name":"Guildford","type":"city","region":"South","adjacent":[30,49],"highways":[30,49],"roads":[],"paths":[],"not_paths":[30,49],"box":{"x":849,"y":1246,"w":58,"h":64}}, +{"name":"Rochester","type":"city","region":"South","adjacent":[12,30,45],"highways":[],"roads":[12,30,45],"paths":[],"not_paths":[12,30,45],"box":{"x":987,"y":1185,"w":58,"h":64}}, +{"name":"Salisbury","type":"city","region":"South","adjacent":[7,13,27,37,49],"highways":[27,49],"roads":[7,13,37],"paths":[],"not_paths":[7,13,27,37,49],"box":{"x":620,"y":1267,"w":58,"h":64}}, +{"name":"Winchester","type":"city","region":"South","adjacent":[13,46,48],"highways":[46,48],"roads":[13],"paths":[],"not_paths":[13,46,48],"box":{"x":730,"y":1262,"w":58,"h":64}}, +{"name":"Cardiff","type":"city","region":"Wales","adjacent":[15,20],"highways":[],"roads":[20],"paths":[15],"not_paths":[20],"box":{"x":396,"y":1166,"w":58,"h":64}}, +{"name":"Hereford","type":"city","region":"Wales","adjacent":[20,53],"highways":[20,53],"roads":[],"paths":[],"not_paths":[20,53],"box":{"x":486,"y":1040,"w":58,"h":64}}, +{"name":"Shrewsbury","type":"city","region":"Wales","adjacent":[17,22,53],"highways":[],"roads":[17,22,53],"paths":[],"not_paths":[17,22,53],"box":{"x":506,"y":869,"w":58,"h":64}}, +{"name":"Ludlow","type":"fortress","region":"Wales","adjacent":[28,51,52],"highways":[51],"roads":[28,52],"paths":[],"not_paths":[28,51,52],"box":{"x":487,"y":979,"w":40,"h":30}}, +{"name":"Burgundy","type":"exile_box","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":993,"y":684,"w":113,"h":132}}, {"name":"France","type":"exile_box","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":888,"y":1428,"w":113,"h":132}}, -{"name":"Scotland","type":"exile_box","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[0,4],"not_paths":[],"box":{"x":449,"y":277,"w":113,"h":132}}, {"name":"Ireland","type":"exile_box","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":48,"y":950,"w":113,"h":132}}, -{"name":"Burgundy","type":"exile_box","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":993,"y":684,"w":113,"h":132}}, -{"name":"Scarborough","type":"town","region":"North","adjacent":[1,50],"highways":[],"roads":[1,50],"paths":[],"not_paths":[1,50],"box":{"x":809,"y":546,"w":50,"h":40}}, -{"name":"Ravenspur","type":"fortress","region":"England","adjacent":[49,50],"highways":[],"roads":[49,50],"paths":[],"not_paths":[49,50],"box":{"x":858,"y":734,"w":40,"h":30}}, +{"name":"Scotland","type":"exile_box","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[41,42],"not_paths":[],"box":{"x":449,"y":277,"w":113,"h":132}}, {"name":"English Channel","type":"sea","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":550,"y":1450,"w":246,"h":82}}, {"name":"Irish Sea","type":"sea","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":224,"y":664,"w":135,"h":56}}, {"name":"North Sea","type":"sea","region":null,"adjacent":[],"highways":[],"roads":[],"paths":[],"not_paths":[],"box":{"x":1019,"y":824,"w":150,"h":65}}, ], ways:[ -[1,"highway"], -[0,"highway",2,"road",3,"road",50,"highway",56,"road"], -[1,"road",4,"road",48,"path"], -[1,"road",4,"road"], -[2,"road",3,"road"], -[6,"path",47,"path"], -[5,"path",7,"path"], -[6,"path",27,"road"], -[9,"highway",27,"highway"], -[8,"highway",10,"road",46,"road"], -[9,"road",43,"road",47,"road"], -[12,"highway",15,"road",20,"road",25,"highway",29,"road"], -[11,"highway",13,"highway",15,"road"], -[12,"highway",30,"highway"], -[15,"road",19,"road"], -[11,"road",12,"road",14,"road"], -[18,"road",19,"road",30,"road"], -[18,"road",19,"road"], -[16,"road",17,"road"], -[14,"road",16,"road",17,"road"], -[11,"road",21,"road",25,"road"], -[20,"road",22,"road",23,"road",25,"highway"], -[21,"road",23,"road",24,"road"], -[21,"road",22,"road",24,"road"], -[22,"road",23,"road"], -[11,"highway",20,"road",21,"highway",26,"road"], -[25,"road",27,"highway"], -[7,"road",8,"highway",26,"highway",28,"highway",46,"highway"], -[27,"highway",29,"road",30,"highway",40,"road"], -[11,"road",28,"road"], -[13,"highway",16,"road",28,"highway",31,"highway"], -[30,"highway",32,"highway",33,"highway",35,"road"], -[31,"highway",33,"road",40,"highway"], -[31,"highway",32,"road",34,"road",38,"highway"], -[33,"road",35,"road",36,"road",38,"road"], -[31,"road",34,"road",36,"road"], -[34,"road",35,"road",37,"road"], -[36,"road",38,"road"], -[33,"highway",34,"road",37,"road",39,"highway"], -[38,"highway",40,"road",42,"road",49,"highway"], -[28,"road",32,"highway",39,"road",41,"road",42,"highway"], -[40,"road",43,"road"], -[39,"road",40,"highway",43,"road",45,"highway"], -[10,"road",41,"road",42,"road",44,"road",46,"road"], -[43,"road",45,"road"], -[42,"highway",44,"road",49,"road"], -[9,"road",27,"highway",43,"road"], -[5,"path",10,"road",48,"path",50,"path"], -[2,"path",47,"path"], -[39,"highway",45,"road",50,"highway",57,"road"], -[1,"highway",47,"path",49,"highway",56,"road",57,"road"], +[19,"road",24,"road"], +[23,"road",29,"road"], +[24,"road",32,"road",40,"road"], +[4,"road",29,"highway",42,"highway",43,"road",44,"road"], +[3,"road",29,"road"], [], +[7,"road",8,"road",21,"road",27,"highway"], +[6,"road",27,"road",48,"road"], +[6,"road",9,"road",21,"road"], +[8,"road",21,"road"], +[12,"road",13,"road"], +[12,"road",45,"road"], +[10,"road",11,"road",47,"road"], +[10,"road",48,"road",49,"road"], +[20,"highway",27,"road"], +[16,"path",50,"path"], +[15,"path",17,"path"], +[16,"path",29,"path",35,"path",52,"road"], +[22,"road",38,"road"], +[0,"road",26,"highway",32,"road",33,"highway"], +[14,"highway",25,"highway",28,"highway",50,"road",51,"highway"], +[6,"road",8,"road",9,"road"], +[18,"road",28,"road",34,"road",36,"road",52,"road"], +[1,"road",26,"highway",29,"highway",39,"road"], +[0,"road",2,"road",32,"road"], +[20,"highway",30,"highway",37,"road",38,"road"], +[19,"highway",23,"highway",36,"road",38,"road"], +[6,"highway",7,"road",14,"road",48,"highway"], +[20,"highway",22,"road",53,"road"], +[1,"road",3,"highway",4,"road",17,"path",23,"highway"], +[25,"highway",40,"highway",46,"highway",47,"road"], +[33,"road",38,"highway",40,"highway"], +[2,"road",19,"road",24,"road",33,"road"], +[19,"highway",31,"road",32,"road",40,"highway"], +[22,"road",39,"road"], +[17,"path",43,"path"], +[22,"road",26,"road",38,"highway",39,"highway"], +[25,"road",48,"road"], +[18,"road",25,"road",26,"road",31,"highway",36,"highway"], +[23,"road",34,"road",36,"highway"], +[2,"road",30,"highway",31,"highway",33,"highway"], +[43,"road",44,"road"], +[3,"highway"], +[3,"road",35,"path",41,"road"], +[3,"road",41,"road"], +[11,"road",47,"road"], +[30,"highway",49,"highway"], +[12,"road",30,"road",45,"road"], +[7,"road",13,"road",27,"highway",37,"road",49,"highway"], +[13,"road",46,"highway",48,"highway"], +[15,"path",20,"road"], +[20,"highway",53,"highway"], +[17,"road",22,"road",53,"road"], +[28,"road",51,"highway",52,"road"], [], -[0,"path",4,"path"], [], [], -[1,"road",50,"road"], -[49,"road",50,"road"], +[41,"path",42,"path"], [], [], [], ], lords:[ -{"side":"York","name":"York","short_name":"York","full_name":"Richard Plantagenet","title":"Duke of York","seat":38,"marshal":2,"influence":5,"lordship":3,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_york"}, -{"side":"York","name":"March","short_name":"March","full_name":"Edward Plantagenet","title":"Earl of March","seat":9,"marshal":0,"influence":2,"lordship":2,"command":2,"valour":3,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_march"}, +{"side":"York","name":"York","short_name":"York","full_name":"Richard Plantagenet","title":"Duke of York","seat":19,"marshal":2,"influence":5,"lordship":3,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_york"}, +{"side":"York","name":"March","short_name":"March","full_name":"Edward Plantagenet","title":"Earl of March","seat":53,"marshal":0,"influence":2,"lordship":2,"command":2,"valour":3,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_march"}, {"side":"York","name":"Edward IV","short_name":"Edward IV","full_name":"Edward Plantagenet","title":"King of England","seat":30,"marshal":2,"influence":5,"lordship":3,"command":2,"valour":4,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_edward_iv"}, -{"side":"York","name":"Salisbury","short_name":"Salisbury","full_name":"Richard Neville","title":"Earl of Salisbury","seat":50,"marshal":0,"influence":3,"lordship":3,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_salisbury"}, -{"side":"York","name":"Rutland","short_name":"Rutland","full_name":"Edmund Plantagenet","title":"Earl of Rutland","seat":18,"marshal":0,"influence":2,"lordship":2,"command":1,"valour":1,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_rutland"}, -{"side":"York","name":"Pembroke","short_name":"Pembroke","full_name":"William Herbert","title":"Earl of Pembroke","seat":6,"marshal":0,"influence":2,"lordship":2,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":3,"militia":2},"assets":{"cart":1,"prov":1,"coin":2},"ships":0,"id":"lord_pembroke"}, -{"side":"York","name":"Devon","short_name":"Devon","full_name":"Humpfrey Stafford","title":"Earl of Devon","seat":21,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_devon"}, -{"side":"York","name":"Northumberland Y1","short_name":"Northumberland","full_name":"Henry Percy","title":"Northumberland","seat":4,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":4},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_northumberland_y1"}, -{"side":"York","name":"Northumberland Y2","short_name":"Northumberland","full_name":"Henry Percy","title":"Northumberland","seat":4,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_northumberland_y2"}, -{"side":"York","name":"Gloucester 1","short_name":"Gloucester","full_name":"Richard Plantagenet","title":"Duke of Gloucester","seat":27,"marshal":1,"influence":2,"lordship":2,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_gloucester_1"}, +{"side":"York","name":"Salisbury","short_name":"Salisbury","full_name":"Richard Neville","title":"Earl of Salisbury","seat":29,"marshal":0,"influence":3,"lordship":3,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_salisbury"}, +{"side":"York","name":"Rutland","short_name":"Rutland","full_name":"Edmund Plantagenet","title":"Earl of Rutland","seat":45,"marshal":0,"influence":2,"lordship":2,"command":1,"valour":1,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_rutland"}, +{"side":"York","name":"Pembroke","short_name":"Pembroke","full_name":"William Herbert","title":"Earl of Pembroke","seat":15,"marshal":0,"influence":2,"lordship":2,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":3,"militia":2},"assets":{"cart":1,"prov":1,"coin":2},"ships":0,"id":"lord_pembroke"}, +{"side":"York","name":"Devon","short_name":"Devon","full_name":"Humpfrey Stafford","title":"Earl of Devon","seat":6,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_devon"}, +{"side":"York","name":"Northumberland Y1","short_name":"Northumberland","full_name":"Henry Percy","title":"Northumberland","seat":41,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":4},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_northumberland_y1"}, +{"side":"York","name":"Northumberland Y2","short_name":"Northumberland","full_name":"Henry Percy","title":"Northumberland","seat":41,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_northumberland_y2"}, +{"side":"York","name":"Gloucester 1","short_name":"Gloucester","full_name":"Richard Plantagenet","title":"Duke of Gloucester","seat":20,"marshal":1,"influence":2,"lordship":2,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_gloucester_1"}, {"side":"York","name":"Gloucester 2","short_name":"Gloucester","full_name":"Richard Plantagenet","title":"Duke of Gloucester","seat":30,"marshal":1,"influence":5,"lordship":3,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3,"militia":4},"assets":{"cart":2,"prov":2,"coin":4},"ships":0,"id":"lord_gloucester_2"}, {"side":"York","name":"Richard III","short_name":"Richard III","full_name":"Richard Plantagenet","title":"King of England","seat":30,"marshal":2,"influence":5,"lordship":3,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":2,"militia":4},"assets":{"cart":2,"prov":2,"coin":4},"ships":0,"id":"lord_richard_iii"}, -{"side":"York","name":"Norfolk","short_name":"Norfolk","full_name":"John Howard","title":"Duke of Norfolk","seat":14,"marshal":0,"influence":3,"lordship":3,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_norfolk"}, -{"side":"York","name":"Warwick Y","short_name":"Warwick","full_name":"Richard Neville","title":"Earl of Warwick","seat":51,"marshal":1,"influence":5,"lordship":3,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"prov":2,"coin":2},"ships":2,"id":"lord_warwick_y"}, +{"side":"York","name":"Norfolk","short_name":"Norfolk","full_name":"John Howard","title":"Duke of Norfolk","seat":10,"marshal":0,"influence":3,"lordship":3,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_norfolk"}, +{"side":"York","name":"Warwick Y","short_name":"Warwick","full_name":"Richard Neville","title":"Earl of Warwick","seat":5,"marshal":1,"influence":5,"lordship":3,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"prov":2,"coin":2},"ships":2,"id":"lord_warwick_y"}, {"side":"Lancaster","name":"Henry VI","short_name":"Henry VI","full_name":"Henry VI","title":"King of England","seat":30,"marshal":2,"influence":5,"lordship":2,"command":2,"valour":0,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":4},"assets":{"cart":2,"prov":2,"coin":4},"ships":0,"id":"lord_henry_vi"}, {"side":"Lancaster","name":"Margaret","short_name":"Margaret","full_name":"Margaret d'Anjou","title":"Queen of England","seat":30,"marshal":2,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"cart":2,"prov":2,"coin":2},"ships":2,"id":"lord_margaret"}, -{"side":"Lancaster","name":"Somerset 1","short_name":"Somerset","full_name":"Henry Beaufort","title":"Duke of Somerset","seat":25,"marshal":2,"influence":5,"lordship":2,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":2,"prov":2,"coin":1},"ships":0,"id":"lord_somerset_1"}, -{"side":"Lancaster","name":"Somerset 2","short_name":"Somerset","full_name":"Edmund Beaufort","title":"Duke of Somerset","seat":25,"marshal":0,"influence":3,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_somerset_2"}, -{"side":"Lancaster","name":"Exeter 1","short_name":"Exeter","full_name":"Henry Holland","title":"Duke of Exeter","seat":21,"marshal":0,"influence":2,"lordship":1,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_exeter_1"}, -{"side":"Lancaster","name":"Exeter 2","short_name":"Exeter","full_name":"Henry Holland","title":"Duke of Exeter","seat":21,"marshal":0,"influence":2,"lordship":1,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_exeter_2"}, -{"side":"Lancaster","name":"Buckingham","short_name":"Buckingham","full_name":"Humphrey Stafford","title":"Duke of Buckingham","seat":41,"marshal":0,"influence":3,"lordship":3,"command":1,"valour":1,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_buckingham"}, -{"side":"Lancaster","name":"Northumberland L","short_name":"Northumberland","full_name":"Henry Percy","title":"Earl of Northumberland","seat":4,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":1},"ships":0,"id":"lord_northumberland_l"}, -{"side":"Lancaster","name":"Clarence","short_name":"Clarence","full_name":"George Plantagenet","title":"Duke of Clarence","seat":50,"marshal":0,"influence":1,"lordship":2,"command":1,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":1,"prov":2,"coin":2},"ships":0,"id":"lord_clarence"}, -{"side":"Lancaster","name":"Jasper Tudor 1","short_name":"Jasper Tudor","full_name":"Jasper Tudor","title":"Earl of Pembroke","seat":5,"marshal":0,"influence":2,"lordship":2,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":3,"militia":1},"assets":{"cart":1,"prov":2,"coin":2},"ships":0,"id":"lord_jasper_tudor_1"}, -{"side":"Lancaster","name":"Jasper Tudor 2","short_name":"Jasper Tudor","full_name":"Jasper Tudor","title":"Earl of Pembroke","seat":6,"marshal":0,"influence":2,"lordship":3,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_jasper_tudor_2"}, +{"side":"Lancaster","name":"Somerset 1","short_name":"Somerset","full_name":"Henry Beaufort","title":"Duke of Somerset","seat":27,"marshal":2,"influence":5,"lordship":2,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":2,"prov":2,"coin":1},"ships":0,"id":"lord_somerset_1"}, +{"side":"Lancaster","name":"Somerset 2","short_name":"Somerset","full_name":"Edmund Beaufort","title":"Duke of Somerset","seat":27,"marshal":0,"influence":3,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_somerset_2"}, +{"side":"Lancaster","name":"Exeter 1","short_name":"Exeter","full_name":"Henry Holland","title":"Duke of Exeter","seat":6,"marshal":0,"influence":2,"lordship":1,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2},"assets":{"cart":1,"prov":1,"coin":1},"ships":0,"id":"lord_exeter_1"}, +{"side":"Lancaster","name":"Exeter 2","short_name":"Exeter","full_name":"Henry Holland","title":"Duke of Exeter","seat":6,"marshal":0,"influence":2,"lordship":1,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_exeter_2"}, +{"side":"Lancaster","name":"Buckingham","short_name":"Buckingham","full_name":"Humphrey Stafford","title":"Duke of Buckingham","seat":18,"marshal":0,"influence":3,"lordship":3,"command":1,"valour":1,"forces":{"retinue":1,"men_at_arms":1,"longbowmen":2,"militia":1},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_buckingham"}, +{"side":"Lancaster","name":"Northumberland L","short_name":"Northumberland","full_name":"Henry Percy","title":"Earl of Northumberland","seat":41,"marshal":0,"influence":4,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":1},"ships":0,"id":"lord_northumberland_l"}, +{"side":"Lancaster","name":"Clarence","short_name":"Clarence","full_name":"George Plantagenet","title":"Duke of Clarence","seat":29,"marshal":0,"influence":1,"lordship":2,"command":1,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":1,"prov":2,"coin":2},"ships":0,"id":"lord_clarence"}, +{"side":"Lancaster","name":"Jasper Tudor 1","short_name":"Jasper Tudor","full_name":"Jasper Tudor","title":"Earl of Pembroke","seat":16,"marshal":0,"influence":2,"lordship":2,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":3,"militia":1},"assets":{"cart":1,"prov":2,"coin":2},"ships":0,"id":"lord_jasper_tudor_1"}, +{"side":"Lancaster","name":"Jasper Tudor 2","short_name":"Jasper Tudor","full_name":"Jasper Tudor","title":"Earl of Pembroke","seat":15,"marshal":0,"influence":2,"lordship":3,"command":3,"valour":2,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_jasper_tudor_2"}, {"side":"Lancaster","name":"Henry Tudor","short_name":"Henry Tudor","full_name":"Henry Tudor","title":"","seat":30,"marshal":2,"influence":5,"lordship":2,"command":2,"valour":1,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":4},"ships":2,"id":"lord_henry_tudor"}, -{"side":"Lancaster","name":"Oxford","short_name":"Oxford","full_name":"John de Vere","title":"Earl of Oxford","seat":28,"marshal":0,"influence":2,"lordship":2,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_oxford"}, -{"side":"Lancaster","name":"Warwick L","short_name":"Warwick","full_name":"Richard Neville","title":"Earl of Warwick","seat":51,"marshal":1,"influence":5,"lordship":3,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"cart":2,"prov":2,"coin":2},"ships":2,"id":"lord_warwick_l"}, +{"side":"Lancaster","name":"Oxford","short_name":"Oxford","full_name":"John de Vere","title":"Earl of Oxford","seat":25,"marshal":0,"influence":2,"lordship":2,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":2,"longbowmen":2,"militia":2},"assets":{"cart":2,"prov":2,"coin":2},"ships":0,"id":"lord_oxford"}, +{"side":"Lancaster","name":"Warwick L","short_name":"Warwick","full_name":"Richard Neville","title":"Earl of Warwick","seat":5,"marshal":1,"influence":5,"lordship":3,"command":2,"valour":2,"forces":{"retinue":1,"men_at_arms":3,"longbowmen":3},"assets":{"cart":2,"prov":2,"coin":2},"ships":2,"id":"lord_warwick_l"}, ], vassals:[ -{"service":3,"name":"Westmoreland","seat":2,"influence":0,"box":{"x":598,"y":488,"w":27,"h":30}}, -{"service":1,"name":"Stanley","seat":44,"influence":0,"box":{"x":631,"y":862,"w":27,"h":30}}, -{"service":1,"name":"Dudley","seat":42,"influence":0,"box":{"x":727,"y":921,"w":27,"h":30}}, -{"service":2,"name":"Shrewsbury","seat":10,"influence":-1,"box":{"x":480,"y":900,"w":27,"h":30}}, -{"service":3,"name":"Worcester","seat":46,"influence":0,"box":{"x":621,"y":1014,"w":27,"h":30}}, -{"service":2,"name":"Oxford","seat":28,"influence":0,"box":{"x":772,"y":1132,"w":27,"h":30}}, -{"service":1,"name":"Essex","seat":31,"influence":0,"box":{"x":959,"y":1103,"w":27,"h":30}}, -{"service":3,"name":"Suffolk","seat":35,"influence":1,"box":{"x":1161,"y":1043,"w":27,"h":30}}, -{"service":3,"name":"Fauconberg","seat":17,"influence":2,"box":{"x":1095,"y":1297,"w":27,"h":30}}, -{"service":1,"name":"Norfolk","seat":14,"influence":0,"box":{"x":848,"y":1353,"w":27,"h":30}}, -{"service":2,"name":"Devon","seat":21,"influence":-1,"box":{"x":406,"y":1400,"w":27,"h":30}}, -{"service":1,"name":"Bonville","seat":23,"influence":1,"box":{"x":174,"y":1377,"w":27,"h":30}}, -{"service":1,"name":"Beaumont","seat":49,"influence":-2,"box":{"x":753,"y":787,"w":27,"h":30}}, +{"service":3,"name":"Westmoreland","seat":43,"influence":0,"box":{"x":598,"y":488,"w":27,"h":30}}, +{"service":1,"name":"Stanley","seat":34,"influence":0,"box":{"x":631,"y":862,"w":27,"h":30}}, +{"service":1,"name":"Dudley","seat":36,"influence":0,"box":{"x":727,"y":921,"w":27,"h":30}}, +{"service":2,"name":"Shrewsbury","seat":52,"influence":-1,"box":{"x":480,"y":900,"w":27,"h":30}}, +{"service":3,"name":"Worcester","seat":28,"influence":0,"box":{"x":621,"y":1014,"w":27,"h":30}}, +{"service":2,"name":"Oxford","seat":25,"influence":0,"box":{"x":772,"y":1132,"w":27,"h":30}}, +{"service":1,"name":"Essex","seat":40,"influence":0,"box":{"x":959,"y":1103,"w":27,"h":30}}, +{"service":3,"name":"Suffolk","seat":2,"influence":1,"box":{"x":1161,"y":1043,"w":27,"h":30}}, +{"service":3,"name":"Fauconberg","seat":11,"influence":2,"box":{"x":1095,"y":1297,"w":27,"h":30}}, +{"service":1,"name":"Norfolk","seat":10,"influence":0,"box":{"x":848,"y":1353,"w":27,"h":30}}, +{"service":2,"name":"Devon","seat":6,"influence":-1,"box":{"x":406,"y":1400,"w":27,"h":30}}, +{"service":1,"name":"Bonville","seat":21,"influence":1,"box":{"x":174,"y":1377,"w":27,"h":30}}, +{"service":1,"name":"Beaumont","seat":23,"influence":-2,"box":{"x":753,"y":787,"w":27,"h":30}}, {"service":0,"name":"Trollope","seat":-1,"influence":0,"capability":"Andrew Trollope","box":null}, {"service":0,"name":"Clifford","seat":-1,"influence":0,"capability":"My father's blood","box":null}, {"service":0,"name":"Edward","seat":-1,"influence":0,"capability":"Edward","box":null}, @@ -529,25 +529,25 @@ function get_lord_influence(lord: Lord): number { } // from !node tools/gendata.js -function is_seaport(x: Locale) { return x === 1 || (x >= 5 && x <= 6) || (x >= 14 && x <= 15) || x === 17 || (x >= 19 && x <= 22) || x === 24 || x === 26 || x === 35 || x === 37 || x === 51 || (x >= 56 && x <= 57) } -function is_port_1(x: Locale) { return x === 1 || x === 35 || x === 37 || (x >= 56 && x <= 57) } -function is_port_2(x: Locale) { return (x >= 14 && x <= 15) || x === 17 || (x >= 19 && x <= 22) || x === 24 || x === 51 } -function is_port_3(x: Locale) { return (x >= 5 && x <= 6) || x === 26 } -function is_adjacent_north_sea(x: Locale) { return x === 1 || x === 35 || x === 37 || (x >= 56 && x <= 57) } -function is_adjacent_english_channel(x: Locale) { return (x >= 14 && x <= 15) || x === 17 || (x >= 19 && x <= 22) || x === 24 || x === 51 } -function is_adjacent_irish_sea(x: Locale) { return (x >= 5 && x <= 6) || x === 26 } -function is_stronghold(x: Locale) { return (x >= 0 && x <= 51) || (x >= 56 && x <= 57) } -function is_fortress(x: Locale) { return x === 0 || x === 6 || x === 9 || x === 37 || x === 57 } -function is_north(x: Locale) { return (x >= 0 && x <= 4) || x === 56 } -function is_city(x: Locale) { return x === 1 || x === 4 || (x >= 7 && x <= 8) || (x >= 10 && x <= 13) || x === 16 || x === 18 || x === 21 || x === 23 || (x >= 25 && x <= 28) || x === 36 || (x >= 38 && x <= 39) || x === 41 || x === 43 || (x >= 46 && x <= 47) || (x >= 49 && x <= 50) } -function is_town(x: Locale) { return (x >= 2 && x <= 3) || (x >= 14 && x <= 15) || x === 17 || (x >= 19 && x <= 20) || x === 22 || x === 24 || x === 29 || (x >= 31 && x <= 35) || x === 40 || x === 42 || (x >= 44 && x <= 45) || x === 48 || x === 56 } -function is_harlech(x: Locale) { return x === 5 } -function is_wales(x: Locale) { return (x >= 5 && x <= 10) } -function is_south(x: Locale) { return (x >= 11 && x <= 19) } -function is_england(x: Locale) { return (x >= 20 && x <= 51) || x === 57 } +function is_seaport(x: Locale) { return (x >= 0 && x <= 16) } +function is_port_1(x: Locale) { return (x >= 0 && x <= 4) } +function is_port_2(x: Locale) { return (x >= 5 && x <= 13) } +function is_port_3(x: Locale) { return (x >= 14 && x <= 16) } +function is_adjacent_north_sea(x: Locale) { return (x >= 0 && x <= 4) } +function is_adjacent_english_channel(x: Locale) { return (x >= 5 && x <= 13) } +function is_adjacent_irish_sea(x: Locale) { return (x >= 14 && x <= 16) } +function is_stronghold(x: Locale) { return (x >= 0 && x <= 53) } +function is_fortress(x: Locale) { return (x >= 0 && x <= 1) || x === 15 || x === 42 || x === 53 } +function is_england(x: Locale) { return (x >= 0 && x <= 2) || (x >= 5 && x <= 9) || x === 14 || (x >= 17 && x <= 40) } +function is_town(x: Locale) { return x === 2 || x === 4 || (x >= 7 && x <= 13) || (x >= 31 && x <= 40) || (x >= 43 && x <= 44) } +function is_city(x: Locale) { return x === 3 || x === 6 || x === 14 || (x >= 17 && x <= 29) || x === 41 || (x >= 45 && x <= 52) } +function is_north(x: Locale) { return (x >= 3 && x <= 4) || (x >= 41 && x <= 44) } +function is_calais(x: Locale) { return x === 5 } +function is_south(x: Locale) { return (x >= 10 && x <= 13) || (x >= 45 && x <= 49) } +function is_wales(x: Locale) { return (x >= 15 && x <= 16) || (x >= 50 && x <= 53) } +function is_harlech(x: Locale) { return x === 16 } function is_london(x: Locale) { return x === 30 } -function is_calais(x: Locale) { return x === 51 } -function is_exile_box(x: Locale) { return (x >= 52 && x <= 55) } +function is_exile_box(x: Locale) { return (x >= 54 && x <= 57) } function is_sea(x: Locale) { return (x >= 58 && x <= 60) } function is_adjacent(a: Locale, b: Locale) { diff --git a/tools/gendata.js b/tools/gendata.js index 71c3855..2620c66 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -190,70 +190,69 @@ function path(a,b) { return defway('path', a, b) } // LOCALES -defloc("North", "fortress", "Bamburgh") -defloc("North", "city", "Newcastle") -defloc("North", "town", "Appleby") -defloc("North", "town", "Hexham") -defloc("North", "city", "Carlisle") - -defloc("Wales", "harlech", "Harlech") -defloc("Wales", "fortress", "Pembroke") -defloc("Wales", "city", "Cardiff") -defloc("Wales", "city", "Hereford") -defloc("Wales", "fortress", "Ludlow") -defloc("Wales", "city", "Shrewsbury") +defloc("England", "fortress", "Lynn") +defloc("England", "fortress", "Ravenspur") +defloc("England", "town", "Ipswich") +defloc("North", "city", "Newcastle") +defloc("North", "town", "Scarborough") -defloc("South", "city", "Salisbury") -defloc("South", "city", "Winchester") -defloc("South", "city", "Guildford") +defloc("England", "calais", "Calais") +defloc("England", "city", "Exeter") +defloc("England", "town", "Dorchester") +defloc("England", "town", "Plymouth") +defloc("England", "town", "Truro") defloc("South", "town", "Arundel") -defloc("South", "town", "Southampton") -defloc("South", "city", "Rochester") defloc("South", "town", "Dover") -defloc("South", "city", "Canterbury") defloc("South", "town", "Hastings") +defloc("South", "town", "Southampton") -defloc("England", "town", "Dorchester") -defloc("England", "city", "Exeter") -defloc("England", "town", "Plymouth") -defloc("England", "city", "Launceston") -defloc("England", "town", "Truro") -defloc("England", "city", "Wells") defloc("England", "city", "Bristol") +defloc("Wales", "fortress", "Pembroke") +defloc("Wales", "harlech", "Harlech") + +defloc("England", "city", "Chester") +defloc("England", "city", "Coventry") +defloc("England", "city", "Ely") defloc("England", "city", "Gloucester") +defloc("England", "city", "Launceston") +defloc("England", "city", "Lichfield") +defloc("England", "city", "Lincoln") +defloc("England", "city", "Norwich") defloc("England", "city", "Oxford") -defloc("England", "town", "Newbury") +defloc("England", "city", "Peterborough") +defloc("England", "city", "Wells") +defloc("England", "city", "Worcester") +defloc("England", "city", "York") defloc("England", "london", "London") -defloc("England", "town", "St Albans") defloc("England", "town", "Bedford") -defloc("England", "town", "Cambridge") defloc("England", "town", "Bury St Edmunds") -defloc("England", "town", "Ipswich") -defloc("England", "city", "Norwich") -defloc("England", "fortress", "Lynn") -defloc("England", "city", "Ely") -defloc("England", "city", "Peterborough") -defloc("England", "town", "Northampton") -defloc("England", "city", "Coventry") -defloc("England", "town", "Leicester") -defloc("England", "city", "Lichfield") +defloc("England", "town", "Cambridge") defloc("England", "town", "Derby") -defloc("England", "town", "Nottingham") -defloc("England", "city", "Worcester") -defloc("England", "city", "Chester") defloc("England", "town", "Lancaster") -defloc("England", "city", "Lincoln") -defloc("England", "city", "York") -defloc("England", "calais", "Calais") +defloc("England", "town", "Leicester") +defloc("England", "town", "Newbury") +defloc("England", "town", "Northampton") +defloc("England", "town", "Nottingham") +defloc("England", "town", "St Albans") +defloc("North", "city", "Carlisle") +defloc("North", "fortress", "Bamburgh") +defloc("North", "town", "Appleby") +defloc("North", "town", "Hexham") +defloc("South", "city", "Canterbury") +defloc("South", "city", "Guildford") +defloc("South", "city", "Rochester") +defloc("South", "city", "Salisbury") +defloc("South", "city", "Winchester") +defloc("Wales", "city", "Cardiff") +defloc("Wales", "city", "Hereford") +defloc("Wales", "city", "Shrewsbury") +defloc("Wales", "fortress", "Ludlow") +defloc(null, "exile_box", "Burgundy") defloc(null, "exile_box", "France") -defloc(null, "exile_box", "Scotland") defloc(null, "exile_box", "Ireland") -defloc(null, "exile_box", "Burgundy") - -defloc("North", "town", "Scarborough") -defloc("England", "fortress", "Ravenspur") +defloc(null, "exile_box", "Scotland") defloc(null, "sea", "English Channel") defloc(null, "sea", "Irish Sea") |