summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-09 01:08:48 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:27 +0100
commitd7b83029d3a61936f802c820c0d00f6dc79f5acc (patch)
tree5a706b107f2d1fbfc99dd4cc692f622d1f15b1e6
parent0bd2af2417e07550073a715c0d1c0735254ca22a (diff)
downloadrommel-in-the-desert-d7b83029d3a61936f802c820c0d00f6dc79f5acc.tar.gz
Limit Allied Tobruk setup to 5 units even if supply chain is available!
-rw-r--r--rules.js17
1 files changed, 16 insertions, 1 deletions
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({