From 65eab735614ae4d47815fd1ae32256162b94da47 Mon Sep 17 00:00:00 2001 From: Jacquerel Date: Sat, 8 Jul 2023 22:28:19 +0100 Subject: [PATCH] Surgical Tables XVIII: The Return: The Saga Continues (final)[1] (#76634) ## About The Pull Request Wow look at this beautiful surgical table, sprited by imaginos ![image](https://github.com/tgstation/tgstation/assets/7483112/a38ebfb5-813f-409b-83ef-9593cbd4de24) Whoa look it even has the right offsets ![image](https://github.com/tgstation/tgstation/assets/7483112/58cebe0f-4d33-41a5-ae60-22a4b11381e4) ## Why It's Good For The Game This sprite was all ready to go but the person who made the PR didn't know how to apply the bed offsets so I have nobly stepped up to the challenge ## Changelog :cl: Imaginos image: A new sprite for oeprating tables /:cl: --- code/game/objects/structures/tables_racks.dm | 2 ++ icons/obj/medical/surgery_table.dmi | Bin 413 -> 427 bytes 2 files changed, 2 insertions(+) diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm index b364c0c2e67b1..666095d8041aa 100644 --- a/code/game/objects/structures/tables_racks.dm +++ b/code/game/objects/structures/tables_racks.dm @@ -751,6 +751,7 @@ return RegisterSignal(potential_patient, COMSIG_LIVING_SET_BODY_POSITION, PROC_REF(recheck_patient)) recheck_patient(potential_patient) // In case the mob is already lying down before they entered. + potential_patient.pixel_y = potential_patient.base_pixel_y /// Unmark the potential patient. /obj/structure/table/optable/proc/unmark_patient(datum/source, mob/living/carbon/potential_patient) @@ -760,6 +761,7 @@ if(potential_patient == patient) recheck_patient(patient) // Can just set patient to null, but doing the recheck lets us find a replacement patient. UnregisterSignal(potential_patient, COMSIG_LIVING_SET_BODY_POSITION) + potential_patient.pixel_y = potential_patient.base_pixel_y + potential_patient.body_position_pixel_y_offset /// Someone on our tile just lied down, got up, moved in, or moved out. /// potential_patient is the mob that had one of those four things change. diff --git a/icons/obj/medical/surgery_table.dmi b/icons/obj/medical/surgery_table.dmi index 02cb21b59c2bc55dbb4b437a15257f65d04059ec..b02801e084474f22ce5bcbe79943848b7d59d6b2 100644 GIT binary patch delta 262 zcmV+h0r~!&1FHj&BqttFOjJd{z`$T;chA$+o}#MZ>hS;n{|*otB_=XLM_9%!Ey0se z7?Dnmf4)gXK~yM_)sQg~f-n$8mqsn!P)M5v4*-Yx=?_| z6Sy<~|K!c?B(nhjQMmrTBBc=ETp^)^kP?{@l_5)DDuIX&B~h|tiBOK9u86h;O9&ri zKOpu&?SUfqKwf#z677L4W=Q-w!dz=OD|I?5RMl`cT3ZYHqpYN#$B1I5J@5wgZAiK#x1gZ_0000