mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user