Better Supermatter Monitor (#15364)

* Better Supermatter Monitor

* even better

* tweak

* Update tgui.bundle.js

* Update tgui.bundle.js
This commit is contained in:
Fox McCloud
2021-01-28 18:45:11 +00:00
committed by GitHub
parent cf94ee8d34
commit 1fc2fcf3a7
5 changed files with 170 additions and 143 deletions
@@ -81,6 +81,10 @@
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | FREEZE_PROOF
var/base_icon_state = "darkmatter"
///The id of our supermatter
var/supermatter_id = 1
///The amount of supermatters that have been created this round
var/static/global_supermatter_id = 1
///Tracks the bolt color we are using
var/zap_icon = DEFAULT_ZAP_ICON_STATE
///The portion of the gasmix we're on that we should remove
@@ -179,6 +183,7 @@
/obj/machinery/power/supermatter_crystal/Initialize(mapload)
. = ..()
supermatter_id = global_supermatter_id++
SSair.atmos_machinery += src
countdown = new(src)
countdown.start()