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...*
Feature #859052
openNew requirement type: CounterGreaterThanZero
0%
Description
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.
Related issues
Updated by Sveinung Kvilhaugsvik almost 3 years ago
- Blocks Feature #859061: Ruleset defined counters added
Updated by Sławomir Lach almost 3 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).
Updated by Sławomir Lach almost 3 years ago
Patches are ready and accessible here:
http://www.hostedredmine.com/issues/859061
But I don't know I should split patches or what.