summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 1ee97c0..ef6db0d 100644
--- a/rules.js
+++ b/rules.js
@@ -2080,6 +2080,7 @@ function gen_card_menu(card) {
gen_action('construct_stockades', card);
gen_action('construct_forts', card);
}
+ gen_action('discard', card);
}
function card_name(card) {
@@ -2142,6 +2143,11 @@ states.action_phase = {
construct_forts(card) {
goto_construct_forts(card);
},
+ discard(card) {
+ player.did_construct = 0;
+ discard_card(card, "");
+ end_action_phase();
+ },
pass() {
log(game.active + " pass.");
player.passed = 1;