diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-01 19:55:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-06-02 12:57:02 +0200 |
commit | 779b6c0c999c16a0bd9bc9e11f59ee39025513ad (patch) | |
tree | 307981db9a175f37c4f2e0545be4346e9207f74e | |
parent | 4e8dfae6870d46887dd6be8e08426cf0b821f27d (diff) | |
download | friedrich-779b6c0c999c16a0bd9bc9e11f59ee39025513ad.tar.gz |
disable test scenario
-rw-r--r-- | play.js | 2 | ||||
-rw-r--r-- | rules.js | 9 |
2 files changed, 2 insertions, 9 deletions
@@ -1100,7 +1100,7 @@ function on_update() { action_button("end_turn", "End turn") confirm_action_button("confirm_end_movement", "End movement", - "You still have UNMOVED pieces.?") + "You still have UNMOVED pieces!") action_button("undo", "Undo") @@ -12,7 +12,6 @@ const SCENARIO_INDEX = { "3P": 3, "The War in the West": 1, "The Austrian Theatre": 2, - "TEST": 4 } const ROLE_NAME_1 = [ @@ -1341,8 +1340,7 @@ states.movement = { if (done_trains && done_generals) view.actions.end_movement = 1 else - // TODO view.actions.confirm_end_movement = 1 - view.actions.end_movement = 1 + view.actions.confirm_end_movement = 1 }, piece(p) { push_undo() @@ -4230,11 +4228,6 @@ exports.setup = function (seed, scenario, options) { shuffle_bigint(game.deck) - if (scenario === "TEST") { - game.turn = 3 - game.clock = [ 18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1 ] - } - if (game.scenario === 1) { setup_the_war_in_the_west() } else if (game.scenario === 2) { |