EcoE
Eco
May 26

Next command for laws

Right now, when a law triggers one more then one player and has more then one outcome that will run, a race condition can accrue. Example, the trigger is on each citizen ever hour. The trigger will cause A; the playerstat to count up by a formula of itself and B; the globalstat to count up by the playerstat. From my testing, this one happens on the first trigger in the expected order, for every other citizen this triggers with, the expected outcome is random. My suggested is to add a "next" command for laws that would force the first expected outcome to happen before the second. Like above it would be A; playerstat count up by a formula of itself, Next, B; Globalstat countup by playerstat. This would allow for precise counting within laws that have a nested counting stat.
PendingPending

May 28, 2025

Can you show the actual law?