mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user