[MIRROR] Steampunk Watches! (#5293)
* Steampunk Watches! (#35187) * Adds steampunk watches * Adds steampunk watches to arcade machines * The steampunk watch can now play a noise! * Steampunk Watches!
This commit is contained in:
committed by
Poojawa
parent
0f39cda70d
commit
b16d2148e4
@@ -20,6 +20,7 @@
|
||||
* Toy xeno
|
||||
* Kitty toys!
|
||||
* Snowballs
|
||||
* Clockwork Watches
|
||||
*/
|
||||
|
||||
|
||||
@@ -1049,6 +1050,31 @@
|
||||
if(user.dropItemToGround(src))
|
||||
throw_at(target, throw_range, throw_speed)
|
||||
|
||||
/*
|
||||
* Clockwork Watch
|
||||
*/
|
||||
|
||||
/obj/item/toy/clockwork_watch
|
||||
name = "steampunk watch"
|
||||
desc = "A stylish steampunk watch made out of thousands of tiny cogwheels."
|
||||
icon = 'icons/obj/clockwork_objects.dmi'
|
||||
icon_state = "dread_ipad"
|
||||
slot_flags = SLOT_BELT
|
||||
w_class = WEIGHT_CLASS_SMALL
|
||||
var/cooldown = 0
|
||||
|
||||
/obj/item/toy/clockwork_watch/attack_self(mob/user)
|
||||
if (cooldown < world.time)
|
||||
cooldown = world.time + 1800 //3 minutes
|
||||
user.visible_message("<span class='warning'>[user] rotates a cogwheel on [src].</span>", "<span class='notice'>You rotate a cogwheel on [src], it plays a loud noise!</span>", "<span class='italics'>You hear cogwheels turning.</span>")
|
||||
playsound(src, 'sound/magic/clockwork/ark_activation.ogg', 50, 0)
|
||||
else
|
||||
to_chat(user, "<span class='alert'>The cogwheels are already turning!</span>")
|
||||
|
||||
/obj/item/toy/clockwork_watch/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='info'>Station Time: [worldtime2text()]")
|
||||
|
||||
/*
|
||||
* Xenomorph action figure
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user