summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-23 00:33:13 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-23 00:33:13 +0200
commitf8c7e394995b0e773bbdfd0bd6a552cd1c79e9d5 (patch)
tree9b6114cb91c56ef6d248799a80ac4005bee6c74d /rules.ts
parent137d385a7eb6fd67eae9b4303f935a5118f6f981 (diff)
downloadplantagenet-f8c7e394995b0e773bbdfd0bd6a552cd1c79e9d5.tar.gz
Setup data for scenario III.
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts32
1 files changed, 18 insertions, 14 deletions
diff --git a/rules.ts b/rules.ts
index fdfc6b3..91c2bb7 100644
--- a/rules.ts
+++ b/rules.ts
@@ -8764,7 +8764,7 @@ const scenario_end_marker = [
2,
8,
16,
- 16,
+ 10,
]
function scenario_victory_threshold() {
@@ -9071,32 +9071,36 @@ function setup_II() {
// === SCENARIO: III ===
function setup_III() {
- game.turn = 1 << 1
clear_flag(FLAG_REBEL_IS_YORK)
game.active = LANCASTER
game.influence = 0
- muster_lord(LORD_GLOUCESTER_2, LOC_LONDON)
- muster_lord(LORD_NORTHUMBERLAND_Y2, LOC_CARLISLE)
- muster_lord(LORD_NORFOLK, LOC_ARUNDEL)
- muster_lord(LORD_HENRY_TUDOR, LOC_FRANCE)
- muster_lord(LORD_JASPER_TUDOR_2, LOC_FRANCE)
- muster_lord(LORD_OXFORD, LOC_FRANCE)
+ add_york_favour(LOC_BURGUNDY)
add_lancaster_favour(LOC_FRANCE)
- add_lancaster_favour(LOC_OXFORD)
- add_lancaster_favour(LOC_HARLECH)
- add_lancaster_favour(LOC_PEMBROKE)
- add_york_favour(LOC_BURGUNDY)
+ setup_vassals([ VASSAL_OXFORD, VASSAL_NORFOLK ])
+
add_york_favour(LOC_LONDON)
add_york_favour(LOC_CALAIS)
add_york_favour(LOC_CARLISLE)
add_york_favour(LOC_ARUNDEL)
- add_york_favour(LOC_YORK)
add_york_favour(LOC_GLOUCESTER)
+ add_york_favour(LOC_YORK)
- setup_vassals([ VASSAL_OXFORD, VASSAL_NORFOLK ])
+ add_lancaster_favour(LOC_OXFORD)
+ add_lancaster_favour(LOC_HARLECH)
+ add_lancaster_favour(LOC_PEMBROKE)
+
+ muster_lord(LORD_GLOUCESTER_2, LOC_LONDON)
+ muster_lord(LORD_NORTHUMBERLAND_Y2, LOC_CARLISLE)
+ muster_lord(LORD_NORFOLK, LOC_ARUNDEL)
+
+ muster_lord(LORD_HENRY_TUDOR, LOC_FRANCE)
+ muster_lord(LORD_JASPER_TUDOR_2, LOC_FRANCE)
+ muster_lord(LORD_OXFORD, LOC_FRANCE)
+
+ game.turn = 3 << 1
}
states.my_kingdom_for_a_horse_setup = {