Skip to content
Contractsv1.16.1

Attachment

⭐ Premium

Progress counts only when the player’s weapon has one of the specified attachments on it.

{
"type": "Attachment",
"attachments": ["weapon.mod.silencer"]
}
FieldTypeDescription
typestringExactly 'Attachment'
attachmentsstring[]Attachment item shortNames (e.g. weapon.mod.silencer, weapon.mod.holosight, weapon.mod.8x.scope). At least one entry.
  • The weapon needs any of the listed attachments.
  • Attachments are checked when the hit lands, not when the shot was fired.
  • At least one listed attachment item must be valid or the condition is invalid.
  • Useful when paired with a Weapon. A Weapon condition with rifle.ak and an Attachment condition with weapon.mod.holosight only counts an AK with a holosight.
  • To give each weapon its own attachment (an AK with a holosight OR a bolty with an 8x scope), put one Weapon and Attachment pair in each branch of an Or condition.