mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-04 14:33:30 +00:00
Updoot in line with Ater-review.
This commit is contained in:
@@ -37,25 +37,23 @@
|
||||
C.update_inv_handcuffed()
|
||||
if (C.client)
|
||||
C.client.screen -= W
|
||||
W.forceMove(C.loc)
|
||||
W.dropped(C)
|
||||
if(W)
|
||||
W.loc = C.loc
|
||||
W.dropped(C)
|
||||
if(W)
|
||||
W.layer = initial(W.layer)
|
||||
W.layer = initial(W.layer)
|
||||
if(C.legcuffed)
|
||||
var/obj/item/weapon/W = C.legcuffed
|
||||
C.legcuffed = null
|
||||
C.update_inv_legcuffed()
|
||||
if(C.client)
|
||||
C.client.screen -= W
|
||||
W.forceMove(C.loc)
|
||||
W.dropped(C)
|
||||
if(W)
|
||||
W.loc = C.loc
|
||||
W.dropped(C)
|
||||
if(W)
|
||||
W.layer = initial(W.layer)
|
||||
if(C.wear_suit && istype(C.wear_suit, /obj/item/clothing/suit/straight_jacket))
|
||||
W.layer = initial(W.layer)
|
||||
if(istype(C.wear_suit, /obj/item/clothing/suit/straight_jacket))
|
||||
var/obj/item/clothing/suit/straight_jacket/SJ = C.wear_suit
|
||||
SJ.loc = C.loc
|
||||
SJ.forceMove(C.loc)
|
||||
SJ.dropped(C)
|
||||
C.wear_suit = null
|
||||
escape_cooldown *= 1.5 // Straight jackets are tedious compared to cuffs.
|
||||
|
||||
@@ -53,25 +53,23 @@
|
||||
H.update_inv_handcuffed()
|
||||
if (H.client)
|
||||
H.client.screen -= W
|
||||
W.forceMove(H.loc)
|
||||
W.dropped(H)
|
||||
if(W)
|
||||
W.loc = H.loc
|
||||
W.dropped(H)
|
||||
if(W)
|
||||
W.layer = initial(W.layer)
|
||||
W.layer = initial(W.layer)
|
||||
if(H.legcuffed)
|
||||
var/obj/item/weapon/W = H.legcuffed
|
||||
H.legcuffed = null
|
||||
H.update_inv_legcuffed()
|
||||
if(H.client)
|
||||
H.client.screen -= W
|
||||
W.forceMove(H.loc)
|
||||
W.dropped(H)
|
||||
if(W)
|
||||
W.loc = H.loc
|
||||
W.dropped(H)
|
||||
if(W)
|
||||
W.layer = initial(W.layer)
|
||||
if(H.wear_suit && istype(H.wear_suit, /obj/item/clothing/suit/straight_jacket))
|
||||
W.layer = initial(W.layer)
|
||||
if(istype(H.wear_suit, /obj/item/clothing/suit/straight_jacket))
|
||||
var/obj/item/clothing/suit/straight_jacket/SJ = H.wear_suit
|
||||
SJ.loc = H.loc
|
||||
SJ.forceMove(H.loc)
|
||||
SJ.dropped(H)
|
||||
H.wear_suit = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user