minion_has_upgrade

Passes when the minion owns the given upgrade at or above a tier.

Categories: minion

Required arguments

Key(s)DescriptionType
upgradeThe id of the upgrade to check.STRING

Optional arguments

Key(s)DescriptionTypeDefault
tierThe minimum tier required. Defaults to 1.EXPRESSION1

Example

conditions:
  - id: minion_has_upgrade
    args:
      upgrade: <value>
      tier: <expression> # ← Optional