surgery

Vars | |
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 |
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