Handcuffs ![code/game/objects/items/handcuffs.dm 32](git.png)
Stuff that makes humans unable to use hands
Clicking people with those will cause an attempt at handcuffing them to occur
Vars | |
cuffsound | Sound that plays when starting to put handcuffs on someone |
---|---|
cuffsuccesssound | Sound that plays when restrain is successful |
handcuff_time | How long it takes to handcuff someone |
handcuff_time_mod | Multiplier for handcuff time |
restraint_strength | How strong the cuffs are. Weak cuffs can be broken with wirecutters or boxcutters. |
trashtype | If set, handcuffs will be destroyed on application and leave behind whatever this is set to. |
Procs | |
apply_cuffs | When called, this instantly puts handcuffs on someone (if actually possible) |
attempt_to_cuff | Handles all of the checks and application in a typical situation where someone attacks a carbon victim with the handcuff item. |
Var Details
cuffsound ![code/game/objects/items/handcuffs.dm 60](git.png)
Sound that plays when starting to put handcuffs on someone
cuffsuccesssound ![code/game/objects/items/handcuffs.dm 62](git.png)
Sound that plays when restrain is successful
handcuff_time ![code/game/objects/items/handcuffs.dm 56](git.png)
How long it takes to handcuff someone
handcuff_time_mod ![code/game/objects/items/handcuffs.dm 58](git.png)
Multiplier for handcuff time
restraint_strength ![code/game/objects/items/handcuffs.dm 66](git.png)
How strong the cuffs are. Weak cuffs can be broken with wirecutters or boxcutters.
trashtype ![code/game/objects/items/handcuffs.dm 64](git.png)
If set, handcuffs will be destroyed on application and leave behind whatever this is set to.
Proc Details
apply_cuffs
When called, this instantly puts handcuffs on someone (if actually possible)
Arguments:
- mob/living/carbon/target - Who is being handcuffed
- mob/user - Who or what is doing the handcuffing
- dispense - True if the cuffing should create a new item instead of using putting src on the mob, false otherwise. False by default.
attempt_to_cuff
Handles all of the checks and application in a typical situation where someone attacks a carbon victim with the handcuff item.