Skip to content

FEATURE#

Used to specify a feature that has to be bought for the requirement to be fulfilled.

Example#

The following example requires the player to own the Christmas feature.

"requirements": [
  {
    "type": "FEATURE",
    "id": "$feature_christmas00"
  }
]

Attributes#

hide if fulfilled#

Type: boolean

Whether to hide the requirement text if the requirement was fulfilled.

By default, the value will be false.

hide if not fulfilled#

Type: boolean

Whether to hide the requirement text if the requirement was not fulfilled.

By default, the value will be false.

id#

Type: string

ID of the required feature draft.