Skip to content

Function: restoreObjectCondition() ​

ts
function restoreObjectCondition(object: game_object): void;

Restore a creature's condition: full health and stamina, radiation cleared and wounds closed.

Condition setters add to the current value, except bleeding, which closes wounds by the share given, so full shares restore any state.

Parameters ​

ParameterTypeDescription
objectgame_objectCreature to restore.

Returns ​

void