diff -ruN -X cvs/diff_ignore cleancvs/common/game.h cvs/common/game.h --- cleancvs/common/game.h Mon May 29 15:23:23 2000 +++ cvs/common/game.h Sat Jun 3 00:38:28 2000 @@ -85,6 +85,7 @@ int add_to_size_limit; int spacerace; int turnblock; + int impeffect; int auto_ai_toggle; int fogofwar; int fogofwar_old; /* as the fog_of_war bit get changed by setting diff -ruN -X cvs/diff_ignore cleancvs/server/gamehand.c cvs/server/gamehand.c --- cleancvs/server/gamehand.c Wed May 17 15:32:06 2000 +++ cvs/server/gamehand.c Sat Jun 3 00:43:27 2000 @@ -368,6 +368,8 @@ "game.killcitizen"); game.turnblock = secfile_lookup_int_default(file,game.turnblock, "game.turnblock"); + game.impeffect = secfile_lookup_int_default(file,game.impeffect, + "game.impeffect"); game.barbarianrate = secfile_lookup_int_default(file, game.barbarianrate, "game.barbarians"); game.onsetbarbarian = secfile_lookup_int_default(file, game.onsetbarbarian, @@ -590,6 +592,7 @@ secfile_insert_int(file, game.aqueductloss, "game.aqueductloss"); secfile_insert_int(file, game.killcitizen, "game.killcitizen"); secfile_insert_int(file, game.turnblock, "game.turnblock"); + secfile_insert_int(file, game.impeffect, "game.impeffect"); secfile_insert_int(file, game.barbarianrate, "game.barbarians"); secfile_insert_int(file, game.onsetbarbarian, "game.onsetbarbs"); secfile_insert_int(file, game.occupychance, "game.occupychance"); diff -ruN -X cvs/diff_ignore cleancvs/server/ruleset.c cvs/server/ruleset.c --- cleancvs/server/ruleset.c Wed May 24 21:13:05 2000 +++ cvs/server/ruleset.c Sat Jun 3 00:40:59 2000 @@ -947,6 +947,9 @@ e->amount = secfile_lookup_int_default(&file, 0, "%s.effect%d.amount", sec[i], j); + if ( !b->is_wonder ) + e->amount *= game.impeffect; + item = secfile_lookup_str_default(&file, "", "%s.effect%d.cond_bldg", sec[i], j); if (*item) { diff -ruN -X cvs/diff_ignore cleancvs/server/stdinhand.c cvs/server/stdinhand.c --- cleancvs/server/stdinhand.c Sun May 28 00:06:25 2000 +++ cvs/server/stdinhand.c Sat Jun 3 00:37:52 2000 @@ -576,6 +576,12 @@ N_("If this is set to 1 the game turn is not advanced until all players " "have finished their turn, including disconnected players.") }, + { "impeffect", &game.impeffect, + SSET_META, SSET_TO_CLIENT, + 1, 10, 1, + N_("Improvement effect modifier"), + N_("The effect of city improvements are multiplied bu this number.") }, + { "demography", NULL, SSET_META, SSET_TO_CLIENT, 0, 0, 0,