summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index f72fec2..b68aef9 100644
--- a/rules.js
+++ b/rules.js
@@ -4510,9 +4510,21 @@ states.determine_trump_suit = {
view.actions.suit = [ 0, 1, 2, 3 ]
},
suit(s) {
+ push_undo()
game.trump = s
log(power_name[game.power] + " chose " + suit_name[game.trump] + " as trump.")
log_br()
+ game.state = "determine_trump_suit_done"
+ }
+}
+
+states.determine_trump_suit_done = {
+ inactive: "determine the political trump suit",
+ prompt() {
+ prompt("Political trump suit is " + suit_name[game.trump] + ".")
+ view.actions.next = 1
+ },
+ next() {
goto_place_tc_on_display()
}
}