HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*
New requirement type: CounterGreaterThanZero
Name is the name of the counter that must be above 0. Should sanity check range based on counter kind.Possible users:
- Airlift. Could be used to require that dest city has Airlift even if AIRLIFTING_UNLIMITED_DEST is on.
- Pollution. Could be used in action enablers to only allow certain (ecoterrorist) actions against polluting cities.
Updated by Sławomir Lach over 2 years ago
Please, look at http://www.hostedredmine.com/issues/859061 .
I added possibility to compare values in req list and CounterToName requirement type, so you could wrote
"CounterToName", "A", "Counter-Player(Happinnes)"
"CounterToName", "B", "Counter-Player(HappinnesNeedToGolden)"
"Objects", "Above(A,B)", "EffectsFunction"
"PlayerOutputCounter", "GoldenActivated", "Player"
So functionality similar to CounterGreaterThan is implemented. PlayerOutputCounter is not related, I just wanna to show an example of increasing/decreasing one counter based on values of others.
I think about making of remover CounterToName reqs and replace it with effects import list to reduce memory overweight (it currently need to add special pointer to req struct).