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

Gather

Requires the player to gather resources from the world: wood from trees, ore from nodes, meat from animal corpses. Counts the amount gathered.

{
"type": "Gather",
"title": "Gather wood",
"description": "",
"amountRequired": 5000,
"conditions": {},
"items": ["wood"]
}
Field Type Description
type string Exactly 'Gather'
title string Short, human-readable name. Must not be empty.
description string A blurb of 1 to 3 sentences. May be empty if the title is self-explanatory.
amountRequired integer (≥ 1) How many units must be completed. What a unit means depends on the objective type. Minimum 1.
conditions map Optional conditions that restrict when progress counts. Progress is recorded only when the objective's main requirement and all of these conditions are met. Use an empty map for none.
items string[] Rust item shortNames, lowercase dotted (e.g. rifle.ak, rifle.bolt, wood, stones, metal.fragments, scrap, hqm, lowgradefuel).
  • Fires when a resource dispenser is harvested (a tree, ore node, or animal corpse). Progress increments by the gathered item amount.
  • A Weapon condition on a Gather objective is approximated by the player’s currently held item, because Rust doesn’t expose which tool did the gathering.