How do you create icons?

If you’re getting that error message then one of the objects you made has bad syntax in the equation part of it’s definition.

“CrimeRate,0.0+(0.01*x)”
^ this part is wrong in your mod

If it’s happening every turn then it’s either in a simulation object or a policy that is initially on the field at the start.

Unfortunately it isn’t easy to find such errors as the error message doesn’t list the specific equation that is wrong. I would recommend removing all of your policies and then adding them back one at a time until it crashes again. The last one is the one causing the problem.

The error is probably caused by spaces in between your operators (ex. 0.5 + x should be: 0.5+x) or by doing complicated stuff with your exponents that isn’t supported by the game yet (see [Bug 1.126] - Parsing of Exponents doesn't respect parentheses)

1 Like