Update NanoUI

* Update NanoUI to the latest version, ported from Baystation12
* Update the Air Alarm UI
* Make changes to subsystems and some machines to make the new NanoUI
work
This commit is contained in:
Bjorn Neergaard
2015-11-26 07:11:27 -05:00
parent e68a5b773a
commit 4e5edf396a
79 changed files with 5570 additions and 2783 deletions
@@ -42,7 +42,7 @@
T.contents += contents
if(beaker)
beaker.loc = get_step(loc, SOUTH) //Beaker is carefully ejected from the wreckage of the cryotube
beaker.loc = get_step(loc, SOUTH) //Beaker is carefully fed from the wreckage of the cryotube
beaker = null
return ..()
/obj/machinery/atmospherics/components/unary/cryo_cell/process_atmos()
@@ -203,22 +203,18 @@
if(!state_open)
on = 1
if(href_list["open"])
open_machine()
if(href_list["close"])
if(close_machine() == usr)
var/datum/nanoui/ui = SSnano.get_open_ui(usr, src, "main")
ui.close()
on = 1
if(href_list["switchOff"])
on = 0
if(href_list["ejectOccupant"])
open_machine()
if(href_list["ejectBeaker"])
if(beaker)
var/obj/item/weapon/reagent_containers/glass/B = beaker
B.loc = get_step(loc, SOUTH)
beaker = null
update_icon()
add_fingerprint(usr)
return 1 // update UIs attached to this object