From 44db545344b2665ef03ef173246f1875863baee1 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 2 Apr 2011 14:41:09 +0200 Subject: [PATCH] Disable BRIDGETOWERS by default A deity can easily break BRIDGETOWERS by reducing etu_per_update without compensating customization of buil_tower_bh, rollover_avail_max or bridge span maxpop. Document the issue in output of pconfig (which is installed as $prefix/etc/empire/econfig). To increase the chance deities actually read the documentation, disable BRIDGETOWERS. --- include/econfig-spec.h | 6 +++++- src/lib/global/options.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/include/econfig-spec.h b/include/econfig-spec.h index 3e42210a..5113bfc6 100644 --- a/include/econfig-spec.h +++ b/include/econfig-spec.h @@ -28,7 +28,7 @@ * * Known contributors to this file: * Marc Olzheim, 2004 - * Markus Armbruster, 2004-2009 + * Markus Armbruster, 2004-2011 */ /* @@ -142,6 +142,10 @@ EMPCF_OPT("BLITZ", opt_BLITZ, "Enable blitz mode") EMPCF_OPT("BRIDGETOWERS", opt_BRIDGETOWERS, "Allow bridge towers") +EMPCF_COMMENT("# If you enable this, make sure that bridge spans can produce\n" + "# sufficient avail. Depending on your etu_per_update, you may have\n" + "# to tweak buil_tower_bh, rollover_avail_max, or bridge span's maxpop.") +// FIXME doc avail EMPCF_OPT("EASY_BRIDGES", opt_EASY_BRIDGES, "Allow bridge building without bridge heads") EMPCF_OPT("FALLOUT", opt_FALLOUT, diff --git a/src/lib/global/options.c b/src/lib/global/options.c index d094ff0f..2a7bf399 100644 --- a/src/lib/global/options.c +++ b/src/lib/global/options.c @@ -28,7 +28,7 @@ * * Known contributors to this file: * Steve McClure, 1998 - * Markus Armbruster, 2005-2009 + * Markus Armbruster, 2005-2011 */ #include @@ -38,7 +38,7 @@ int opt_ALL_BLEED = 1; int opt_AUTO_POWER = 0; int opt_BLITZ = 1; -int opt_BRIDGETOWERS = 1; +int opt_BRIDGETOWERS = 0; int opt_EASY_BRIDGES = 1; int opt_FALLOUT = 1; int opt_GODNEWS = 1;