mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Ports Vox Plushie from Paradise
Why not?
This commit is contained in:
@@ -68,3 +68,22 @@
|
||||
desc = "A perfectly sized snuggable river weasel! Keep away from Clams."
|
||||
icon = 'icons/obj/toy_vr.dmi'
|
||||
icon_state = "plushie_otter"
|
||||
|
||||
/obj/item/toy/plushie/vox
|
||||
name = "vox plushie"
|
||||
desc = "A stitched-together vox, fresh from the skipjack. Press its belly to hear it skree!"
|
||||
icon = 'icons/obj/toy_vr.dmi'
|
||||
icon_state = "plushie_vox"
|
||||
var/cooldown = 0
|
||||
|
||||
/obj/item/toy/plushie/vox/attack_self(mob/user as mob)
|
||||
if(!cooldown)
|
||||
playsound(user, 'sound/voice/shriek1.ogg', 10, 0)
|
||||
visible_message("<span class='danger'>Skreee!</span>")
|
||||
cooldown = 1
|
||||
addtimer(CALLBACK(src, .proc/cooldownreset), 50)
|
||||
return ..()
|
||||
|
||||
/obj/item/toy/plushie/vox/proc/cooldownreset()
|
||||
cooldown = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user