summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index e0751ab..e1ff855 100644
--- a/rules.js
+++ b/rules.js
@@ -5000,7 +5000,9 @@ function goto_gain_legacy_provinces() {
award_legacy_summary(game.current, "Provinces", count_own_provinces())
award_legacy_summary(game.current, "Improvements", count_own_improvements())
- if (!game.end && is_emperor_player() && game.legacy[game.current] >= 60) {
+ let trigger = game.long ? 90 : 60
+
+ if (!game.end && is_emperor_player() && game.legacy[game.current] >= trigger) {
log_br()
log("Game will end after this round!")
game.end = 1
@@ -5493,6 +5495,10 @@ exports.setup = function (seed, scenario, options) {
log_h1("Time of Crisis")
+ if (options.long_game) {
+ log("Play to 90 Legacy.")
+ game.long = 1
+ }
if (options.emperor) {
log("Emperor Rules.")