[Freeciv-Dev] Re: (PR#6965) civilwar_nations as alternative to misc_citi
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6965 >
Morgan Jones wrote:
> Now that we have civilwar_nations I thought that this mechanism might be a
> better way to supplement a nations citylist when it is exhausted.
Yes. And it should be done recursively.
Something like
do {
city_name = find_city_name_for_nation(x, y, nation);
if (!city_name) {
nation = pick_random_civilwar_nation(nation);
}
} while (nation && !city_name);
jason
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#6965) civilwar_nations as alternative to misc_cities.ruleset,
Jason Short <=
|
|