/tg/ Station 13 - Modules - TypesVar Details - Proc Details

surgery_step

Vars

surgery_effects_moodIf the surgery causes mood changes if the patient is conscious.
surgery_failure_mood_eventWhich mood event to give the consious patient when surgery fails. Lasts muuuuuch longer.
surgery_started_mood_eventWhich mood event to give the patient when surgery is starting while they're conscious. This should be permanent/not have a timer until the surgery either succeeds or fails, as those states will immediately replace it. Mostly just flavor text.
surgery_success_mood_eventWhich mood event to give the conscious patient when surgery succeeds. Lasts far shorter than if it failed.

Procs

display_painSends a pain message to the target, including a chance of screaming.
update_surgery_moodHandles updating the mob's mood depending on the surgery states.

Var Details

surgery_effects_mood

If the surgery causes mood changes if the patient is conscious.

surgery_failure_mood_event

Which mood event to give the consious patient when surgery fails. Lasts muuuuuch longer.

surgery_started_mood_event

Which mood event to give the patient when surgery is starting while they're conscious. This should be permanent/not have a timer until the surgery either succeeds or fails, as those states will immediately replace it. Mostly just flavor text.

surgery_success_mood_event

Which mood event to give the conscious patient when surgery succeeds. Lasts far shorter than if it failed.

Proc Details

display_pain

Sends a pain message to the target, including a chance of screaming.

Arguments:

update_surgery_mood

Handles updating the mob's mood depending on the surgery states.