mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
Migrates restraints to the New Attack Chain (#31310)
* e * Update legcuffs.dm * Update umbrae_powers.dm * Update code/game/objects/items/weapons/legcuffs.dm Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -88,14 +88,16 @@
|
||||
to_chat(user, SPAN_USERDANGER("The snare sends a psychic backlash!"))
|
||||
C.EyeBlind(20 SECONDS)
|
||||
|
||||
/obj/item/restraints/legcuffs/beartrap/shadow_snare/attackby__legacy__attackchain(obj/item/I, mob/user)
|
||||
var/obj/item/flash/flash = I
|
||||
/obj/item/restraints/legcuffs/beartrap/shadow_snare/item_interaction(mob/living/user, obj/item/used, list/modifiers)
|
||||
var/obj/item/flash/flash = used
|
||||
if(!istype(flash) || !flash.try_use_flash(user))
|
||||
return ..()
|
||||
user.visible_message(SPAN_DANGER("[user] points [I] at [src]!"),
|
||||
SPAN_DANGER("You point [I] at [src]!"))
|
||||
|
||||
user.visible_message(SPAN_DANGER("[user] points [used] at [src]!"),
|
||||
SPAN_DANGER("You point [used] at [src]!"))
|
||||
visible_message(SPAN_NOTICE("[src] withers away."))
|
||||
qdel(src)
|
||||
return ITEM_INTERACT_COMPLETE
|
||||
|
||||
/obj/item/restraints/legcuffs/beartrap/shadow_snare/process()
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
Reference in New Issue
Block a user