Disbanding city - how is the supporting city of the new settler decided?
Disbanding city - how is the supporting city of the new settler decided?
I trird searching but could not find how the engine / ruleset decides what the supporting city of the resulting settler will be when I disband a city. It is not the nearest one, neither the most resourceful one. And why is it not up to my choice?
Re: Disbanding city - how is the supporting city of the new settler decided?
From the source code it seems like it should be the nearest city. Can you provide a savegame from which it's possible to reproduce a case where that's not true, for me to debug?
Re: Disbanding city - how is the supporting city of the new settler decided?
Thanks, I try to attach the aftermath several turns later. I am just learning the game, I have no intention of going back so I make no autosave and just overwrite the save when I quit the session. Good idea on looking at the source, is that really that well commented that it can be considered the documentation?
The disbanded city was at (178,56), the resulting settler got re-homed to the city at (15,42), though (17,54) was closer.
The disbanded city was at (178,56), the resulting settler got re-homed to the city at (15,42), though (17,54) was closer.
- Attachments
-
- csaknagy.sav.bz2
- (59.73 KiB) Downloaded 735 times
Re: Disbanding city - how is the supporting city of the new settler decided?
I almost forgot, this is certainly not the most recent version of the game but 2.6.3 from Debian.
Re: Disbanding city - how is the supporting city of the new settler decided?
I might have found the reason, this calculation might be done based on something called real_distance, which I find quite strange, though it might be the simplest method.