Civil War Source?
-
- Posts: 29
- Joined: Sat Oct 07, 2017 1:51 am
Civil War Source?
Does anybody knows where is the settings for civil war on the source code of the game, at Github?
Re: Civil War Source?
Start at server/settings.c near line 2379, but that's only about the setting help+type+default+category (sociology in this case) etc.:Eusebio Ptolomeu wrote:Does anybody knows where is the settings for civil war on the source code of the game, at Github?
Code: Select all
GEN_INT("civilwarsize", game.server.civilwarsize,
SSET_RULES_FLEXIBLE, SSET_SOCIOLOGY, SSET_RARE,
ALLOW_NONE, ALLOW_BASIC,
N_("Minimum number of cities for civil war"),
N_("A civil war is triggered when a player has at least this "
"many cities and the player's capital is captured. If "
"this option is set to the maximum value, civil wars are "
"turned off altogether."), NULL, NULL, NULL,
GAME_MIN_CIVILWARSIZE, GAME_MAX_CIVILWARSIZE,
GAME_DEFAULT_CIVILWARSIZE)