From f8f40e6c1d03e0600334ca6bfa28030146762c89 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 17 Dec 2024 19:56:31 +0100 Subject: Add "tournament" option. --- rules.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 458c9f4..d3ede47 100644 --- a/rules.js +++ b/rules.js @@ -3242,7 +3242,11 @@ exports.setup = function (seed, scenario, options) { // Starting loyalty, starting with a random player. game.state = 'loyalty' - game.active = random(player_count) + + if (options.tournament) + game.active = 0 + else + game.active = random(player_count) return save_game() } -- cgit v1.2.3