diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-28 14:29:23 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:39 +0100 |
commit | a808049398cdb100d8f557cff0663aeb10c78d78 (patch) | |
tree | 86ba6493ed979a3190d6c859ca92683038b428fb | |
parent | c7f41534edfdd9c66c6f63441c7ecd7fdf46cf29 (diff) | |
download | nevsky-a808049398cdb100d8f557cff0663aeb10c78d78.tar.gz |
Sort scenarios in same order as rulebook.
-rw-r--r-- | create.html | 2 | ||||
-rw-r--r-- | rules.js | 29 |
2 files changed, 3 insertions, 28 deletions
diff --git a/create.html b/create.html index f504286..8d87e1c 100644 --- a/create.html +++ b/create.html @@ -17,7 +17,7 @@ Pleskau - 1240 (Quickstart) <p> Frontier bishop Hermann von Buxhövden spurs a Latin lunge at the "schismatics" of Novgorod. <p> -NOTE: This is a quickstart setup for first time players who want to skip the first Levy phase. +NOTE: This is a quickstart setup for first time players who want to skip the first Levy and Planning. </div> <div class="scenario_info" id="Watland"> @@ -52,14 +52,13 @@ let states = {} exports.roles = [ P1, P2 ] exports.scenarios = [ + "Pleskau (Quickstart)", "Pleskau", "Watland", - "Peipus", "Return of the Prince", "Return of the Prince (Nicolle)", + "Peipus", "Crusade on Novgorod", - "Pleskau (Quickstart)", - "Test", ] const scenario_last_turn = { @@ -70,7 +69,6 @@ const scenario_last_turn = { "Return of the Prince (Nicolle)": 16, "Crusade on Novgorod": 16, "Pleskau (Quickstart)": 2, - "Test": 2, } function should_remove_no_event_card() { @@ -1669,9 +1667,6 @@ exports.setup = function (seed, scenario, options) { case "Pleskau (Quickstart)": setup_pleskau_quickstart() break - case "Test": - setup_test() - break } return game @@ -1885,26 +1880,6 @@ function setup_pleskau_quickstart() { // goto_command_activation() } -function setup_test() { - setup_pleskau_quickstart() - set_add(game.capabilities, AOW_TEUTONIC_RANSOM) - set_add(game.capabilities, AOW_RUSSIAN_RANSOM) - - set_lord_locale(LORD_KNUD_ABEL, LOC_ODENPAH) - set_lord_locale(LORD_HERMANN, LOC_ODENPAH) - set_lord_locale(LORD_RUDOLF, LOC_ODENPAH) - - set_lord_locale(LORD_DOMASH, LOC_PSKOV) - set_lord_locale(LORD_VLADISLAV, LOC_IZBORSK) - - for (let c = first_p1_card; c <= last_p1_card; ++c) - if (data.cards[c].when === "hold") - game.hand1.push(c) - for (let c = first_p2_card; c <= last_p2_card; ++c) - if (data.cards[c].when === "hold") - game.hand2.push(c) -} - states.setup_lords = { inactive: "Set up Lords", prompt() { |