Daedalus Dock - Modules - TypesVar Details - Proc Details

surgery_step

Vars

allowed_toolstype path referencing tools that can be used for this step, and how well are they suited for it
can_infectevil infection stuff that will make everyone hate me
delicateif this step NEEDS stable optable or can be done on any valid surface with no penalty
failure_soundSound to play on failure.
loopingDoes this step attempt to repeat itself after every success?
max_durationduration of the step
min_durationduration of the step
pain_givenHow much pain to deliver to the patient
preop_soundSound to play during begin_step(). Can be a sound, and associative list of sound:path, or a flat list of sounds.
strict_access_requirementWhether or not this surgery will be fuzzy on size requirements.
success_soundSound to play on success.
surgery_flagsVarious bitflags for requirements of the surgery.

Procs

begin_stepDoes stuff to begin the step, usually just printing messages. Moved germs transfering and bloodying here too
can_operateChecks if this surgery step can be performed with the given parameters.
is_valid_targetChecks if the target is valid.
success_modifierThe chance for success vs failure
tool_potencyReturns how well tool is suited for this step

Var Details

allowed_tools

type path referencing tools that can be used for this step, and how well are they suited for it

can_infect

evil infection stuff that will make everyone hate me

delicate

if this step NEEDS stable optable or can be done on any valid surface with no penalty

failure_sound

Sound to play on failure.

looping

Does this step attempt to repeat itself after every success?

max_duration

duration of the step

min_duration

duration of the step

pain_given

How much pain to deliver to the patient

preop_sound

Sound to play during begin_step(). Can be a sound, and associative list of sound:path, or a flat list of sounds.

strict_access_requirement

Whether or not this surgery will be fuzzy on size requirements.

success_sound

Sound to play on success.

surgery_flags

Various bitflags for requirements of the surgery.

Proc Details

begin_step

Does stuff to begin the step, usually just printing messages. Moved germs transfering and bloodying here too

can_operate

Checks if this surgery step can be performed with the given parameters.

is_valid_target

Checks if the target is valid.

success_modifier

The chance for success vs failure

tool_potency

Returns how well tool is suited for this step