Skip to content
These docs reflect Contracts v0.6.0, the latest release. Older servers may differ.

Weapon

Progress counts only when the player is using one of the specified weapons.

{
"type": "Weapon",
"weapon": ["rifle.bolt"]
}
Field Type Description
type string Exactly 'Weapon'
weapon string[] Weapon item shortNames (e.g. rifle.ak, rifle.bolt, pistol.semiauto). At least one entry.
  • The player must be using one of the listed weapons for the action to count.
  • On a Gather objective the “weapon used” is approximated by the player’s currently held item, because Rust doesn’t report which tool did the gathering.
  • At least one listed shortname must resolve to a real item, or the condition is treated as invalid.