From 89e98b7f6cd2147f845ccba986e0eb76e6d130e4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 4 Aug 2024 10:10:28 +0200 Subject: gendata.js prettier --- tools/gendata.js | 778 +++++++++++++++++++++++++++---------------------------- 1 file changed, 389 insertions(+), 389 deletions(-) diff --git a/tools/gendata.js b/tools/gendata.js index 912b125..de415c0 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -396,7 +396,6 @@ locales.forEach(loc => { }) let lords = [ - { side: "York", name: "York", @@ -404,48 +403,47 @@ let lords = [ full_name: "Richard Plantagenet", title: "Duke of York", seat: locmap["Ely"], - marshal:2, - influence:5, - lordship:3, - command:2, - valour:2, + marshal: 2, + influence: 5, + lordship: 3, + command: 2, + valour: 2, forces: { - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + retinue: 1, + men_at_arms: 2, + longbowmen: 2, + militia: 2, }, assets: { - cart:2, - prov:2, - coin:2, + cart: 2, + prov: 2, + coin: 2, }, ships: 0, - }, { side: "York", name: "March", short_name: "March", - full_name:"Edward Plantagenet", - title:"Earl of March", + full_name: "Edward Plantagenet", + title: "Earl of March", seat: locmap["Ludlow"], - marshal:0, - influence:2, - lordship:2, - command:2, - valour:3, - forces:{ - retinue:1, - men_at_arms:1, - longbowmen:2, - militia:1 + 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, + assets: { + cart: 1, + prov: 1, + coin: 1, }, ships: 0, }, @@ -457,21 +455,21 @@ let lords = [ full_name: "Edward Plantagenet", title: "King of England", seat: locmap["London"], - marshal:2, - influence:5, - lordship:3, - command:2, - valour:4, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -483,20 +481,20 @@ let lords = [ full_name: "Richard Neville", title: "Earl of Salisbury", seat: locmap["York"], - marshal:0, - influence:3, - lordship:3, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2 + 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, + assets: { + cart: 1, + prov: 1, + coin: 1, }, ships: 0, }, @@ -508,21 +506,21 @@ let lords = [ full_name: "Edmund Plantagenet", title: "Earl of Rutland", seat: locmap["Canterbury"], - marshal:0, - influence:2, - lordship:2, - command:1, - valour:1, - forces:{ - retinue:1, - men_at_arms:1, - longbowmen:2, - militia:1 + 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, + assets: { + cart: 1, + prov: 1, + coin: 1, }, ships: 0, }, @@ -534,20 +532,21 @@ let lords = [ full_name: "William Herbert", title: "Earl of Pembroke", seat: locmap["Pembroke"], - 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, + 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, }, @@ -559,21 +558,21 @@ let lords = [ full_name: "Humpfrey Stafford", title: "Earl of Devon", seat: locmap["Exeter"], - marshal:0, - influence:4, - lordship:2, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:1, - longbowmen:2, - militia:1 + 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, + assets: { + cart: 1, + prov: 1, + coin: 1, }, ships: 0, }, @@ -585,21 +584,21 @@ let lords = [ full_name: "Henry Percy", title: "Northumberland", seat: locmap["Carlisle"], - marshal:0, - influence:4, - lordship:2, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia: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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -611,21 +610,21 @@ let lords = [ full_name: "Henry Percy", title: "Northumberland", seat: locmap["Carlisle"], - marshal:0, - influence:4, - lordship:2, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -637,20 +636,20 @@ let lords = [ full_name: "Richard Plantagenet", title: "Duke of Gloucester", seat: locmap["Gloucester"], - marshal:1, - influence:2, - lordship:2, - command:3, - valour:2, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, + 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, + assets: { + cart: 1, + prov: 1, + coin: 1, }, ships: 0, }, @@ -662,21 +661,21 @@ let lords = [ full_name: "Richard Plantagenet", title: "Duke of Gloucester", seat: locmap["London"], - marshal:1, - influence:5, - lordship:3, - command:3, - valour:2, - forces:{ - retinue:1, - men_at_arms:3, - longbowmen:3, - militia:4, + 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, + assets: { + cart: 2, + prov: 2, + coin: 4, }, ships: 0, }, @@ -688,21 +687,21 @@ let lords = [ full_name: "Richard Plantagenet", title: "King of England", seat: locmap["London"], - marshal:2, - influence:5, - lordship:3, - command:3, - valour:2, - forces:{ - retinue:1, - men_at_arms:3, - longbowmen:2, - militia:4 + 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, + assets: { + cart: 2, + prov: 2, + coin: 4, }, ships: 0, }, @@ -714,21 +713,21 @@ let lords = [ full_name: "John Howard", title: "Duke of Norfolk", seat: locmap["Arundel"], - marshal:0, - influence:3, - lordship:3, - command:2, - valour:2, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2, + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -740,21 +739,21 @@ let lords = [ full_name: "Richard Neville", title: "Earl of Warwick", seat: locmap["Calais"], - marshal:1, - influence:5, - lordship:3, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:3, - longbowmen:3, + marshal: 1, + influence: 5, + lordship: 3, + command: 2, + valour: 1, + forces: { + retinue: 1, + men_at_arms: 3, + longbowmen: 3, }, - assets:{ - prov:2, - coin:2, + assets: { + prov: 2, + coin: 2, }, - ships:2, + ships: 2, }, { @@ -764,21 +763,21 @@ let lords = [ full_name: "Henry VI", title: "King of England", seat: locmap["London"], - marshal:2, - influence:5, - lordship:2, - command:2, - valour:0, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:4 + 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, + assets: { + cart: 2, + prov: 2, + coin: 4, }, ships: 0, }, @@ -790,20 +789,20 @@ let lords = [ full_name: "Margaret d'Anjou", title: "Queen of England", seat: locmap["London"], - marshal:2, - influence:4, - lordship:2, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:3, - longbowmen:3 + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 2, }, @@ -815,20 +814,20 @@ let lords = [ full_name: "Henry Beaufort", title: "Duke of Somerset", seat: locmap["Wells"], - marshal:2, - influence:5, - lordship:2, - command:2, - valour:2, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, + 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, + assets: { + cart: 2, + prov: 2, + coin: 1, }, ships: 0, }, @@ -840,20 +839,21 @@ let lords = [ full_name: "Edmund Beaufort", title: "Duke of Somerset", seat: locmap["Wells"], - 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, + 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, }, @@ -865,20 +865,20 @@ let lords = [ full_name: "Henry Holland", title: "Duke of Exeter", seat: locmap["Exeter"], - marshal:0, - influence:2, - lordship:1, - command:2, - valour:2, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, + 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, + assets: { + cart: 1, + prov: 1, + coin: 1, }, ships: 0, }, @@ -890,21 +890,21 @@ let lords = [ full_name: "Henry Holland", title: "Duke of Exeter", seat: locmap["Exeter"], - marshal:0, - influence:2, - lordship:1, - command:2, - valour:2, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2, + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -915,21 +915,21 @@ let lords = [ full_name: "Humphrey Stafford", title: "Duke of Buckingham", seat: locmap["Coventry"], - marshal:0, - influence:3, - lordship:3, - command:1, - valour:1, - forces:{ - retinue:1, - men_at_arms:1, - longbowmen:2, - militia:1 + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -940,21 +940,21 @@ let lords = [ full_name: "Henry Percy", title: "Earl of Northumberland", seat: locmap["Carlisle"], - marshal:0, - influence:4, - lordship:2, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + 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, + assets: { + cart: 2, + prov: 2, + coin: 1, }, ships: 0, }, @@ -966,21 +966,21 @@ let lords = [ full_name: "George Plantagenet", title: "Duke of Clarence", seat: locmap["York"], - marshal:0, - influence:1, - lordship:2, - command:1, - valour:1, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + 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, + assets: { + cart: 1, + prov: 2, + coin: 2, }, ships: 0, }, @@ -992,20 +992,21 @@ let lords = [ full_name: "Jasper Tudor", title: "Earl of Pembroke", seat: locmap["Harlech"], - 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, + 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, }, @@ -1017,20 +1018,20 @@ let lords = [ full_name: "Jasper Tudor", title: "Earl of Pembroke", seat: locmap["Pembroke"], - marshal:0, - influence:2, - lordship:3, - command:3, - valour:2, - forces:{ - retinue:1, - men_at_arms:3, - longbowmen:3, + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -1041,23 +1042,23 @@ let lords = [ full_name: "Henry Tudor", title: "", seat: locmap["London"], - marshal:2, - influence:5, - lordship:2, - command:2, - valour:1, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + 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, + assets: { + cart: 2, + prov: 2, + coin: 4, }, - ships:2, + ships: 2, }, { @@ -1067,21 +1068,21 @@ let lords = [ full_name: "John de Vere", title: "Earl of Oxford", seat: locmap["Oxford"], - marshal:0, - influence:2, - lordship:2, - command:2, - valour:2, - forces:{ - retinue:1, - men_at_arms:2, - longbowmen:2, - militia:2 + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, ships: 0, }, @@ -1093,24 +1094,23 @@ let lords = [ full_name: "Richard Neville", title: "Earl of Warwick", seat: locmap["Calais"], - marshal:1, - influence:5, - lordship:3, - command:2, - valour:2, - forces:{ - retinue:1, - men_at_arms:3, - longbowmen:3, + 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, + assets: { + cart: 2, + prov: 2, + coin: 2, }, - ships:2, + ships: 2, }, - ] let AOW = {} -- cgit v1.2.3