From d7b83029d3a61936f802c820c0d00f6dc79f5acc Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 9 Sep 2022 01:08:48 +0200 Subject: Limit Allied Tobruk setup to 5 units even if supply chain is available! --- rules.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 55b7b2c..c5dc215 100644 --- a/rules.js +++ b/rules.js @@ -6509,6 +6509,9 @@ const SCENARIOS = { allied_deployment: sort_deployment_for_allied([...EGYPT, TOBRUK]), axis_initial_supply: 10, allied_initial_supply: 12, + deployment_limit: { + [TOBRUK]: 5 + }, }, "Battleaxe": { start: 4, @@ -6517,6 +6520,9 @@ const SCENARIOS = { allied_deployment: sort_deployment_for_allied([...EGYPT, TOBRUK]), axis_initial_supply: 4, allied_initial_supply: 8, + deployment_limit: { + [TOBRUK]: 5 + }, }, "1942": { start: 11, @@ -6864,7 +6870,16 @@ function setup(scenario_name) { exports.roles = [ "Axis", "Allied" ] -exports.scenarios = Object.keys(SCENARIOS) +exports.scenarios = [ + "1940", + "1941", + "1942", + "Battleaxe", + "Crusader", + "Gazala", + "Pursuit to Alamein", + "1941-42" +] exports.setup = function (seed, scenario, options) { load_state({ -- cgit v1.2.3