mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Adds hourglass (#44384)
* Adds hourglass * Proper icon and animation. * Makes throwing not break animate. * Adds hourglass to library game vendor.
This commit is contained in:
@@ -63,6 +63,12 @@
|
||||
/obj/effect/countdown/ex_act(severity, target) //immune to explosions
|
||||
return
|
||||
|
||||
/obj/effect/countdown/singularity_pull()
|
||||
return
|
||||
|
||||
/obj/effect/countdown/singularity_act()
|
||||
return
|
||||
|
||||
/obj/effect/countdown/syndicatebomb
|
||||
name = "syndicate bomb countdown"
|
||||
|
||||
@@ -154,8 +160,14 @@
|
||||
var/time_left = max(0, (A.death_time - world.time) / 10)
|
||||
return round(time_left)
|
||||
|
||||
/obj/effect/countdown/singularity_pull()
|
||||
return
|
||||
/obj/effect/countdown/hourglass
|
||||
name = "hourglass countdown"
|
||||
|
||||
/obj/effect/countdown/hourglass/get_value()
|
||||
var/obj/item/hourglass/H = attached_to
|
||||
if(!istype(H))
|
||||
return
|
||||
else
|
||||
var/time_left = max(0, (H.finish_time - world.time) / 10)
|
||||
return round(time_left)
|
||||
|
||||
/obj/effect/countdown/singularity_act()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user