changes the code to be not as snowflake

This commit is contained in:
Mithrandalf
2018-12-29 21:07:21 +00:00
parent 5dae4072ab
commit 58033afc8a
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1659,4 +1659,4 @@ obj/item/toy/cards/deck/syndicate/black
desc = "Toy handcuffs. Plastic and extremely cheaply made."
throwforce = 0
breakouttime = 0
ignoreclumsy == true
ignoresClumsy = TRUE
+2 -1
View File
@@ -15,6 +15,7 @@
breakouttime = 600 //Deciseconds = 60s = 1 minutes
var/cuffsound = 'sound/weapons/handcuffs.ogg'
var/trashtype = null //For disposable cuffs
var/ignoresClumsy = FALSE
/obj/item/restraints/handcuffs/attack(mob/living/carbon/C, mob/user)
if(!user.IsAdvancedToolUser())
@@ -23,7 +24,7 @@
if(!istype(C))
return
if((CLUMSY in user.mutations) && prob(50) && !istype(src, /obj/item/restraints/handcuffs/toy))
if((CLUMSY in user.mutations) && prob(50) && (ignoresClumsy == FALSE))
to_chat(user, "<span class='warning'>Uh... how do those things work?!</span>")
apply_cuffs(user,user)