Block two people cuffing to one item (#96050)

## About The Pull Request

Fixes #96042
Fixes #96041

Simply stops two people from cuffing to the same item
We could add support for this behavior later, but we'd need to sort out
how that behavior should work

## Changelog

🆑 Melbert
fix: Blocks two people cuffing to one item
/🆑
This commit is contained in:
MrMelbert
2026-05-12 08:28:36 +02:00
committed by GitHub
parent 22d4bd8832
commit e8d87d2578
3 changed files with 42 additions and 4 deletions
+3
View File
@@ -62,6 +62,9 @@
if(cuffs.handcuffs_clumsiness_check(user))
return
if(SEND_SIGNAL(source, COMSIG_ITEM_PRE_CUFFED_TO_MOB, user, cuffs) & BLOCK_ITEM_CUFF)
return
source.balloon_alert(user, "cuffing item...")
playsound(source, cuffs.cuffsound, 30, TRUE, -2)
if(!do_after(user, cuffs.get_handcuff_time(user), source))