movblock.mov

Counter action

Fields for this consumable treatment action.

Consumable treatments place this action in actions.

Fields

FieldMeaning and defaultRange
typecounter.
counterradiation, digamma, asbestos, or black_lung.
operationadd, set, or min.
amount​OptionalOperand; default 0. Add accepts a negative amount; set and min require nonnegative amounts. Lung-disease amounts are integers in [-\texttt{i32::MAX}, \texttt{i32::MAX}].finite \texttt{f64}
limit_divisor​OptionalUses the lung-disease maximum divided by this integer as the operand. Applies only to asbestos and black_lung; amount must be 0. Omit to use amount.[1, \texttt{i32::MAX}]

add changes the current counter and floors it at zero. set replaces it. min caps it at the operand. Lung-disease division uses integer division.

CounterLimits
radiationadd caps it at 2500. Unchanged while radiation_config enable_contamination is false
digammaClamped to [0, 1000]; 10 or more kills
asbestosMaximum 72000; reaching it resets the counter and deals 1000 damage; unchanged while disable_asbestos is true
black_lungMaximum 144000; reaching it resets the counter and deals 1000 damage; unchanged while disable_coal is true

Example:

{
  "type": "counter",
  "counter": "black_lung",
  "operation": "min",
  "limit_divisor": 5
}

© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.

On this page