mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Machines Buckle Checks and IV Interactions Fixes (#13661)
This commit is contained in:
@@ -337,18 +337,13 @@
|
||||
to_chat(user, "<span class='warning'>The pod is locked.</span>")
|
||||
return
|
||||
|
||||
|
||||
var/mob/living/L = G.affecting
|
||||
var/bucklestatus = L.bucklecheck(user)
|
||||
if (!bucklestatus)
|
||||
return
|
||||
|
||||
user.visible_message("<span class='notice'>[user] starts putting [L] into [src].</span>", "<span class='notice'>You start putting [L] into [src].</span>", range = 3)
|
||||
|
||||
if (do_mob(user, L, 30, needhand = 0))
|
||||
var/bucklestatus = L.bucklecheck(user)
|
||||
if (!bucklestatus)//incase the patient got buckled_to during the delay
|
||||
return
|
||||
if (bucklestatus == 2)
|
||||
var/obj/structure/LB = L.buckled_to
|
||||
LB.user_unbuckle(user)
|
||||
|
||||
if (L.client)
|
||||
L.client.perspective = EYE_PERSPECTIVE
|
||||
L.client.eye = src
|
||||
@@ -377,8 +372,7 @@
|
||||
return
|
||||
|
||||
var/bucklestatus = H.bucklecheck(user)
|
||||
|
||||
if (!bucklestatus)//We must make sure the person is unbuckled before they go in
|
||||
if (!bucklestatus)
|
||||
return
|
||||
|
||||
if(H == user)
|
||||
|
||||
Reference in New Issue
Block a user