mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Legcuff Tweaks (#10769)
This commit is contained in:
@@ -124,10 +124,11 @@
|
||||
|
||||
//handcuffed?
|
||||
if(handcuffed)
|
||||
if(istype(handcuffed, /obj/item/handcuffs/cable))
|
||||
msg += "<span class='warning'>[get_pronoun("He")] [get_pronoun("is")] [icon2html(handcuffed, user)] restrained with cable!</span>\n"
|
||||
else
|
||||
msg += "<span class='warning'>[get_pronoun("He")] [get_pronoun("is")] [icon2html(handcuffed, user)] handcuffed!</span>\n"
|
||||
msg += "<span class='warning'>[get_pronoun("He")] [get_pronoun("is")] [icon2html(handcuffed, user)] handcuffed!</span>\n"
|
||||
|
||||
//handcuffed?
|
||||
if(legcuffed)
|
||||
msg += "<span class='warning'>[get_pronoun("He")] [get_pronoun("is")] [icon2html(legcuffed, user)] legcuffed!</span>\n"
|
||||
|
||||
//buckled
|
||||
if(buckled)
|
||||
|
||||
@@ -146,7 +146,7 @@
|
||||
break_legcuffs()
|
||||
return
|
||||
|
||||
var/obj/item/legcuffs/HC = legcuffed
|
||||
var/obj/item/handcuffs/HC = legcuffed
|
||||
|
||||
//A default in case you are somehow legcuffed with something that isn't an obj/item/legcuffs type
|
||||
var/breakouttime = 1200
|
||||
|
||||
Reference in New Issue
Block a user