summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-03-13 15:59:51 +0100
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:15 +0200
commit80c8991a117fe20d583ff7df272fa50f7cdd2f5c (patch)
treea4c6a48e0b780f02d596fc4b004703b6976b4cad /play.js
parentb586c00ad5855ed23bd25d45715ec8d0a3644d7f (diff)
downloadandean-abyss-80c8991a117fe20d583ff7df272fa50f7cdd2f5c.tar.gz
More negotiation possibilities.
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/play.js b/play.js
index 14ff8df..ec27b0f 100644
--- a/play.js
+++ b/play.js
@@ -772,7 +772,6 @@ function on_update() {
for (let cap of capability_events) {
let shaded = set_has(view.capabilities, -cap)
let unshaded = set_has(view.capabilities, cap)
- console.log("CAP", cap, shaded, unshaded)
if (shaded || unshaded) {
ui.capabilities[cap].classList.toggle("shaded", shaded)
ui.capabilities[cap].classList.toggle("unshaded", unshaded)
@@ -927,8 +926,10 @@ function on_update() {
action_menu(document.getElementById("negotiate_menu"), [
"remove_pieces",
+ "transfer_resources",
+ "transfer_shipment",
+ "ask_resources",
"ask_shipment",
- "ask_resources"
])
action_button("train", "Train")
@@ -972,6 +973,7 @@ function on_update() {
action_button("end_operation", "End Op")
action_button("next", "Next")
+ action_button("deny", "Deny")
action_button("done", "Done")
action_button("undo", "Undo")
}