diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-03-28 23:42:06 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-28 23:42:06 +0100 |
commit | e630e3ea8a7db1345f81b9cd2f24a4375ce0fe81 (patch) | |
tree | 9f63ca52ea3d5df698bf197087d6013d15e962fb /rules.js | |
parent | ddf0b64e149e6548e5abf1326ea986dae26a2c27 (diff) | |
download | land-and-freedom-e630e3ea8a7db1345f81b9cd2f24a4375ce0fe81.tar.gz |
Log more medallion uses.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -481,6 +481,7 @@ function setup(seed, _scenario, options) { function draw_hand_cards(faction_id, count, indent = true) { const deck = list_deck(faction_id); if (game.medallions[faction_id].includes(data_1.INTELLIGENCE_MEDALLION_ID)) { + log(">M" + data_1.INTELLIGENCE_MEDALLION_ID); count++; } let drawn_cards = 0; @@ -983,7 +984,7 @@ states.play_card = { game.played_card = game.selected_cards[faction][game.selected_cards[faction].length - 1]; const args = get_active_node_args(); if (args && args.src === 'momentum') { - log_header("~ Momentum ~\nC" + game.played_card, faction); + log_header("~ M" + data_1.MOMENTUM_MEDALLION_ID + " ~\nC" + game.played_card, faction); } else { log_header("~ Play Card ~\nC" + game.played_card, faction); @@ -1735,7 +1736,7 @@ states.remove_blank_marker_archives = { blank_marker(b) { const faction = get_active_faction(); pay_hero_points(faction, 1); - log(`>M${data_1.ARCHIVES_MEDALLION_ID}`); + log(">M" + data_1.ARCHIVES_MEDALLION_ID); remove_blank_marker(b); game.used_medallions.push(data_1.ARCHIVES_MEDALLION_ID); resolve_active_and_proceed(); @@ -2109,6 +2110,7 @@ states.use_strategy_medallion = { this.yes(); }, yes() { + log(">M" + data_1.STRATEGY_MEDALLION_ID); game.used_medallions.push(data_1.STRATEGY_MEDALLION_ID); const { f } = get_active_node_args(); const faction = get_active_faction(); @@ -2427,6 +2429,7 @@ function resolve_fascist_test() { ? 2 : 0; if (can_use_medallion(data_1.PROPAGANDA_MEDALLION_ID, faction)) { + log(">M" + data_1.PROPAGANDA_MEDALLION_ID); hero_points_gain += 2; } if (hero_points_gain > 0) { |