You can skip applying drapes to a mob bucked to operating tables or stasis beds (#94680)

## About The Pull Request

Applies `/datum/component/free_operation` when buckling mobs to stasis
beds or surgical tables

## Why It's Good For The Game

The only reason we still have drapes is because otherwise, trying to
help intent click on a mob with a saw will result in attempting surgery
instead of attacking them

In other words drapes serve as an explicit "I WANT TO PERFORM SURGERY"
check

However we can get that explicitness from other things, such as buckling
someone to the designated surgery places

This ultimately leaves drapes as **entirely optional** in a surgical
setting (...Maybe it can provide a speed bonus for being sanitary or
something?)

## Changelog

🆑 Melbert
add: You can skip the "apply drapes" step of surgery if the patient is
buckled to an operating table or stasis bed!
/🆑
This commit is contained in:
MrMelbert
2026-01-03 14:12:25 +00:00
committed by GitHub
parent b67526a90a
commit c6326e20f8
3 changed files with 6 additions and 1 deletions
@@ -1033,10 +1033,12 @@
///Align the mob with the table when buckled.
/obj/structure/table/optable/post_buckle_mob(mob/living/buckled)
buckled.add_offsets(type, z_add = 6)
buckled.AddComponentFrom(type, /datum/component/free_operation)
///Disalign the mob with the table when unbuckled.
/obj/structure/table/optable/post_unbuckle_mob(mob/living/buckled)
buckled.remove_offsets(type)
buckled.RemoveComponentSource(type, /datum/component/free_operation)
/// Any mob that enters our tile will be marked as a potential patient. They will be turned into a patient if they lie down.
/obj/structure/table/optable/proc/mark_patient(datum/source, mob/living/potential_patient)