Data CRequirement

Requirements specify the tech tree requirements needed to issue certain commands. They can also be used to specify the tech needed for a behavior to be enabled.

Requirement Conditions
Tech tree conditions are specified as a set of conditions. Each condition is tested for the owning player (eg. if an Infestor uses Neural Parasites on an enemy High Templar, the requirements for Psi Storm are tested for the original owner of the High Templar). The conditions can be either Use conditions or Show conditions.
 * Show: These conditions must be met to show command buttons. If the requirements for an ability are not met, any buttons for that ability are completely hidden from the command card. (eg. For any upgrade, the number of that upgrade in production must be equal to 0 so that, if the player selects an identical building, he doesn't see the upgrade's button)
 * Use: These conditions must be met before the player can use the associated ability. If the requirement is not fulfilled, any buttons with this ability are greyed out and unclickable. The ability's tooltip will also show the missing requirements in red.