Skip to content
Contractsv1.7.0

Heal

⭐ Premium

Requires the player to restore health using specified items, such as food or medical items. amountRequired is measured in raw HP restored.

{
"type": "Heal",
"title": "Patch up your team",
"description": "",
"amountRequired": 500,
"conditions": {},
"items": ["syringe.medical", "largemedkit"],
"target": "Others"
}
FieldTypeDescription
typestringExactly 'Heal'.
titlestringShort, human-readable name. Must not be empty.
descriptionstringA blurb of 1 to 3 sentences. May be empty if the title is self-explanatory.
amountRequiredinteger (≥ 1)How many points of health the player must restore.
cooldownobject | nullOptional pacing limit on how fast progress adds up: at most maxAmount units of progress count in any sliding window of windowSeconds. Absent means progress adds up freely. While the window's budget is used up, further progress is ignored and the player sees a countdown to the next available moment.
burstobject | nullOptional clustering requirement: actions only count when they arrive clustered, at least amount units within one trailing window of windowSeconds forming one burst. When present, amountRequired counts completed bursts instead of raw actions. Actions that age out of the window without completing a burst never count. Absent means no clustering.
conditionsmapOptional 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.
hideDetailsbooleanWhen true, hides this objective's in-game condition strip and details popup, so the description is the only explanation players get. Title, description and progress still show. Absent means false.
itemsstring[]Rust item shortNames, lowercase dotted (e.g. rifle.ak, rifle.bolt, wood, stones, metal.fragments, scrap, hqm, lowgradefuel).
targetenum: Any | Self | OthersWhether the heal must target self, others, or either.
  • Progress increments by the HP actually restored, clamped to the target’s missing health. Over-healing past full HP does not count, and healing a full-health target counts nothing.
  • target controls whose healing qualifies:
    • Self: only healing yourself.
    • Others: only healing other players.
    • Any: either.