mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Borer Stuff 2: Electric Boogaloo (#11423)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
/datum/progressbar
|
||||
var/goal = 1
|
||||
var/destroy_on_full = FALSE
|
||||
var/last_progress = 0
|
||||
var/image/bar
|
||||
var/shown = 0
|
||||
@@ -46,6 +47,8 @@
|
||||
if (!shown)
|
||||
user.client.images += bar
|
||||
shown = TRUE
|
||||
if(destroy_on_full && progress == goal)
|
||||
QDEL_IN(src, 5)
|
||||
|
||||
/datum/progressbar/proc/shiftDown()
|
||||
--listindex
|
||||
@@ -76,5 +79,8 @@
|
||||
client.images -= bar
|
||||
client = null
|
||||
|
||||
/datum/progressbar/autocomplete
|
||||
destroy_on_full = TRUE
|
||||
|
||||
#undef PROGRESSBAR_ANIMATION_TIME
|
||||
#undef PROGRESSBAR_HEIGHT
|
||||
Reference in New Issue
Block a user