Skip to content
Contractsv1.9.0

Player Building Privilege

⭐ Premium

Progress counts only when the player’s building privilege state is one of the listed states.

{
"type": "PlayerBuildingPrivilege",
"states": ["Authorized"]
}
FieldTypeDescription
typestringExactly 'PlayerBuildingPrivilege'
statesenum[]: Authorized | Blocked | NoneBuilding privilege states the player can be in. One of: Authorized, Blocked, None. Authorized means inside a privilege range and authorized on it. Blocked means inside a privilege range without authorization, the game's own 'building blocked'. None means outside every privilege range. Matching any listed state is enough. At least one entry is required, and an empty list is invalid because the three states cover every player.

Every player is always in exactly one of the three states:

  • Authorized: inside a privilege range and authorized on it.
  • Blocked: inside a privilege range without authorization. This is the game’s own “building blocked” state.
  • None: outside every privilege range. Nobody’s territory, not even your own.

Listing several states means any one of them is enough. Listing every state is permitted, though it’s a no-op that will always pass. At least one state must be listed.

  • “In your own base” is ["Authorized"].
  • “While raiding” or “in enemy territory” is ["Blocked"].
  • “Out in the open” is ["None"].
  • “Inside any base, yours or not” is ["Authorized", "Blocked"].
  • The game’s own verdict decides. Whatever grants building privilege counts: a tool cupboard, a tugboat’s vehicle privilege, and anything the game adds later. There is no filtering to tool cupboards only.
  • Blocked and None are different things. A player two meters outside a stranger’s wall is None, one step inside the privilege radius they become Blocked. If you want “not at home” as a whole, list both.
  • The list must have at least one entry. The three states cover every player, so an empty list would be an always-true no-op and the contract will not load.

Kill 3 players while inside enemy territory:

{
"type": "Kill",
"amountRequired": 3,
"entities": ["player"],
"conditions": {
"while_raiding": {
"type": "PlayerBuildingPrivilege",
"states": ["Blocked"]
}
}
}

Craft 10 medical syringes in the safety of your own base:

{
"type": "Craft",
"amountRequired": 10,
"items": ["syringe.medical"],
"conditions": {
"at_home": {
"type": "PlayerBuildingPrivilege",
"states": ["Authorized"]
}
}
}