Verified:

KeTcHuP Game profile

Member
1785

Jan 22nd 2011, 4:08:25

How does it affect negative population? (population loss) would it speed it(meaning the code is simply POPGROWTH*BONUS), slow it or not affect it?
Ketchup the Thoughtful Suicidier

qzjul Game profile

Administrator
Game Development
10,263

Jan 24th 2011, 16:59:38

if($popg>0)
$popg*=$pop_growth_bonus;
else
$popg/=$pop_growth_bonus;
Finally did the signature thing.

MorTcuS Game profile

Member
1133

Jan 25th 2011, 22:52:17

i dont get it :P, something about $pop...
174099715 (not in use)

Steam : wargasm1

Tertius Game profile

Member
EE Patron
1645

Jan 26th 2011, 20:04:20

Not sure if you're serious or not, but just in case: if your population is growing then the bonus is multiplied, increasing the pop you gain each turn. If you're losing population, then the value is divided by the bonus so that you lose less pop each turn.