summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-10-08 20:54:11 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-08 21:30:26 +0200
commite00b34d7eb354549e2229858a2daafee48a3d0b3 (patch)
treee89c74909307826dde63fa9dfbf78fcebb00a413
parent11d0624f825a0c3c580e1e3991dfdda274b822b3 (diff)
downloadplantagenet-e00b34d7eb354549e2229858a2daafee48a3d0b3.tar.gz
update scots, earl rivers, welsh rebellion
-rw-r--r--rules.js10
-rw-r--r--rules.ts10
2 files changed, 16 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 1cb802f..eb29ff5 100644
--- a/rules.js
+++ b/rules.js
@@ -9863,6 +9863,7 @@ states.scots = {
lord(lord) {
push_undo();
game.who = lord;
+ logi("L" + lord);
},
};
// === EVENT: LANCASTER HENRY PRESSURES PARLIAMENT ===
@@ -10134,27 +10135,33 @@ states.welsh_rebellion_remove_troops = {
},
lord(lord) {
push_undo();
+ logi("L" + lord);
set_lord_moved(lord, 1);
game.who = lord;
game.count = 2;
},
burgundians(lord) {
+ logii("Burgundians");
add_lord_forces(lord, BURGUNDIANS, -1);
resume_welsh_rebellion_remove_troops(lord);
},
mercenaries(lord) {
+ logii("Mercenaries");
add_lord_forces(lord, MERCENARIES, -1);
resume_welsh_rebellion_remove_troops(lord);
},
longbowmen(lord) {
+ logii("Longbowmen");
add_lord_forces(lord, LONGBOWMEN, -1);
resume_welsh_rebellion_remove_troops(lord);
},
men_at_arms(lord) {
+ logii("Men-at-arms");
add_lord_forces(lord, MEN_AT_ARMS, -1);
resume_welsh_rebellion_remove_troops(lord);
},
militia(lord) {
+ logii("Militia");
add_lord_forces(lord, MILITIA, -1);
resume_welsh_rebellion_remove_troops(lord);
},
@@ -10763,16 +10770,15 @@ states.earl_rivers = {
},
lord(lord) {
push_undo();
+ logi("L" + lord);
game.who = lord;
},
add_militia() {
- log(">L" + game.who);
set_lord_moved(game.who, 1);
add_lord_forces(game.who, MILITIA, 1);
game.who = NOBODY;
},
add_militia2() {
- log(">L" + game.who);
set_lord_moved(game.who, 1);
add_lord_forces(game.who, MILITIA, 2);
game.who = NOBODY;
diff --git a/rules.ts b/rules.ts
index a087429..7f45b6e 100644
--- a/rules.ts
+++ b/rules.ts
@@ -11430,6 +11430,7 @@ states.scots = {
lord(lord) {
push_undo()
game.who = lord
+ logi("L" + lord)
},
}
@@ -11721,27 +11722,33 @@ states.welsh_rebellion_remove_troops = {
},
lord(lord) {
push_undo()
+ logi("L" + lord)
set_lord_moved(lord, 1)
game.who = lord
game.count = 2
},
burgundians(lord) {
+ logii("Burgundians")
add_lord_forces(lord, BURGUNDIANS, -1)
resume_welsh_rebellion_remove_troops(lord)
},
mercenaries(lord) {
+ logii("Mercenaries")
add_lord_forces(lord, MERCENARIES, -1)
resume_welsh_rebellion_remove_troops(lord)
},
longbowmen(lord) {
+ logii("Longbowmen")
add_lord_forces(lord, LONGBOWMEN, -1)
resume_welsh_rebellion_remove_troops(lord)
},
men_at_arms(lord) {
+ logii("Men-at-arms")
add_lord_forces(lord, MEN_AT_ARMS, -1)
resume_welsh_rebellion_remove_troops(lord)
},
militia(lord) {
+ logii("Militia")
add_lord_forces(lord, MILITIA, -1)
resume_welsh_rebellion_remove_troops(lord)
},
@@ -12395,16 +12402,15 @@ states.earl_rivers = {
},
lord(lord) {
push_undo()
+ logi("L" + lord)
game.who = lord
},
add_militia() {
- log(">L" + game.who)
set_lord_moved(game.who, 1)
add_lord_forces(game.who, MILITIA, 1)
game.who = NOBODY
},
add_militia2() {
- log(">L" + game.who)
set_lord_moved(game.who, 1)
add_lord_forces(game.who, MILITIA, 2)
game.who = NOBODY