diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 122 |
1 files changed, 61 insertions, 61 deletions
@@ -423,70 +423,70 @@ function lord_has_capability(lord, card_or_list) { // === BUILD UI === const original_boxes = { - "box1": [238,72,103,163], - "box2": [341,72,103,163], - "box3": [444,72,99,163], - "box4": [544,72,103,163], - "box5": [646,72,104,163], - "box6": [773,72,102,163], - "box7": [875,72,102,163], - "box8": [977,72,102,163], - "box9": [1079,72,99,163], - "box10": [1178,72,102,163], - "box11": [773,296,107,155], - "box12": [880,296,97,155], - "box13": [977,296,102,155], - "box14": [1079,296,114,155], - "box15": [1192,296,93,155], - "box16": [1285,296,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: [1247,258,65,155], } const track_boxes = [ - [60,1613,48,48], - [109,1613,47,48], - [156,1613,46,48], - [203,1613,46,48], - [249,1613,48,48], - [297,1613,47,48], - [344,1613,48,48], - [392,1613,47,48], - [439,1613,46,48], - [485,1613,47,48], - [532,1613,49,49], - [581,1613,47,49], - [628,1613,47,49], - [675,1613,48,49], - [723,1613,46,48], - [769,1613,48,48], - [817,1613,47,48], - [864,1613,48,48], - [911,1613,46,48], - [958,1613,48,48], - [1006,1613,46,49], - [1052,1613,48,49], - [1100,1613,47,49], - [1147,1613,48,49], - [1195,1613,46,49], - [1241,1615,49,47], - [1241,1568,49,47], - [1241,1472,49,47], - [1241,1426,49,46], - [1241,1378,49,48], - [1241,1330,49,48], - [1241,1282,49,48], - [1241,1236,49,46], - [1241,1189,49,47], - [1241,1142,49,47], - [1241,1095,49,46], - [1241,1048,49,47], - [1241,998,49,50], - [1241,952,47,46], - [1241,903,47,48], - [1241,857,47,46], - [1241,812,51,45], - [1241,762,51,50], - [1241,714,51,48], - [1241,668,47,46], + [22,1575,48,48], + [71,1575,47,48], + [118,1575,46,48], + [165,1575,46,48], + [211,1575,48,48], + [259,1575,47,48], + [306,1575,48,48], + [354,1575,47,48], + [401,1575,46,48], + [447,1575,47,48], + [494,1575,49,49], + [543,1575,47,49], + [590,1575,47,49], + [637,1575,48,49], + [685,1575,46,48], + [731,1575,48,48], + [779,1575,47,48], + [826,1575,48,48], + [873,1575,46,48], + [920,1575,48,48], + [968,1575,46,49], + [1014,1575,48,49], + [1062,1575,47,49], + [1109,1575,48,49], + [1157,1575,46,49], + [1203,1577,49,47], + [1203,1530,49,47], + [1203,1434,49,47], + [1203,1388,49,46], + [1203,1340,49,48], + [1203,1292,49,48], + [1203,1244,49,48], + [1203,1198,49,46], + [1203,1151,49,47], + [1203,1104,49,47], + [1203,1057,49,46], + [1203,1010,49,47], + [1203,960,49,50], + [1203,914,47,46], + [1203,865,47,48], + [1203,819,47,46], + [1203,774,51,45], + [1203,724,51,50], + [1203,676,51,48], + [1203,630,47,46], ] const track_xy = track_boxes.map(([x,y,w,h])=>[x+w/2,y+h/2]) |