Files
2026-04-26 21:53:22 -04:00

33 lines
1.0 KiB
Plaintext

//Adminspawn item for hunters who're doing kidnaps during events
/obj/item/pen/autostun
desc = "A well made and expensive fountain pen. This one has gold accents."
icon_state = "blueg_fountain"
var/stun_duration = 10
/obj/item/pen/autostun/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
if(!istype(M))
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, mob/living/user, target_zone, attack_modifier)
if(!istype(M))
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, mob/living/user, target_zone, attack_modifier)
if(!istype(M))
return ITEM_INTERACT_FAILURE
M.Weaken(stun_duration)
return ITEM_INTERACT_SUCCESS