Discussion:
[Freecol-developers] Unexpected change of ownership
Michael Vehrs
2015-01-01 16:29:46 UTC
Permalink
It seems the natives are able to reclaim tiles lost to a European colony
when the colony changes hands. In the screenshot attached, the lower
right tile has been plowed, which implies it must have belonged to the
English at one point, but now that the French have taken the colony, the
tile belongs to the natives.


Regards

Michael
Michael T. Pope
2015-01-01 21:57:54 UTC
Permalink
On Thu, 01 Jan 2015 17:29:46 +0100
Post by Michael Vehrs
It seems the natives are able to reclaim tiles lost to a European colony
when the colony changes hands. In the screenshot attached, the lower
right tile has been plowed, which implies it must have belonged to the
English at one point, but now that the French have taken the colony, the
tile belongs to the natives.
Interesting. Probably the way to implement this is to clear settlement
ownership of all its surrounding tiles, then do a pass over them with the
existing reclaim code in ServerPlayer.csDisposeSettlement, perhaps tweaked
to slightly favour natives.

Cheers,
Mike Pope
Michael T. Pope
2015-01-06 04:07:24 UTC
Permalink
On Thu, 01 Jan 2015 17:29:46 +0100
Post by Michael Vehrs
It seems the natives are able to reclaim tiles lost to a European colony
when the colony changes hands.
Should be there in git.30c8cf4. Had a small speed bump when I discovered
that the natives need to evict the colony units using a reclaimed tile,
but otherwise this turned out to be fairly straightforward.

Cheers,
Mike Pope
Michael Vehrs
2015-01-06 05:58:56 UTC
Permalink
Post by Michael T. Pope
On Thu, 01 Jan 2015 17:29:46 +0100
Post by Michael Vehrs
It seems the natives are able to reclaim tiles lost to a European colony
when the colony changes hands.
Should be there in git.30c8cf4. Had a small speed bump when I discovered
that the natives need to evict the colony units using a reclaimed tile,
but otherwise this turned out to be fairly straightforward.
Cheers,
Mike Pope
Great. Even after twenty years of Colonization, I am surprised by the
sheer number of nooks, crannies and corner cases.


Regards

Michael

Loading...