diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-07 18:12:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | afd0b027c4843c2d9b6c76ec8c6808feb4e974cb (patch) | |
tree | 23490524cd0e4cba9b5eea11535182dd0657adbb | |
parent | 8bedd10f765bb14712a143d1fb8c8373601668da (diff) | |
download | plantagenet-afd0b027c4843c2d9b6c76ec8c6808feb4e974cb.tar.gz |
lords only have one seat
-rw-r--r-- | data.js | 56 | ||||
-rw-r--r-- | rules.js | 14 | ||||
-rw-r--r-- | tools/gendata.js | 60 |
3 files changed, 63 insertions, 67 deletions
@@ -146,34 +146,34 @@ ways:[ [], ], 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,"id":"lord_york"}, -{"side":"York","name":"March","full_name":"Edward Plantagenet","title":"Earl of March","seats":[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":"Edward IV","full_name":"Edward Plantagenet","title":"King of England","seats":[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","full_name":"Richard Neville","title":"Earl of Salisbury","seats":[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","full_name":"Edmund Plantagenet","title":"Earl of Rutland","seats":[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","full_name":"William Herbert","title":"Earl of Pembroke","seats":[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","full_name":"Humpfrey Stafford","title":"Earl of Devon","seats":[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","full_name":"Henry Percy","title":"Northumberland","seats":[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","full_name":"Henry Percy","title":"Northumberland","seats":[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","full_name":"Richard Plantagenet","title":"Duke of Gloucester","seats":[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":"Gloucester 2","full_name":"Richard Plantagenet","title":"Duke of Gloucester","seats":[27],"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","full_name":"Richard Plantagenet","title":"King of England","seats":[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","full_name":"John Howard","title":"Duke of Norfolk","seats":[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","full_name":"Richard Neville","title":"Earl of Warwick","seats":[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":"Lancaster","name":"Henry VI","full_name":"Henry VI","title":"King of England","seats":[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","full_name":"Margaret d'Anjou","title":"Queen of England","seats":[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","full_name":"Henry Beaufort","title":"Duke of Somerset","seats":[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","full_name":"Edmund Beaufort","title":"Duke of Somerset","seats":[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","full_name":"Henry Holland","title":"Duke of Exeter","seats":[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","full_name":"Henry Holland","title":"Duke of Exeter","seats":[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","full_name":"Humphrey Stafford","title":"Duke of Buckingham","seats":[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","full_name":"Henry Percy","title":"Earl of Northumberland","seats":[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","full_name":"George Plantagenet","title":"Duke of Clarence","seats":[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","full_name":"Jasper Tudor","title":"Earl of Pembroke","seats":[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","full_name":"Jasper Tudor","title":"Earl of Pembroke","seats":[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":"Henry Tudor","full_name":"Henry Tudor","title":"","seats":[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","full_name":"John de Vere","title":"Earl of Oxford","seats":[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","full_name":"Richard Neville","title":"Earl of Warwick","seats":[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":"York","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","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":"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","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","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","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","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","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","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","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":"Gloucester 2","full_name":"Richard Plantagenet","title":"Duke of Gloucester","seat":27,"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","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","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","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":"Lancaster","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","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","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","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","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","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","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","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","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","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","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":"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","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","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"}, ], vassals:[ {"service":3,"name":"Westmoreland","seat":2,"influence":0}, @@ -1387,7 +1387,7 @@ function is_lord_at_seat(lord) { } function has_locale_to_muster(lord) { - if (!has_enemy_lord(data.lords[lord].seats[0])) + if (!has_enemy_lord(data.lords[lord].seat)) return true for (let l = first_friendly_lord; l <= last_friendly_lord; l++) { @@ -2843,7 +2843,7 @@ states.muster_lord_at_seat = { view.prompt = `Muster: Select Locale for ${lord_name[game.who]}.` let found = false - let seat = data.lords[game.who].seats[0] + let seat = data.lords[game.who].seat if (!has_enemy_lord(seat)) { gen_action_locale(seat) found = true @@ -2851,8 +2851,8 @@ states.muster_lord_at_seat = { if (!found) { for (let lord = first_friendly_lord; lord <= last_friendly_lord; lord++) { - if (is_lord_on_map(lord) && is_friendly_locale(data.lords[lord].seats[0])) { - gen_action_locale(data.lords[lord].seats[0]) + if (is_lord_on_map(lord) && is_friendly_locale(data.lords[lord].seat)) { + gen_action_locale(data.lords[lord].seat) } } } @@ -4412,8 +4412,8 @@ function get_possible_taxable_locales(lord) { let locales = [] // Own seat - if (is_possible_taxable_locale(data.lords[lord].seats[0])) - locales.push(data.lords[lord].seats[0]) + if (is_possible_taxable_locale(data.lords[lord].seat)) + locales.push(data.lords[lord].seat) // vassal seats for_each_vassal_with_lord(lord, v => { @@ -4523,7 +4523,7 @@ states.tax = { }, locale(loc) { game.where = loc - if (loc === data.lords[game.command].seats[0]) { + if (loc === data.lords[game.command].seat) { // Auto succeed without influence check at Lords seat. deplete_locale(game.where) diff --git a/tools/gendata.js b/tools/gendata.js index a3850fe..13c5195 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -808,10 +808,6 @@ locales.forEach(loc => { loc.not_paths.sort(cmpnum) }) -function seats(list) { - return list.split(", ").filter(name => name !== "").map(name => locmap[name]).sort(cmpnum) -} - let lords = [ { @@ -819,7 +815,7 @@ let lords = [ name: "York", full_name: "Richard Plantagenet", title: "Duke of York", - seats: seats("Ely"), + seat: locmap["Ely"], marshal:2, influence:5, lordship:3, @@ -845,7 +841,7 @@ let lords = [ name:"March", full_name:"Edward Plantagenet", title:"Earl of March", - seats:seats("Ludlow"), + seat: locmap["Ludlow"], marshal:0, influence:2, lordship:2, @@ -870,7 +866,7 @@ let lords = [ name: "Edward IV", full_name: "Edward Plantagenet", title: "King of England", - seats: seats("London"), + seat: locmap["London"], marshal:2, influence:5, lordship:3, @@ -895,7 +891,7 @@ let lords = [ name: "Salisbury", full_name: "Richard Neville", title: "Earl of Salisbury", - seats: seats("York"), + seat: locmap["York"], marshal:0, influence:3, lordship:3, @@ -919,7 +915,7 @@ let lords = [ name: "Rutland", full_name: "Edmund Plantagenet", title: "Earl of Rutland", - seats: seats("Canterbury"), + seat: locmap["Canterbury"], marshal:0, influence:2, lordship:2, @@ -944,7 +940,7 @@ let lords = [ name: "Pembroke", full_name: "William Herbert", title: "Earl of Pembroke", - seats: seats("Pembroke"), + seat: locmap["Pembroke"], marshal:0, influence:2, lordship:2, @@ -968,7 +964,7 @@ let lords = [ name: "Devon", full_name: "Humpfrey Stafford", title: "Earl of Devon", - seats: seats("Exeter"), + seat: locmap["Exeter"], marshal:0, influence:4, lordship:2, @@ -993,7 +989,7 @@ let lords = [ name: "Northumberland Y1", full_name: "Henry Percy", title: "Northumberland", - seats: seats("Carlisle"), + seat: locmap["Carlisle"], marshal:0, influence:4, lordship:2, @@ -1018,7 +1014,7 @@ let lords = [ name: "Northumberland Y2", full_name: "Henry Percy", title: "Northumberland", - seats: seats("Carlisle"), + seat: locmap["Carlisle"], marshal:0, influence:4, lordship:2, @@ -1043,7 +1039,7 @@ let lords = [ name: "Gloucester 1", full_name: "Richard Plantagenet", title: "Duke of Gloucester", - seats: seats("Gloucester"), + seat: locmap["Gloucester"], marshal:1, influence:2, lordship:2, @@ -1067,7 +1063,7 @@ let lords = [ name: "Gloucester 2", full_name: "Richard Plantagenet", title: "Duke of Gloucester", - seats: seats("Gloucester"), + seat: locmap["Gloucester"], marshal:1, influence:5, lordship:3, @@ -1092,7 +1088,7 @@ let lords = [ name: "Richard III", full_name: "Richard Plantagenet", title: "King of England", - seats: seats("London"), + seat: locmap["London"], marshal:2, influence:5, lordship:3, @@ -1117,7 +1113,7 @@ let lords = [ name: "Norfolk", full_name: "John Howard", title: "Duke of Norfolk", - seats: seats("Arundel"), + seat: locmap["Arundel"], marshal:0, influence:3, lordship:3, @@ -1142,7 +1138,7 @@ let lords = [ name: "Warwick Y", full_name: "Richard Neville", title: "Earl of Warwick", - seats: seats("Calais"), + seat: locmap["Calais"], marshal:1, influence:5, lordship:3, @@ -1165,7 +1161,7 @@ let lords = [ name: "Henry VI", full_name: "Henry VI", title: "King of England", - seats: seats("London"), + seat: locmap["London"], marshal:2, influence:5, lordship:2, @@ -1190,7 +1186,7 @@ let lords = [ name: "Margaret", full_name: "Margaret d'Anjou", title: "Queen of England", - seats: seats("London"), + seat: locmap["London"], marshal:2, influence:4, lordship:2, @@ -1214,7 +1210,7 @@ let lords = [ name: "Somerset 1", full_name: "Henry Beaufort", title: "Duke of Somerset", - seats: seats("Wells"), + seat: locmap["Wells"], marshal:2, influence:5, lordship:2, @@ -1238,7 +1234,7 @@ let lords = [ name: "Somerset 2", full_name: "Edmund Beaufort", title: "Duke of Somerset", - seats: seats("Wells"), + seat: locmap["Wells"], marshal:0, influence:3, lordship:2, @@ -1262,7 +1258,7 @@ let lords = [ name: "Exeter 1", full_name: "Henry Holland", title: "Duke of Exeter", - seats: seats("Exeter"), + seat: locmap["Exeter"], marshal:0, influence:2, lordship:1, @@ -1286,7 +1282,7 @@ let lords = [ name: "Exeter 2", full_name: "Henry Holland", title: "Duke of Exeter", - seats: seats("Exeter"), + seat: locmap["Exeter"], marshal:0, influence:2, lordship:1, @@ -1310,7 +1306,7 @@ let lords = [ name: "Buckingham", full_name: "Humphrey Stafford", title: "Duke of Buckingham", - seats: seats("Coventry"), + seat: locmap["Coventry"], marshal:0, influence:3, lordship:3, @@ -1334,7 +1330,7 @@ let lords = [ name: "Northumberland L", full_name: "Henry Percy", title: "Earl of Northumberland", - seats: seats("Carlisle"), + seat: locmap["Carlisle"], marshal:0, influence:4, lordship:2, @@ -1359,7 +1355,7 @@ let lords = [ name: "Clarence", full_name: "George Plantagenet", title: "Duke of Clarence", - seats: seats("York"), + seat: locmap["York"], marshal:0, influence:1, lordship:2, @@ -1384,7 +1380,7 @@ let lords = [ name: "Jasper Tudor 1", full_name: "Jasper Tudor", title: "Earl of Pembroke", - seats: seats("Harlech"), + seat: locmap["Harlech"], marshal:0, influence:2, lordship:2, @@ -1408,7 +1404,7 @@ let lords = [ name: "Jasper Tudor 2", full_name: "Jasper Tudor", title: "Earl of Pembroke", - seats: seats("Pembroke"), + seat: locmap["Pembroke"], marshal:0, influence:2, lordship:3, @@ -1431,7 +1427,7 @@ let lords = [ name: "Henry Tudor", full_name: "Henry Tudor", title: "", - seats: seats("London"), + seat: locmap["London"], marshal:2, influence:5, lordship:2, @@ -1456,7 +1452,7 @@ let lords = [ name: "Oxford", full_name: "John de Vere", title: "Earl of Oxford", - seats: seats("Oxford"), + seat: locmap["Oxford"], marshal:0, influence:2, lordship:2, @@ -1481,7 +1477,7 @@ let lords = [ name: "Warwick L", full_name: "Richard Neville", title: "Earl of Warwick", - seats: seats("Calais"), + seat: locmap["Calais"], marshal:1, influence:5, lordship:3, |