diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-12-02 10:42:34 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-12-02 10:42:34 +0100 |
commit | 9181610c086caf49c1addaff73801342e9ea766b (patch) | |
tree | 8d7ba867dba7fc19e4f719ecb63ba4a686d5e45f | |
parent | 8ddf616e7dd79a38053a770c5f669c22d485d8c1 (diff) | |
download | maria-9181610c086caf49c1addaff73801342e9ea766b.tar.gz |
Show placed Reserve TC on politics display as value 16.
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -906,7 +906,9 @@ function format_card(c) { return (to_deck(c)+1) + "^" + format_card_prompt(c) } -function format_card_list(list) { +function format_card_list(list, res) { + if (res) + return list.map(c => is_reserve(c) ? format_reserve(c, res) : format_card(c)).join(", ") return list.map(format_card).join(", ") } @@ -4690,7 +4692,7 @@ function goto_determine_order_of_influence() { if (game.face_down[pow].length > 0) log(">" + power_name[pow] + " " + format_card_list(game.face_down[pow]) + " (bluff)") if (game.face_up[pow].length > 0) - log(">" + power_name[pow] + " " + format_card_list(game.face_up[pow])) + log(">" + power_name[pow] + " " + format_card_list(game.face_up[pow], 16)) } log_br() |