diff options
-rw-r--r-- | play.html | 3 | ||||
-rw-r--r-- | play.js | 2 | ||||
-rw-r--r-- | rules.js | 9 |
3 files changed, 13 insertions, 1 deletions
@@ -89,6 +89,9 @@ main { /* S37 Inkerman - The Fog */ [data-card="225B"] .slot_sticks { display: none } +/* S?? XXX - Retreat to Nivelles */ +[data-card="237A"] .slot_dice { height: 32px; } +[data-card="237A"] .slot_sticks { height: 55px; } .slot_sticks { height: 87px; @@ -120,7 +120,7 @@ function create_formation_slot(id, top) { e.appendChild(ui.cards[id]) } - if (card.special || card.name === "The Fog") + if (card.special || card.name === "The Fog" || card.name === "Retreat to Nivelles") ui.slot_cubes[id] = append_div(e, "slot_cubes") if (!card.special) ui.slot_sticks[id] = append_div(e, "slot_sticks") @@ -304,6 +304,15 @@ exports.setup = function (seed, scenario, options) { log(".h1 " + info.name) log(".h2 " + info.date) log("") + if (info.rule_text) + log(info.rule_text) + if (info.players[0].tactical > 0 || info.players[1].tactical > 0) { + log("Tactical Victory:") + if (info.players[0].tactical > 0) + log(">" + player_name(0) + ": " + info.players[0].tactical) + if (info.players[1].tactical > 0) + log(">" + player_name(1) + ": " + info.players[1].tactical) + } if (game.scenario === S37_INKERMAN) { map_set(game.cubes, S37_THE_FOG, 3) |