mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-25 00:13:04 +00:00
additional tweaks to r-ust
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
name = "Core Primary Monitor"
|
||||
icon_state = "power"
|
||||
var/obj/machinery/rust/core/core_generator = null
|
||||
var/updating = 1
|
||||
|
||||
New()
|
||||
..()
|
||||
@@ -24,16 +25,22 @@
|
||||
Topic(href, href_list)
|
||||
..()
|
||||
if( href_list["shutdown"] )
|
||||
updating = 0
|
||||
core_generator.Topic(href, href_list)
|
||||
updateDialog()
|
||||
updating = 1
|
||||
return
|
||||
if( href_list["startup"] )
|
||||
updating = 0
|
||||
core_generator.Topic(href, href_list)
|
||||
updateDialog()
|
||||
updating = 1
|
||||
return
|
||||
if( href_list["modify_field_strength"] )
|
||||
updating = 0
|
||||
core_generator.Topic(href, href_list)
|
||||
updateDialog()
|
||||
updating = 1
|
||||
return
|
||||
if( href_list["close"] )
|
||||
usr << browse(null, "window=core_monitor")
|
||||
@@ -42,7 +49,8 @@
|
||||
|
||||
process()
|
||||
..()
|
||||
src.updateDialog()
|
||||
if(updating)
|
||||
src.updateDialog()
|
||||
|
||||
proc
|
||||
interact(mob/user)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/obj/machinery/computer/rust/gyrotron_controller
|
||||
name = "Gyrotron Remote Controller"
|
||||
icon_state = "power"
|
||||
var/updating = 1
|
||||
|
||||
New()
|
||||
..()
|
||||
@@ -33,7 +34,8 @@
|
||||
|
||||
process()
|
||||
..()
|
||||
src.updateDialog()
|
||||
if(updating)
|
||||
src.updateDialog()
|
||||
|
||||
proc
|
||||
interact(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user