Skip to content

Commit

Permalink
[MODULAR] Removes op table numbing (#771)
Browse files Browse the repository at this point in the history
initial
  • Loading branch information
nikothedude authored and FFMirrorBot committed Feb 5, 2024
1 parent dc85592 commit 7f92ee2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
4 changes: 0 additions & 4 deletions code/game/objects/structures/tables_racks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -802,12 +802,8 @@

if(potential_patient.body_position == LYING_DOWN && potential_patient.loc == loc)
patient = potential_patient
chill_out(patient) // NOVA EDIT - Operation Table Numbing
return

if(!isnull(patient)) // NOVA EDIT - Operation Table Numbing
thaw_them(patient) // NOVA EDIT - Operation Table Numbing

// Find another lying mob as a replacement.
for (var/mob/living/carbon/replacement_patient in loc.contents)
if(replacement_patient.body_position == LYING_DOWN)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,3 @@
/obj/structure/table/reinforced/Initialize()
. = ..()
AddElement(/datum/element/liquids_height, 20)

/// Used to numb a patient and apply stasis to them if enabled.
/obj/structure/table/optable/proc/chill_out(mob/living/target)
playsound(src, 'sound/effects/spray.ogg', 5, TRUE, 2, frequency = rand(24750, 26550))
ADD_TRAIT(target, TRAIT_NUMBED, REF(src))
target.throw_alert("numbed", /atom/movable/screen/alert/numbed)

///Used to remove the effects of stasis and numbing when a patient is unbuckled
/obj/structure/table/optable/proc/thaw_them(mob/living/target)
REMOVE_TRAIT(target, TRAIT_NUMBED, REF(src))
target.clear_alert("numbed", /atom/movable/screen/alert/numbed)

0 comments on commit 7f92ee2

Please sign in to comment.