[MIRROR] Gripper fixes (#12714)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-04-26 21:53:22 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 62d4e50a7f
commit afcea67115
116 changed files with 801 additions and 680 deletions
+9 -7
View File
@@ -4,27 +4,29 @@
icon_state = "blueg_fountain"
var/stun_duration = 10
/obj/item/pen/autostun/attack(mob/living/M as mob, mob/user as mob)
/obj/item/pen/autostun/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
if(!istype(M))
return
return ITEM_INTERACT_FAILURE
M.Stun(stun_duration)
return ITEM_INTERACT_SUCCESS
/obj/item/pen/autostun/paralyse
desc = "A well made and expensive fountain pen. This one has gold accents."
/obj/item/pen/autostun/paralyse/attack(mob/living/M as mob, mob/user as mob)
/obj/item/pen/autostun/paralyse/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
if(!istype(M))
return
return ITEM_INTERACT_FAILURE
M.Paralyse(stun_duration)
return ITEM_INTERACT_SUCCESS
/obj/item/pen/autostun/weaken
desc = "A well made and expensive fountain pen. This one has gold accents."
/obj/item/pen/autostun/weaken/attack(mob/living/M as mob, mob/user as mob)
/obj/item/pen/autostun/weaken/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
if(!istype(M))
return
return ITEM_INTERACT_FAILURE
M.Weaken(stun_duration)
return ITEM_INTERACT_SUCCESS