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

Heal

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"
}
Field Type Description
type string Exactly 'Heal'.
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).
target enum: Any/Self/Others Whether 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.