summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-03-28 20:11:17 +0100
committerTor Andersson <tor@ccxvii.net>2025-03-28 20:11:17 +0100
commit7c26e81c096bf5fdbe183de4a1c32870b0fb43cf (patch)
tree9760b0caf13234c793c2d095857b1663ba23c6a0
parent58e68e72dbdea27adfdebdd69d11d05dce2454eb (diff)
downloadland-and-freedom-7c26e81c096bf5fdbe183de4a1c32870b0fb43cf.tar.gz
Log when Volunteers effect is used.
-rw-r--r--rules.js1
-rw-r--r--rules.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 19a9b45..d792ea0 100644
--- a/rules.js
+++ b/rules.js
@@ -1888,6 +1888,7 @@ states.spend_hero_points = {
},
volunteers() {
const faction = get_active_faction();
+ log(">M" + data_1.VOLUNTEERS_MEDALLION_ID);
pay_hero_points(faction, 1);
insert_after_active_node(create_state_node('add_to_front', faction, {
src: 'volunteers',
diff --git a/rules.ts b/rules.ts
index 995296c..30272b1 100644
--- a/rules.ts
+++ b/rules.ts
@@ -2303,6 +2303,7 @@ states.spend_hero_points = {
},
volunteers() {
const faction = get_active_faction();
+ log(">M" + VOLUNTEERS_MEDALLION_ID)
pay_hero_points(faction, 1);
insert_after_active_node(
create_state_node('add_to_front', faction, {