tgui-next ntos card console (#48938)

About The Pull Request

A PR now several weeks in the making that spiraled ridiculously out of control for something not many even use.
What else is new in NTOS hell?
I spent several days doing nothing but playing escape from tarkov so this took longer than expected I valiantly spent all night and day working on this, and barely finished it before The Deadline
the card ntos program was split into three programs, manifest, job management, and id card modification. It didn't make much sense for them all to be the same program imo, and made the project a bit more managable.

Airlock electronics saw some improvements as well since it uses this new access control section as well.

Yet again some new functionality and improvements to core components. Buttons now have an "altSelected" feature where instead of changing the color it adds a small white marker, among some other things.

There were a couple of small changes in inconsequential ways in other places, and datacore was refactored a tiny bit. Probably some other stuff I don't remember.

I would replace the old card console with a modular computer right now, but I know a few people actually use this program and want a bit of time to iron out bugs and inconsistencies before replacing the main job console with it.
Changelog

🆑
add: tgui-next NTOS card console, job manager, and crew manifest
tweak: airlock electronics interface is a little fancier

/🆑
This commit is contained in:
Rob Bailey
2020-02-01 20:47:36 +13:00
committed by GitHub
parent cf7cb8751e
commit 62d1a3941c
26 changed files with 1064 additions and 633 deletions
@@ -514,7 +514,7 @@
/mob/dead/new_player/proc/ViewManifest()
var/dat = "<html><body>"
dat += "<h4>Crew Manifest</h4>"
dat += GLOB.data_core.get_manifest(OOC = 1)
dat += GLOB.data_core.get_manifest_html()
src << browse(dat, "window=manifest;size=387x420;can_close=1")
+1 -1
View File
@@ -641,7 +641,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
var/dat
dat += "<h4>Crew Manifest</h4>"
dat += GLOB.data_core.get_manifest()
dat += GLOB.data_core.get_manifest_html()
src << browse(dat, "window=manifest;size=387x420;can_close=1")
+1 -1
View File
@@ -331,7 +331,7 @@
/mob/living/silicon/proc/ai_roster()
var/datum/browser/popup = new(src, "airoster", "Crew Manifest", 387, 420)
popup.set_content(GLOB.data_core.get_manifest())
popup.set_content(GLOB.data_core.get_manifest_html())
popup.open()
/mob/living/silicon/proc/set_autosay() //For allowing the AI and borgs to set the radio behavior of auto announcements (state laws, arrivals).