Follow-up Comment #3, patch #3321 (project freeciv):

> I'm not sure it's possible to change type after player creation

It's not possible as there's ai type specific structures about players,
cities, and units. It's assumed (and that's hard to reliably change) that
values for *current* ai type are correct. That's not true if data about
another ai type, and not current one, has been maintained.
 Arbitrary example: AI type wants to track how reliable other players are so
it stores information to its private player structure about any pacts broken
by other players. This works when player is under its control (note that this
does not mean that player must be under ai control, just that player has this
ai type assigned) from beginning to the end, but player cannot switch to this
ai type mid-game as it would have no history information.


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to