How to calculate unemployed citizens in a city?

Scissor_fingers

Chieftain
Joined
Jul 31, 2016
Messages
10
Location
Texas
I'm trying to design a UB that replaces the Zoo that gives +2 happiness and a +5% gold bonus per unemployed citizen (capped at 25%).

I'm currently stuck on how to calculate the unemployed citizens in a city as an integer in lua.

Can someone help please?
 
Back
Top Bottom