 |
|  |
 |
|  |
 |
|  |
 |
|
Mercator
|
 |
Sorekara no Nanimo
Jan 1970 time: 06:30
|
|
@Boco: Where? 
@ : I'm not sure about the details myself. Fertility is stored as part of the map data in half a byte (4 bits).
Values range from 0 to 15, and the AI will only build cities on squares with fertility above 7 (8-15). Only grassland and plains will ever have values above 7.
Fertility is reduced to below 8 on city squares and squares adjacent to cities.
Other that that, I'm not sure. I think the values kind of depend on the size of the map, the total amount of land and the total amount of fertile land. So while a map may start with fairly high values, they will likely drop as more cities are built and the amount of available fertile land drops.
Apart from this, I think only rivers, resources, and possibly roads, irrigation and mining have some influence on fertility. But I'm pretty sure none of it has to do with the terrain values as in the rules.txt.
Gradually dropping fertility over time would also mean the map becomes less desirable for the AI. This might even be a fundamental part of curbing AI expansion, seeing as the AI immediately builds a city on fertility 15, but not on fertility 8. So presumably it prefers a higher value and isn't just content with anything over 7. Maybe it's even a simple probability function...
But this is all pure conjecture.
I'm not sure what happens when a city is destroyed (whether fertility bounds back up or not) or what happens when infertile terrain is transformed to fertile terrain. I have the feeling it stays at zero... But that would mean the AI won't build cities on terrain transformed to grassland. That can be tested.
|
|
|  |
 |
|
Boco
|
 |
who was once King for a week.
Jan 2001 time: 00:30
|
|
quote: note that the city square only adds one shield, never one food , if the city square doesn't produce each... thus un-shielded grass cities produce 1 shield, but mountain citied produce no food... not even 1 (with standard rules) |
In ToT, the city square bonus consists of the irrigated food value + 1 shield + 1 arrow
For ex,
code: ;Name, m, d, f,s,t, irr, f,#t,ai, mine,s,#t, ai,xform,impassable
@TERRAIN
Baadiyah, 2, 2, 0,0,0, yes,10, 4, 0, yes, 4,99, 0, no, yes, ; Drt
gives this
Attachment: baadcity.png
This has been downloaded 60 time(s).
|
|
|  |
All times are GMT. The time now is 05:30. Apolyton Time is 00:30. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|