mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 13:47:33 +01:00
33 lines
1.0 KiB
Plaintext
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
|