diff options
-rw-r--r-- | data.js | 22 | ||||
-rw-r--r-- | tools/gendata.js | 11 |
2 files changed, 18 insertions, 15 deletions
@@ -1,9 +1,9 @@ const data = { -seaports:[1,5,6,15,17,19,20,21,22,24,26,35,37,51,null,null], -strongholds:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58], +seaports:[1,5,6,15,17,19,20,21,22,24,26,35,37,51,56,57], +strongholds:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60], locales:[ {"name":"Bamburgh","type":"fortress","stronghold":1,"region":"North","ways":[[1,0]],"box":{"x":168,"y":84,"w":15,"h":12},"adjacent":[1],"adjacent_by_highway":[1],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[[1,0]],"roads":[],"paths":[]}, -{"name":"Newcastle","type":"city","stronghold":1,"region":"North","ways":[[0,0],[50,1],[3,22],[2,24]],"box":{"x":173,"y":114,"w":18,"h":20},"adjacent":[0,2,3,50],"adjacent_by_highway":[0,50],"adjacent_by_road":[2,3],"adjacent_by_path":[],"highways":[[0,0],[50,1]],"roads":[[2,24],[3,22]],"paths":[]}, +{"name":"Newcastle","type":"city","stronghold":1,"region":"North","ways":[[0,0],[50,1],[3,22],[2,24],[56,71]],"box":{"x":173,"y":114,"w":18,"h":20},"adjacent":[0,2,3,50,56],"adjacent_by_highway":[0,50],"adjacent_by_road":[2,3,56],"adjacent_by_path":[],"highways":[[0,0],[50,1]],"roads":[[2,24],[3,22],[56,71]],"paths":[]}, {"name":"Appleby","type":"town","stronghold":1,"region":"North","ways":[[4,23],[1,24],[48,65]],"box":{"x":146,"y":125,"w":15,"h":13},"adjacent":[1,4,48],"adjacent_by_highway":[],"adjacent_by_road":[1,4],"adjacent_by_path":[48],"highways":[],"roads":[[1,24],[4,23]],"paths":[[48,65]]}, {"name":"Hexham","type":"town","stronghold":1,"region":"North","ways":[[4,21],[1,22]],"box":{"x":149,"y":108,"w":14,"h":12},"adjacent":[1,4],"adjacent_by_highway":[],"adjacent_by_road":[1,4],"adjacent_by_path":[],"highways":[],"roads":[[1,22],[4,21]],"paths":[]}, {"name":"Carlisle","type":"town","stronghold":1,"region":"North","ways":[[3,21],[2,23]],"box":{"x":118,"y":115,"w":21,"h":16},"adjacent":[2,3],"adjacent_by_highway":[],"adjacent_by_road":[2,3],"adjacent_by_path":[],"highways":[],"roads":[[2,23],[3,21]],"paths":[]}, @@ -51,18 +51,18 @@ locales:[ {"name":"Worcester","type":"city","stronghold":1,"region":"England","ways":[[27,13],[43,44],[9,46]],"box":{"x":148,"y":257,"w":18,"h":16},"adjacent":[9,27,43],"adjacent_by_highway":[27],"adjacent_by_road":[9,43],"adjacent_by_path":[],"highways":[[27,13]],"roads":[[9,46],[43,44]],"paths":[]}, {"name":"Chester","type":"city","stronghold":1,"region":"England","ways":[[10,27],[48,66],[50,67],[5,68]],"box":{"x":117,"y":208,"w":20,"h":16},"adjacent":[5,10,48,50],"adjacent_by_highway":[],"adjacent_by_road":[10],"adjacent_by_path":[5,48,50],"highways":[],"roads":[[10,27]],"paths":[[5,68],[48,66],[50,67]]}, {"name":"Lancaster","type":"town","stronghold":1,"region":"England","ways":[[2,65],[47,66]],"box":{"x":128,"y":158,"w":18,"h":13},"adjacent":[2,47],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[2,47],"highways":[],"roads":[],"paths":[[2,65],[47,66]]}, -{"name":"Lincoln","type":"city","stronghold":1,"region":"England","ways":[[50,2],[39,3],[45,25]],"box":{"x":201,"y":199,"w":20,"h":16},"adjacent":[39,45,50],"adjacent_by_highway":[39,50],"adjacent_by_road":[45],"adjacent_by_path":[],"highways":[[39,3],[50,2]],"roads":[[45,25]],"paths":[]}, -{"name":"York","type":"city","stronghold":1,"region":"England","ways":[[1,1],[49,2],[47,67]],"box":{"x":182,"y":165,"w":19,"h":17},"adjacent":[1,47,49],"adjacent_by_highway":[1,49],"adjacent_by_road":[],"adjacent_by_path":[47],"highways":[[1,1],[49,2]],"roads":[],"paths":[[47,67]]}, +{"name":"Lincoln","type":"city","stronghold":1,"region":"England","ways":[[50,2],[39,3],[45,25],[57,74]],"box":{"x":201,"y":199,"w":20,"h":16},"adjacent":[39,45,50,57],"adjacent_by_highway":[39,50],"adjacent_by_road":[45,57],"adjacent_by_path":[],"highways":[[39,3],[50,2]],"roads":[[45,25],[57,74]],"paths":[]}, +{"name":"York","type":"city","stronghold":1,"region":"England","ways":[[1,1],[49,2],[47,67],[56,72],[57,73]],"box":{"x":182,"y":165,"w":19,"h":17},"adjacent":[1,47,49,56,57],"adjacent_by_highway":[1,49],"adjacent_by_road":[56,57],"adjacent_by_path":[47],"highways":[[1,1],[49,2]],"roads":[[56,72],[57,73]],"paths":[[47,67]]}, {"name":"Calais","type":"calais","stronghold":1,"region":"England","ways":[],"box":{"x":293,"y":364,"w":17,"h":20},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, {"name":"France","type":"exile","stronghold":1,"region":"England","ways":[],"box":{"x":232,"y":367,"w":28,"h":29},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, {"name":"Scotland","type":"exile","stronghold":1,"region":"England","ways":[],"box":{"x":122,"y":79,"w":28,"h":30},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, {"name":"Ireland","type":"exile","stronghold":1,"region":"England","ways":[],"box":{"x":22,"y":246,"w":28,"h":31},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, {"name":"Burgundy","type":"exile","stronghold":1,"region":"England","ways":[],"box":{"x":258,"y":181,"w":28,"h":31},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, +{"name":"Scarborough","type":"town","stronghold":1,"region":"North","ways":[[1,71],[50,72]],"box":{"x":207,"y":142,"w":20,"h":15},"adjacent":[1,50],"adjacent_by_highway":[],"adjacent_by_road":[1,50],"adjacent_by_path":[],"highways":[],"roads":[[1,71],[50,72]],"paths":[]}, +{"name":"Ravenspur","type":"fortress","stronghold":1,"region":"England","ways":[[50,73],[49,74]],"box":{"x":218,"y":189,"w":18,"h":12},"adjacent":[49,50],"adjacent_by_highway":[],"adjacent_by_road":[49,50],"adjacent_by_path":[],"highways":[],"roads":[[49,74],[50,73]],"paths":[]}, {"name":"English Channel","type":"sea","stronghold":1,"region":"England","ways":[],"box":{"x":150,"y":374,"w":44,"h":18},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, {"name":"Irish Sea","type":"sea","stronghold":1,"region":"England","ways":[],"box":{"x":67,"y":176,"w":40,"h":24},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, {"name":"North Sea","type":"sea","stronghold":1,"region":"England","ways":[],"box":{"x":286,"y":196,"w":25,"h":30},"adjacent":[],"adjacent_by_highway":[],"adjacent_by_road":[],"adjacent_by_path":[],"highways":[],"roads":[],"paths":[]}, -{"name":"Scarborough","type":"town","stronghold":1,"region":"North","ways":[[1,73],[50,71]],"box":{"x":207,"y":142,"w":20,"h":15},"adjacent":[1,50],"adjacent_by_highway":[],"adjacent_by_road":[1,50],"adjacent_by_path":[],"highways":[],"roads":[[1,73],[50,71]],"paths":[]}, -{"name":"Ravenspur","type":"town","stronghold":1,"region":"England","ways":[[49,23],[50,24]],"box":{"x":218,"y":189,"w":18,"h":15},"adjacent":[50,49],"adjacent_by_highway":[],"adjacent_by_road":[50,49],"adjacent_by_path":[],"highways":[],"roads":[[49,23],[50,24]],"paths":[]}, ], ways:[ {"type":"highway","locales":[0,1]}, @@ -136,10 +136,10 @@ ways:[ {"type":"path","locales":[5,47]}, {"type":"path","locales":[5,6]}, {"type":"path","locales":[6,7]}, -{"type":"road","locales":[59,50]}, -{"type":"road","locales":[60,50]}, -{"type":"road","locales":[59,1]}, -{"type":"road","locales":[60,49]}, +{"type":"road","locales":[1,56]}, +{"type":"road","locales":[50,56]}, +{"type":"road","locales":[50,57]}, +{"type":"road","locales":[49,57]}, ], lords:[ {"side":"York","name":"York","full_name":"Richard Plantagenet","title":"Duke of York","seats":[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,"image":0}, diff --git a/tools/gendata.js b/tools/gendata.js index 24a6f74..8595fcd 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -248,10 +248,13 @@ defloc("England", 1, "exile", "France") defloc("England", 1, "exile", "Scotland") defloc("England", 1, "exile", "Ireland") defloc("England", 1, "exile", "Burgundy") +defloc("North", 1, "town", "Scarborough") +defloc("England", 1, "fortress", "Ravenspur") defloc("England", 1, "sea", "English Channel") defloc("England", 1, "sea", "Irish Sea") defloc("England", 1, "sea", "North Sea") + highway("Bamburgh, Newcastle") highway("Newcastle, York") highway("York, Lincoln") @@ -325,10 +328,10 @@ path("Chester, Harlech") path("Harlech, Pembroke") path("Pembroke, Cardiff") -//road("Newcastle, Scarborough") -//road("Scarborough, York") -//road("York, Ravenspur") -//road("Ravenspur, Lincoln") +road("Newcastle, Scarborough") +road("Scarborough, York") +road("York, Ravenspur") +road("Ravenspur, Lincoln") let seaports = [ "Newcastle", "Scarborough", "Ravenspur", "Lynn", "Ipswich", "Dover", "Hastings", "Calais", "Southampton","Dorchester","Exeter","Plymouth","Truro","Bristol","Pembroke","Harlech" |