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 c092664..0434915 100644
--- a/rules.js
+++ b/rules.js
@@ -1729,6 +1729,7 @@ function end_roll_phase() {
}
states.s26_fatal_blunder = {
+ inactive: "remove cards",
prompt() {
view.prompt = "Fatal Blunder!"
if (is_card_in_play(S26_FATAL_BLUNDER)) {
@@ -1764,6 +1765,7 @@ states.s26_fatal_blunder = {
}
states.s41_clerambault = {
+ inactive: "rout cards",
prompt() {
view.prompt = "Rout Clerambault and add his sticks to Blenheim!"
if (is_card_in_play(S41_BLENHEIM_CARD) && get_sticks(S41_CLERAMBAULT)) {
@@ -1788,6 +1790,7 @@ states.s41_clerambault = {
}
states.s47_browne_and_schwerin = {
+ inactive: "remove cards",
prompt() {
view.prompt = "Remove " + card_name(game.target2) + "."
gen_action_card(game.target2)
@@ -1800,6 +1803,7 @@ states.s47_browne_and_schwerin = {
}
states.s48_artillery_duel = {
+ inactive: "remove cards",
prompt() {
view.prompt = "Artillery Duel: Remove " + card_name(game.target2) + "."
gen_action_card(game.target2)
@@ -2155,6 +2159,7 @@ function goto_start_turn() {
}
states.s25_stony_hill = {
+ inactive: "rout cards",
prompt() {
view.prompt = "Rout Stony Hill!"
gen_action_card(S25_STONY_HILL)
@@ -2422,6 +2427,7 @@ states.shift_to = {
}
states.s40_cassines = {
+ inactive: "move sticks",
prompt() {
view.prompt = "Cassines: Move one unit stick to this card."
if (game.selected === S40_CASSINES_I) {
@@ -2445,6 +2451,7 @@ states.s40_cassines = {
}
states.s41_prince_eugene = {
+ inactive: "move sticks",
prompt() {
if (game.target2 < 0) {
view.prompt = `Prince Eugene: Move up to ${game.self} unit sticks to any Red card.`
@@ -2473,6 +2480,7 @@ states.s41_prince_eugene = {
}
states.s42_marlborough = {
+ inactive: "move sticks",
prompt() {
view.prompt = "Marlborough: Move 4 sticks to any red or pink card except the Dutch Guards."
for (let c of game.front[0])
@@ -3169,6 +3177,7 @@ states.command = {
}
states.s38_retreat_to_nivelles_1 = {
+ inactive: "remove cards",
prompt() {
view.prompt = "Retreat to Nivelles: Remove all in-play Grand Alliance cards!"
for (let c of game.front[1])
@@ -3184,6 +3193,7 @@ states.s38_retreat_to_nivelles_1 = {
}
states.s38_retreat_to_nivelles_2 = {
+ inactive: "enter reserves",
prompt() {
view.prompt = "Retreat to Nivelles: Bring van Aylva & van Weibnom out of reserve."
for (let c of game.reserve[1])
@@ -3488,6 +3498,7 @@ function goto_absorb(c, a) {
}
states.s29_meade = {
+ inactive: "absorb",
prompt() {
view.prompt = "Choose any friendly Formation except Little Round Top to absorb the hits instead."
let p = player_index()
@@ -3681,6 +3692,7 @@ function goto_routing() {
}
states.s2_ruperts_lifeguard = {
+ inactive: "remove cards",
prompt() {
view.prompt = "Rupert's Lifeguard: Add the Lifeguard's Unit to " + card_name(game.selected)
gen_action_card(S2_RUPERTS_LIFEGUARD)