mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
changes a obscure interaction with cablecuffs and wirecutters (#21885)
* changes a obscure interaction with cablecuffs and wirecutters fun fact: if you click on a cablecuffed man with wirecutters, you delete the cuffs this makes that not the case if your intent is on harm. feedback appreciated 'cause maybe disarm or grab should also have it cut them instead of the cuffs but this feels fine * whoops fix'd
This commit is contained in:
@@ -193,7 +193,7 @@
|
||||
item_state = "cutters_yellow"
|
||||
|
||||
/obj/item/weapon/wirecutters/attack(mob/living/carbon/C as mob, mob/user as mob)
|
||||
if((iscarbon(C)) && (C.handcuffed) && (istype(C.handcuffed, /obj/item/weapon/handcuffs/cable)))
|
||||
if((iscarbon(C)) && (C.handcuffed) && (istype(C.handcuffed, /obj/item/weapon/handcuffs/cable)) && user.a_intent!=I_HURT)
|
||||
usr.visible_message("\The [user] cuts \the [C]'s [C.handcuffed.name] with \the [src]!",\
|
||||
"You cut \the [C]'s [C.handcuffed.name] with \the [src]!",\
|
||||
"You hear cable being cut.")
|
||||
|
||||
Reference in New Issue
Block a user