Merge pull request #5701 from lbnesquik/Kates-Ai-Manifest-Fix

Update silicon manifest to discord dark theme.
This commit is contained in:
Neerti
2018-10-30 18:41:47 -04:00
committed by VirgoBot
parent 1ce67ab74d
commit bcf58840d0
2 changed files with 10 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ sudo: false
env:
global:
- BYOND_MAJOR="512"
- BYOND_MINOR="1453"
- BYOND_MINOR="1414"
- MACRO_COUNT=4
matrix:
- TEST_DEFINE="MAP_TEST" TEST_FILE="code/_map_tests.dm" RUN="0"

View File

@@ -173,13 +173,15 @@
// this function displays the stations manifest in a separate window
/mob/living/silicon/proc/show_station_manifest()
var/dat
dat += "<h4>Crew Manifest</h4>"
if(data_core)
dat += data_core.get_manifest(1) // make it monochrome
dat += "<br>"
src << browse(dat, "window=airoster")
onclose(src, "airoster")
var/dat = "<div align='center'>"
if(!data_core)
to_chat(src,"<span class='notice'>There is no data to form a manifest with. Contact your Nanotrasen administrator.</span>")
return
dat += data_core.get_manifest(1) //The 1 makes it monochrome.
var/datum/browser/popup = new(src, "Crew Manifest", "Crew Manifest", 370, 420, src)
popup.set_content(dat)
popup.open()
//can't inject synths
/mob/living/silicon/can_inject(var/mob/user, var/error_msg)