additional tweaks to r-ust

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-07-28 17:19:17 +10:00
parent c9b4fdbaef
commit 1d002bb361
3 changed files with 3423 additions and 3387 deletions

View File

@@ -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)

View File

@@ -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)