summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js151
1 files changed, 146 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index 40d727f..6ee194d 100644
--- a/rules.js
+++ b/rules.js
@@ -324,11 +324,152 @@ const LOC_RAVENSPUR = find_locale("Ravenspur")
-// === === === === FROM NEVSKY === === === ===
-
-// TODO: log end victory conditions at scenario start
-
-// WONTFIX: choose crossbow/normal hit application order
+const AOW_LANCASTER_CULVERINS_AND_FALCONETS = [ L1, L2 ]
+const AOW_LANCASTER_MUSTERD_MY_SOLDIERS = L3
+const AOW_LANCASTER_HERALDS = L4
+const AOW_LANCASTER_CHURCH_BLESSINGS = L5
+const AOW_LANCASTER_GREAT_SHIPS = L6
+const AOW_LANCASTER_HARBINGERS = L7
+const AOW_LANCASTER_HAY_WAINS = L8
+const AOW_LANCASTER_QUARTERMASTERS = L9
+const AOW_LANCASTER_CHAMBERLAINS = L10
+const AOW_LANCASTER_IN_THE_NAME_OF_THE_KING = L11
+const AOW_LANCASTER_COMMISION_OF_ARRAY = L12
+const AOW_LANCASTER_EXPERT_COUNSELLORS = L13
+const AOW_LANCASTER_PERCYS_POWER = L14
+const AOW_LANCASTER_KINGS_PARLEY = L15
+const AOW_LANCASTER_NORTHMEN = L16
+const AOW_LANCASTER_MARGARET = L17
+const AOW_LANCASTER_COUNCIL_MEMBER = L18
+const AOW_LANCASTER_ANDREW_TROLLOPE = L19
+const AOW_LANCASTER_VETERAN_OF_FRENCH_WARS = L20
+const AOW_LANCASTER_MY_FATHERS_BLOOD = L21
+const AOW_LANCASTER_STAFFORD_ESTATES = L22
+const AOW_LANCASTER_MONTAGU = L23
+const AOW_LANCASTER_MARRIED_TO_A_NEVILLE = L24
+const AOW_LANCASTER_WELSH_LORD = L25
+const AOW_LANCASTER_EDWARRD = L26
+const AOW_LANCASTER_BARDED_HORSE = L27
+const AOW_LANCASTER_LOYAL_SOMERSET = L28
+const AOW_LANCASTER_HIGH_ADMIRAL = L29
+const AOW_LANCASTER_MERCHANTS = L30
+const AOW_LANCASTER_YEOMEN_OF_THE_CROWN = L31
+const AOW_LANCASTER_TWO_ROSES = L32
+const AOW_LANCASTER_PHILIBERT_DE_CHANDEE = L33
+const AOW_LANCASTER_PIQUIERS = L34
+const AOW_LANCASTER_THOMAS_STANLEY = L35
+const AOW_LANCASTER_CHEVALIERS = L36
+const AOW_LANCASTER_MADAME_LA_GRANDE = L37
+
+const AOW_YORK_CULVERINS_AND_FALCONETS = [ Y1, Y2 ]
+const AOW_YORK_MUSTERD_MY_SOLDIERS = Y3
+const AOW_YORK_WE_DONE_DEEDS_OF_CHARITY = Y4
+const AOW_YORK_THOMAS_BOURCHIER = Y5
+const AOW_YORK_GREAT_SHIPS = Y6
+const AOW_YORK_HARBINGERS = Y7
+const AOW_YORK_ENGLAND_IS_MY_HOME = Y8
+const AOW_YORK_BARRICADES = Y9
+const AOW_YORK_AGITATORS = Y10
+const AOW_YORK_YORKISTS_NEVER_WAIT = Y11
+const AOW_YORK_SOLDIERS_OF_FORTUNE = Y12
+const AOW_YORK_SCOURERS = Y13
+const AOW_YORK_BURGUNDIANS = [ Y14, Y23 ]
+const AOW_YORK_NAVAL_BLOCKADE = Y15
+const AOW_YORK_BELOVED_WARWICK = Y16
+const AOW_YORK_ALICE_MONTAGU = Y17
+const AOW_YORK_IRISHMEN = Y18
+const AOW_YORK_WELSHMEN = Y19
+const AOW_YORK_YORKS_FAVOURED_SON = Y20
+const AOW_YORK_SOUTHERNERS = Y21
+const AOW_YORK_FAIR_ARBITER = Y22
+const AOW_YORK_HASTINGS = Y24
+const AOW_YORK_PEMBROKE = Y25
+const AOW_YORK_FALLEN_BROTHER = Y26
+const AOW_YORK_PERCYS_NORTH1 = Y27
+const AOW_YORK_FIRST_SON = Y28
+const AOW_YORK_STAFFORD_BRANCH = Y29
+const AOW_YORK_CAPTAIN = Y30
+const AOW_YORK_WOODWILLES = Y31
+const AOW_YORK_FINAL_CHARGE = Y32
+const AOW_YORK_BLOODY_THOU_ART = Y33
+const AOW_YORK_SO_WISE_SO_YOUNG = Y34
+const AOW_YORK_KINGDOM_UNITED = Y35
+const AOW_YORK_VANGUARD = Y36
+const AOW_YORK_PERCYS_NORTH2 = Y37
+
+const EVENT_LANCASTER_LEEWARD_BATTLE_LINE = L1
+const EVENT_LANCASTER_FLANK_ATTACK = L2
+const EVENT_LANCASTER_ESCAPE_SHIP = L3
+const EVENT_LANCASTER_BE_SENT_FOR = L4
+const EVENT_LANCASTER_SUSPICION = L5
+const EVENT_LANCASTER_SEAMANSHIP = L6
+const EVENT_LANCASTER_FOR_TRUST_NOT_HIM = L7
+const EVENT_LANCASTER_FORCED_MARCHES = L8
+const EVENT_LANCASTER_RISING_WAGES = L9
+const EVENT_LANCASTER_NEW_ACT_OF_PARLIAMENT = L10
+const EVENT_LANCASTER_BLOCKED_FORD = L11
+const EVENT_LANCASTER_RAVINE = L12
+const EVENT_LANCASTER_ASPIELLES = L13
+const EVENT_LANCASTER_SCOTS = L14
+const EVENT_LANCASTER_HENRY_PRESSURES_PARLIAMENT = L15
+const EVENT_LANCASTER_WARDEN_OF_THE_MARCHES = L16
+const EVENT_LANCASTER_MY_CROWN_IS_IN_MY_HEART = L17
+const EVENT_LANCASTER_PARLIAMENT_VOTES = L18
+const EVENT_LANCASTER_HENRYS_PROCLAMATION = L19
+const EVENT_LANCASTER_PARLIAMEN_TRUCE = L20
+const EVENT_LANCASTER_FRENCH_FLEET = L21
+const EVENT_LANCASTER_FRENCH_TROOPS = L22
+const EVENT_LANCASTER_WARWICKS_PROPAGANDA = [ L23, L24 ]
+const EVENT_LANCASTER_WELSH_REBELLION = L25
+const EVENT_LANCASTER_HENRY_RELEASED = L26
+const EVENT_LANCASTER_LUNIVERSELLE_ARAGNE = L27
+const EVENT_LANCASTER_REBEL_SUPPLY_DEPOT = L28
+const EVENT_LANCASTER_TO_WILFUL_DISOBEDIANCE = L29
+const EVENT_LANCASTER_FRENCH_WAR_LOANS = L30
+const EVENT_LANCASTER_ROBINS_REBELLION = L31
+const EVENT_LANCASTER_TUDOR_BANNERS = L32
+const EVENT_LANCASTER_SURPRISE_LANDING = L33
+const EVENT_LANCASTER_BUCKINGHAMS_PLOT = L34
+const EVENT_LANCASTER_MARGARET_BEAUFORT = L35
+const EVENT_LANCASTER_TALBOT_TO_THE_RESCUE = L36
+const EVENT_LANCASTER_THE_EARL_OF_RICHMOND = L37
+
+const EVENT_YORK_LEEWARD_BATTLE_LINE = Y1
+const EVENT_YORK_FLANK_ATTACK = Y2
+const EVENT_YORK_ESCAPE_SHIP = [ Y3, Y9 ]
+const EVENT_YORK_JACK_CADE = Y4
+const EVENT_YORK_SUSPICION = Y5
+const EVENT_YORK_SEAMANSHIP = Y6
+const EVENT_YORK_YORKISTS_BLOCK_PARLIAMENT = Y7
+const EVENT_YORK_EXILE_PACT = Y8
+const EVENT_YORK_TAX_COLLECTORS = Y10
+const EVENT_YORK_BLOCKED_FORD = Y11
+const EVENT_YORK_PARLIAMENTS_TRUCE = Y12
+const EVENT_YORK_ASPIELLES = Y13
+const EVENT_YORK_RICHARD_OF_YORK = Y14
+const EVENT_YORK_LONDON_FOR_YORK = Y15
+const EVENT_YORK_THE_COMMONS = Y16
+const EVENT_YORK_SHEWOLF_OF_FRANCE = Y17
+const EVENT_YORK_SUCCESSION = Y18
+const EVENT_YORK_CALTROPS = Y19
+const EVENT_YORK_YORKIST_PARADE = Y20
+const EVENT_YORK_SIR_RICHARD_LEIGH = Y21
+const EVENT_YORK_LOYALTY_AND_TRUST = Y22
+const EVENT_YORK_CHARLES_THE_BOLD = Y23
+const EVENT_YORK_SUN_IN_SPLENDOUR = Y24
+const EVENT_YORK_OWAIN_GLYNDWR = Y25
+const EVENT_YORK_DUBIOUS_CLARENCE = Y26
+const EVENT_YORK_YORKIST_NORTH = Y27
+const EVENT_YORK_GLOUCESTER_AS_HEIR = Y28
+const EVENT_YORK_DORSET = Y29
+const EVENT_YORK_REGROUP = Y30
+const EVENT_YORK_EARL_RIVERS = Y31
+const EVENT_YORK_THE_KINGS_NAME = Y32
+const EVENT_YORK_EDWARD_V = Y33
+const EVENT_YORK_AN_HONEST_TALE_SPEEDS_BEST = Y34
+const EVENT_YORK_PRIVY_COUNCIL = Y35
+const EVENT_YORK_SWIFT_MANEUVER = Y36
+const EVENT_YORK_PATRICK_DE_LA_MOTE = Y37
// Check all push/clear_undo