Legcuff Tweaks (#10769)

This commit is contained in:
Geeves
2020-12-17 18:10:38 +01:00
committed by GitHub
parent 19e428490b
commit 583a0de249
9 changed files with 94 additions and 119 deletions
@@ -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)
+1 -1
View File
@@ -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