summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 9c07479..defbfd4 100644
--- a/rules.js
+++ b/rules.js
@@ -5663,7 +5663,7 @@ function apply_reinforcements() {
})
}
- log(`Reinforcements at #${base}:`)
+ log(`Reinforcements at #${base}`)
if (refitted > 0)
log(`>${refitted} refitted`)
log(`>${scheduled} on schedule`)
@@ -5892,6 +5892,8 @@ states.spending_bps = {
game.buildup.changed = 0
} else {
if (who === game.selected) {
+ if (unit_hex(who) === friendly_base() && unit_lost_steps(who) > 0 && available_bps() >= replacement_cost(who))
+ return this.replacement()
if (!game.buildup.changed)
pop_undo()
else
@@ -6281,7 +6283,7 @@ function is_valid_deployment_hex(base, x, n) {
}
states.free_deployment = {
- inactive: "free deployment",
+ inactive: "setup",
prompt() {
let scenario = current_scenario()
let axis = (game.active === AXIS)
@@ -6352,7 +6354,7 @@ function goto_initial_supply_cards() {
}
states.initial_supply_cards = {
- inactive: "initial supply cards",
+ inactive: "setup",
prompt() {
view.prompt = `Setup: You may discard your entire hand and redraw a new one.`
gen_action('discard')