From 13120044a829556a4b430539635c7c81741fed53 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Mon, 21 Aug 2023 15:21:38 +0200 Subject: new boxes for vassals, seats, favour and deplete --- tools/gendata.js | 182 +++++++- tools/layout.svg | 1297 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 1447 insertions(+), 32 deletions(-) diff --git a/tools/gendata.js b/tools/gendata.js index 317267b..52da6d7 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -119,24 +119,174 @@ const boxes = { "Irish Sea": [233,667,160,93], "English Channel": [564,1461,173,69], "North Sea": [1106,749,97,117], - "box16": [1247,258,65,155], - "box1": [200,34,103,163], - "box2": [303,34,103,163], - "box3": [406,34,99,163], - "box4": [506,34,103,163], - "box5": [608,34,104,163], - "box6": [735,34,102,163], - "box7": [837,34,102,163], - "box8": [939,34,102,163], - "box9": [1041,34,99,163], - "box10": [1140,34,102,163], - "box11": [735,258,107,155], - "box12": [842,258,97,155], - "box13": [939,258,102,155], - "box14": [1041,258,114,155], - "box15": [1154,258,93,155], + "box16": [938,423,310,52], + "box1": [204,38,100,162], + "box2": [306,38,100,162], + "box3": [408,38,100,162], + "box4": [510,38,100,162], + "box5": [612,38,100,162], + "box6": [734,38,100,162], + "box7": [836,38,100,162], + "box8": [938,38,100,162], + "box9": [1040,38,100,162], + "box10": [1142,38,100,162], + "box11": [734,260,100,162], + "box12": [836,260,100,162], + "box13": [938,260,100,162], + "box14": [1040,260,100,162], + "box15": [1142,260,100,162], + "Plymouth favour": [253,1417,58,50], + "Harlech favour": [278,912,67,61], + "Shrewsbury favour": [500,865,78,69], + "Ludlow favour": [476,976,54,34], + "Worcester favour": [556,992,72,64], + "Coventry favour": [675,967,67,63], + "Leicester favour": [758,906,49,46], + "Peterborough favour": [828,930,66,62], + "Ely favour": [921,952,65,66], + "Lynn favour": [962,895,47,38], + "Norwich favour": [1059,890,67,62], + "Bury St Edmunds favour": [997,995,54,45], + "Ipswich favour": [1100,1030,58,43], + "Pembroke favour": [185,1127,58,37], + "Cardiff favour": [392,1164,65,65], + "Hereford favour": [476,1040,71,65], + "Gloucester favour": [564,1092,68,62], + "Northampton favour": [748,1013,64,54], + "Bedford favour": [836,1044,65,48], + "Cambridge favour": [901,1021,54,45], + "St Albans favour": [901,1092,54,40], + "Oxford favour": [707,1101,70,63], + "Newbury favour": [665,1194,66,44], + "Bristol favour": [498,1185,63,58], + "Salisbury favour": [610,1268,73,66], + "Wells favour": [504,1262,68,66], + "Winchester favour": [722,1262,71,60], + "Guildford favour": [841,1249,74,59], + "London favour": [874,1164,94,72], + "Rochester favour": [983,1185,65,68], + "Canterbury favour": [1059,1203,66,65], + "Dover favour": [1041,1287,53,41], + "Hastings favour": [983,1322,55,46], + "Arundel favour": [794,1334,56,48], + "Southampton favour": [677,1371,60,48], + "Dorchester favour": [524,1368,58,49], + "Exeter favour": [342,1376,64,66], + "Launceston favour": [201,1354,68,60], + "Truro favour": [142,1445,56,53], + "Lichfield favour": [613,906,74,61], + "Nottingham favour": [718,845,73,40], + "Derby favour": [656,845,62,49], + "Chester favour": [433,797,78,64], + "Lincoln favour": [767,760,78,64], + "Ravenspur favour": [835,721,72,45], + "Lancaster favour": [476,595,70,51], + "York favour": [691,623,76,65], + "Scarborough favour": [791,532,78,57], + "Newcastle favour": [656,419,70,77], + "Appleby favour": [546,465,57,52], + "Hexham favour": [561,395,53,47], + "Carlisle favour": [436,422,81,63], + "Bamburgh favour": [637,300,60,45], + "Burgundy favour": [996,688,110,121], + "Ireland deplete": [50,939,110,121], + "Calais favour": [1134,1418,67,79], + "France favour": [890,1430,109,114], + "Scotland favour": [450,278,111,118], + "Calais deplete": [1145,1408,67,79], + "Scotland deplete": [450,268,111,118], + "France deplete": [890,1420,109,114], + "Burgundy deplete": [996,678,110,121], + "Bamburgh deplete": [647,290,60,45], + "Carlisle deplete": [446,412,81,63], + "Hexham deplete": [571,385,53,47], + "Appleby deplete": [556,455,57,52], + "Newcastle deplete": [668,409,70,77], + "Scarborough deplete": [801,522,78,57], + "York deplete": [701,613,76,65], + "Lancaster deplete": [486,585,70,51], + "Ravenspur deplete": [845,711,72,45], + "Lincoln deplete": [777,750,78,64], + "Chester deplete": [443,787,78,64], + "Derby deplete": [656,835,62,49], + "Nottingham deplete": [728,835,73,40], + "Lichfield deplete": [603,896,74,61], + "Truro deplete": [132,1435,56,53], + "Launceston deplete": [211,1344,68,60], + "Exeter deplete": [352,1366,64,66], + "Dorchester deplete": [514,1358,58,49], + "Southampton deplete": [667,1361,60,48], + "Arundel deplete": [784,1324,56,48], + "Hastings deplete": [973,1312,55,46], + "Dover deplete": [1031,1277,53,41], + "Canterbury deplete": [1069,1193,66,65], + "Rochester deplete": [993,1175,65,68], + "London deplete": [864,1154,94,72], + "Guildford deplete": [851,1259,74,59], + "Winchester deplete": [732,1252,71,60], + "Wells deplete": [514,1252,68,66], + "Salisbury deplete": [620,1258,73,66], + "Bristol deplete": [508,1175,63,58], + "Newbury deplete": [655,1184,66,44], + "Oxford deplete": [697,1091,70,63], + "St Albans deplete": [891,1102,54,40], + "Cambridge deplete": [911,1031,54,45], + "Bedford deplete": [826,1034,65,48], + "Northampton deplete": [758,1003,64,54], + "Gloucester deplete": [574,1082,68,62], + "Hereford deplete": [466,1030,71,65], + "Cardiff deplete": [382,1154,65,65], + "Pembroke deplete": [195,1117,58,37], + "Ipswich deplete": [1110,1020,58,43], + "Bury St Edmunds deplete": [1007,985,54,45], + "Norwich deplete": [1069,880,67,62], + "Lynn deplete": [972,885,47,38], + "Ely deplete": [931,942,65,66], + "Peterborough deplete": [838,920,66,62], + "Leicester deplete": [768,896,49,46], + "Coventry deplete": [685,957,67,63], + "Worcester deplete": [546,982,72,64], + "Ludlow deplete": [486,966,54,34], + "Shrewsbury deplete": [510,855,78,69], + "Harlech deplete": [288,902,67,61], + "Plymouth deplete": [263,1407,58,50], + "Appleby vassal": [602,466,54,56], + "Derby vassal": [605,836,54,56], + "Leicester vassal": [704,898,54,56], + "Shrewsbury vassal": [453,881,54,56], + "Worcester vassal": [616,999,54,56], + "Oxford vassal": [776,1109,54,56], + "St Albans vassal": [955,1082,54,56], + "Ipswich vassal": [1156,1020,54,56], + "Dover vassal": [1094,1279,54,56], + "Arundel vassal": [850,1330,54,56], + "Exeter vassal": [406,1381,54,56], + "Launceston vassal": [146,1359,54,56], + "Henry_VI seat": [944,1144,54,56], + "Margaret seat": [944,1144,54,56], + "Henry Tudor seat": [944,1144,54,56], + "Edward_IV seat": [944,1169,54,56], + "Richard_III seat": [944,1169,54,56], + "Gloucester seat": [620,1061,54,56], + "Salisbury seat": [653,617,54,56], + "Clarence seat": [654,593,54,56], + "Northumberland seat": [397,405,54,56], + "Lincoln vassal": [726,763,54,56], + "Buckingham seat": [715,958,54,56], + "March seat": [432,947,54,56], + "Jasper_Tudor1 seat": [230,888,54,56], + "Jasper_Tudor2 seat": [147,1067,54,56], + "Oxford seat": [771,1092,54,56], + "Rutland seat": [1113,1181,54,56], + "Warwick seat": [1118,1385,54,56], + "Exeter seat": [405,1391,54,56], + "Devon seat": [405,1391,54,56], + "Pembroke seat": [145,1108,54,56], + "Somerset seat": [453,1248,54,56], + "Arundel seat": [850,1330,54,56], } + let data = [] function print(str) { data.push(str) diff --git a/tools/layout.svg b/tools/layout.svg index f5cf298..74af401 100644 --- a/tools/layout.svg +++ b/tools/layout.svg @@ -1,20 +1,20 @@ + inkscape:version="1.2.2 (732a01da63, 2022-12-09)" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> @@ -38,13 +38,13 @@ inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" showgrid="true" - inkscape:zoom="1.5362746" - inkscape:cx="799.00859" - inkscape:cy="450.88239" + inkscape:zoom="0.7681373" + inkscape:cx="586.48369" + inkscape:cy="1208.7683" inkscape:window-width="1920" - inkscape:window-height="1057" - inkscape:window-x="-8" - inkscape:window-y="-8" + inkscape:window-height="991" + inkscape:window-x="-9" + inkscape:window-y="-9" inkscape:window-maximized="1" inkscape:current-layer="g8" inkscape:document-rotation="0" @@ -65,7 +65,6 @@ inkscape:label="Image" id="g8"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3