diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-05-28 20:32:15 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-06-03 22:44:43 +0200 |
commit | 6413f3250b7ee268f6843a98424203f8a945ed6d (patch) | |
tree | 19a978015e0760c2c54f2110218d1cc67eee74b0 | |
parent | f39c75af5142db5d2fcdcf9f16d6b6cfad8f80c9 (diff) | |
download | andean-abyss-6413f3250b7ee268f6843a98424203f8a945ed6d.tar.gz |
No voluntary removal or negotiation before choosing an op/event.
-rw-r--r-- | rules.js | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -1816,8 +1816,6 @@ states.remove_pieces = { view.actions.done = 1 }, piece(p) { - if (game.op) - game.op.pass = 0 log_summary("% " + piece_name(p) + " from S" + piece_space(p)) remove_piece(p) }, @@ -2036,6 +2034,7 @@ states.give_shipment = { view.prompt = `Negotiate: ${faction_name[game.transfer.current]} asked for Shipment in ${space_name[s]}.` gen_piece_in_space(s, game.transfer.current, GUERRILLA) view.actions.deny = 1 + view.actions.undo = 0 }, piece(p) { log_transfer(`${faction_name[game.current]} gave Shipment to ${faction_name[game.transfer.current]} in S${piece_space(p)}.`) @@ -2113,6 +2112,7 @@ states.transfer_shipment = { } }, shipment(sh) { + push_undo() if (game.transfer.shipment === sh) game.transfer.shipment = -1 else @@ -2562,15 +2562,7 @@ states.eligible = { gen_any_operation() gen_any_event() } - - // Limited negotiation menu until committed to op/event - view.actions.remove_pieces = 1 - view.actions.ask_resources = 0 - view.actions.transfer_resources = 0 - view.actions.ask_shipment = 0 - view.actions.transfer_shipment = 0 - - view.actions.pass = game.op.pass ? 1 : 0 + view.actions.pass = 1 }, train: goto_train, patrol: goto_patrol, |