From 0355e16c0bb38f34d9317a8ee54f03c8836c1261 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Fri, 25 Oct 2024 14:15:02 -0400 Subject: Conscript with tributaries --- play.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'play.js') diff --git a/play.js b/play.js index a0f037b..f3e654b 100644 --- a/play.js +++ b/play.js @@ -924,10 +924,20 @@ function on_update() { layout_pieces(items, xy[0], xy[1], discs, VE) } + // Action highlighting if (s <= S_VE_AVAILABLE) { ui.spaces[s].classList.toggle("action", is_action("space", s)) ui.spaces[s].classList.toggle("selected", view.where === s) } + + // Control + view.tributary &= ~(1 << 12) + if (s < S_DELHI) { + if (view.tributary & (1<