mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] Gripper fixes (#12714)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
62d4e50a7f
commit
afcea67115
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user