Requirements are sets of conditions that you can set to restrict the use or visibility of an ability, behavior, validator or command card button, these conditions include but are not limited to behaviors being set, abilities being enabled and upgrades being researched.
Requirements can be constructed as a tree or as an expression, for beginners the tree view is recommended.
Requirement nodes under the Use branch of the requirement tree must return true for abilities to be used even if not visible in the command card, for behaviors to be enabled and for Player Requirement validators to return true
Requirement nodes under the Show branch of the requirement tree must return true for abilities with a Restricted button state to appear in the command card.
Often used by Research abilities to hide upgrade buttons once queued.
Note that abilities can still be used by triggers and Issue Order effects even if they are not visible so it is advisable to also disable use of the ability via a duplicate requirement branch under Use.
New nodes can be added by right clicking the Use folder, the Show folder or a previous node that you want to place the new node under and clicking the Add Requirement Node button. Some node types have limits as to how many nodes you can have under them.
Logic and maths nodes work by comparing the upper node to the lower node.
Start the requirement with And, Or and Not nodes followed by comparative logic nodes. Under the comparative logic nodes use maths nodes to apply weighting to the values of your terminal nodes. Use the terminal nodes to count what you want the requirement to count and use constants to compare against or add weighting as needed
There is no subtraction node so you need to add the amount you would have subtracted to the other side of the logic function (a+c=b is the same as a=b-c)
This page was last edited on 1 August 2018, at 18:11.
Content is available under CC BY-NC-SA 3.0 unless otherwise noted. Game content and materials are trademarks and copyrights of their respective publisher and its licensors. All rights reserved.
This site is a part of Fandom, Inc. and is not affiliated with the game publisher.