summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-06-04 13:00:34 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit461f5ada2c76dd1ccd304acfb6267c74044caa3d (patch)
treee9a403febf5be4aa642a907e8cca3b79daca0afb
parent20995be4afae6eaab84f5088cc2e24253d486dd3 (diff)
downloadplantagenet-461f5ada2c76dd1ccd304acfb6267c74044caa3d.tar.gz
game.active inside scenarios
-rw-r--r--rules.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 3058e12..8f03047 100644
--- a/rules.js
+++ b/rules.js
@@ -1367,6 +1367,7 @@ exports.setup = function (seed, scenario, options) {
function setup_Ia() {
game.turn = 1 << 1
+ game.active = YORK
muster_lord(LORD_YORK, LOC_ELY)
muster_lord(LORD_MARCH, LOC_LUDLOW)
muster_lord(LORD_HENRY_VI, LOC_LONDON)
@@ -1383,6 +1384,8 @@ function setup_Ia() {
function setup_Ib() {
game.turn = 1 << 1
+
+ game.active = YORK
muster_lord(LORD_NORFOLK, LOC_LONDON)
muster_lord(LORD_WARWICK_Y, LOC_LONDON)
muster_lord(LORD_MARCH, LOC_LUDLOW)
@@ -1394,6 +1397,8 @@ function setup_Ib() {
function setup_Ic() {
game.turn = 1 << 1
+
+ game.active = YORK
muster_lord(LORD_WARWICK_Y, LOC_LONDON)
muster_lord(LORD_MARCH, LOC_LONDON)
muster_lord(LORD_SOMERSET_1, LOC_BAMBURGH)
@@ -1405,6 +1410,8 @@ function setup_Ic() {
function setup_II() {
game.turn = 1 << 1
+
+ game.active = LANCASTER
muster_lord(LORD_EDWARD_IV, LOC_LONDON)
muster_lord(LORD_PEMBROKE, LOC_LONDON)
muster_lord(LORD_WARWICK_L, LOC_CALAIS)
@@ -1424,6 +1431,7 @@ function setup_II() {
function setup_III() {
game.turn = 1 << 1
+ game.active = LANCASTER
muster_lord(LORD_RICHARD_III, LOC_LONDON)
muster_lord(LORD_NORTHUMBERLAND_Y2, LOC_CARLISLE)
muster_lord(LORD_NORFOLK, LOC_ARUNDEL)
@@ -1437,6 +1445,8 @@ function setup_III() {
function setup_ItoIII() {
game.turn = 1 << 1
+
+ game.active = YORK
muster_lord(LORD_YORK, LOC_ELY)
muster_lord(LORD_MARCH, LOC_LUDLOW)
muster_lord(LORD_HENRY_VI, LOC_LONDON)