Yogstation 13 - Modules - TypesVar Details

surgery

Vars

can_cancelCan cancel this surgery after step 1 with cautery
ignore_clothesIf this surgery ignores clothes
locationSurgery location
lying_requiredDoes the vicitm needs to be lying down.
operated_bodypartOperable body part
operated_woundThe actual wound datum instance we're targeting
possible_locsMultiple locations
replaced_byType; doesn't show up if this type exists. Set to /datum/surgery if you want to hide a "base" surgery (useful for typing parents IE healing.dm just make sure to null it out again)
requires_bodypartSurgery available only when a bodypart is present, or only when it is missing.
requires_bodypart_typePrevents you from performing an operation on incorrect limbs. FALSE for any limb type
requires_real_bodypartSome surgeries don't work on limbs that don't really exist
requires_techHandles techweb-oriented surgeries, previously restricted to the /advanced subtype (You still need to add designs)
self_operableCan the surgery be performed on yourself.
step_in_progressActively performing a Surgery
stepsSteps in a surgery
success_multiplierStep success propability multiplier
targetOperation target mob
target_mobtypesAcceptable Species
targetable_woundThe wound type this surgery targets
tierDetermines what overlay to apply to the surgery icon

Var Details

can_cancel

Can cancel this surgery after step 1 with cautery

ignore_clothes

If this surgery ignores clothes

location

Surgery location

lying_required

Does the vicitm needs to be lying down.

operated_bodypart

Operable body part

operated_wound

The actual wound datum instance we're targeting

possible_locs

Multiple locations

replaced_by

Type; doesn't show up if this type exists. Set to /datum/surgery if you want to hide a "base" surgery (useful for typing parents IE healing.dm just make sure to null it out again)

requires_bodypart

Surgery available only when a bodypart is present, or only when it is missing.

requires_bodypart_type

Prevents you from performing an operation on incorrect limbs. FALSE for any limb type

requires_real_bodypart

Some surgeries don't work on limbs that don't really exist

requires_tech

Handles techweb-oriented surgeries, previously restricted to the /advanced subtype (You still need to add designs)

self_operable

Can the surgery be performed on yourself.

step_in_progress

Actively performing a Surgery

steps

Steps in a surgery

success_multiplier

Step success propability multiplier

target

Operation target mob

target_mobtypes

Acceptable Species

targetable_wound

The wound type this surgery targets

tier

Determines what overlay to apply to the surgery icon