[Freeciv-Dev] (PR#5252) Wishlist: Defined civil war nations
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[morgan - Thu Aug 21 03:11:46 2003]:
> It would be great if there was an optional entry in the nation
> rulesets that listed a number of other nations that the game would
> choose from (either in order or randomly, not sure which is better)
> for a new AI player in the event of civil war.
>
> For example:
>
> In Spanish ruleset:
>
> civilwar_nations = "Mexican", "Chilean", etc.
>
>
> In English ruleset:
>
> civilwar_nations = "American", "Australian", "New Zealand", etc.
>
>
> I realize that many of these nations were not created as a result of
> civil war, but it would add some historical consistency to the
> game. Having the Aztecs breaking away from the Japanese is sort of
> odd.
>
> Of course if civilwar_nations is empty or all the entries are already
> in the game then it could revert back to current random method.
>
> Any thoughts?
If someone will write a patch for this, I'll commit it.
The list of nations needs to be loaded from the nation rulesets
(server/ruleset.c), stored in the nation structure (common/nation.h)
(probably in string form, since converting it to a struct nation_type is
difficult while loading the rulesets - unless anyone has a better idea),
and checked when a civil war happens (not sure where this is...). It
need not be sent to the client.
jason
- [Freeciv-Dev] (PR#5252) Wishlist: Defined civil war nations,
Jason Short <=
|
|