This is probably a dumb question, but I've been trying to solve the problem since yesterday and I've been searching through the old and new forums for it, but I wasn't able to find any solution (or probably I'm just too dumb to find it)
So... here we are again. I'm trying to implement a feature to the game to put a limit on the size of your army:
<<set $charisma = 0>>
<<set $unemployed = 0>>
<<set $workers = 0>>
<<set $knights = 0>>
<<set $soldiers = 0>>
<<set $population = $workers + $unemployed>>
<<set $army_size = Math.round($workers / 2) + Math.round($unemployed / 2) + ($charisma * 5)>>
As you can see, what I'm trying to do is quite simple. But the problem comes when last variable is displayed on the screen:
"Due to certain existant limitations, the max size of the army is 88.5 troops."
(I'm using a <<print>> macro here to show the variable, but I don't if that's the issue) Anyways, thanks in advance for helping me with this question.