From d2da9e571e878c0ed57a076016ca9fab4a1ded4e Mon Sep 17 00:00:00 2001 From: shellspeed1 <46614774+shellspeed1@users.noreply.github.com> Date: Sat, 26 Oct 2019 12:44:54 -0700 Subject: [PATCH 1/2] borgs should be able to unbuckle people now. --- code/game/machinery/stasis.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/machinery/stasis.dm b/code/game/machinery/stasis.dm index f24b2f4f..720e3e61 100644 --- a/code/game/machinery/stasis.dm +++ b/code/game/machinery/stasis.dm @@ -134,4 +134,9 @@ /obj/machinery/stasis/crowbar_act(mob/living/user, obj/item/I) return default_deconstruction_crowbar(I) +/obj/machinery/stasis/attack_robot(mob/user) + if(Adjacent(user) && occupant) + unbuckle_mob(occupant) + else + ..() #undef STASIS_TOGGLE_COOLDOWN \ No newline at end of file From e7522ce64c25819a49a9cd683bde91c849b25e2a Mon Sep 17 00:00:00 2001 From: shellspeed1 <46614774+shellspeed1@users.noreply.github.com> Date: Sat, 26 Oct 2019 12:46:46 -0700 Subject: [PATCH 2/2] can now operate on stasis beds --- code/modules/surgery/surgery.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/surgery/surgery.dm b/code/modules/surgery/surgery.dm index c5845f82..e8f423aa 100644 --- a/code/modules/surgery/surgery.dm +++ b/code/modules/surgery/surgery.dm @@ -81,6 +81,8 @@ propability = 1 else if(locate(/obj/structure/table, T)) propability = 0.8 + else if(locate(/obj/machinery/stasis, T)) + propability = 0.9 else if(locate(/obj/structure/bed, T)) propability = 0.7 @@ -98,7 +100,7 @@ var/datum/species/abductor/S = H.dna.species if(S.scientist) return TRUE - + if(iscyborg(user)) var/mob/living/silicon/robot/R = user var/obj/item/surgical_processor/SP = locate() in R.module.modules @@ -106,7 +108,7 @@ return FALSE if(type in SP.advanced_surgeries) return TRUE - + var/turf/T = get_turf(target) var/obj/structure/table/optable/table = locate(/obj/structure/table/optable, T) if(!table || !table.computer)