@<Nexus> hey man,
consult -> what should be the thresholds for xp growth via city size changes?
i created the following logic when a city increase population:
consult -> what should be the thresholds for xp growth via city size changes?
i created the following logic when a city increase population:
Spoiler :
Code:
int xpAmount = 0;
switch (m_iPopulation)
{
case 3:
case 6:
xpAmount = 1;
break;
case 8:
case 10:
xpAmount = 1;
break;
case 12:
xpAmount = 2;
break;
case 14:
case 16:
xpAmount = 1;
break;
case 18:
case 19:
case 20:
xpAmount = 1;
break;
case 22:
case 24:
xpAmount = 1;
break;
case 26:
xpAmount = 2;
break;
default:
xpAmount = 0;
break;
}
//if nothing fits the case above -> check:
if (m_iPopulation > 28 && m_iPopulation < 30 && xpAmount == 0)
xpAmount = 1;