From 6b06ca3ef5104d1c145488bcfa13295b9e304d36 Mon Sep 17 00:00:00 2001 From: S34N <12197162+S34NW@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:21:32 +0100 Subject: [PATCH] Ports HTML manifest to TGUI (#16210) * Ghost manifest is tgui now * moved to tgui modules * Delete crew_manifest.dm * global * ghost -> nologo * sorry mr. tgui, i forgot about you again * Jade review + more trimming * lobby and silicons get some love * bye bye, all traces of old manifest. * renamed --- code/datums/datacore.dm | 123 ------------------ code/modules/mob/dead/observer/observer.dm | 7 +- code/modules/mob/living/silicon/silicon.dm | 9 +- code/modules/mob/new_player/new_player.dm | 6 +- .../tgui/modules/generic_crew_manifest.dm | 17 +++ paradise.dme | 1 + tgui/packages/tgui/index.js | 1 + .../tgui/interfaces/GenericCrewManifest.js | 15 +++ tgui/packages/tgui/public/tgui.bundle.css | 2 +- tgui/packages/tgui/public/tgui.bundle.js | 6 +- tgui/packages/tgui/styles/themes/nologo.scss | 5 + 11 files changed, 46 insertions(+), 146 deletions(-) create mode 100644 code/modules/tgui/modules/generic_crew_manifest.dm create mode 100644 tgui/packages/tgui/interfaces/GenericCrewManifest.js create mode 100644 tgui/packages/tgui/styles/themes/nologo.scss diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index b258a18b94c..38b1dd5954d 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -5,129 +5,6 @@ //This list tracks characters spawned in the world and cannot be modified in-game. Currently referenced by respawn_character(). var/list/locked = list() -/datum/datacore/proc/get_manifest(monochrome, OOC) - var/list/heads = new() - var/list/sec = new() - var/list/eng = new() - var/list/med = new() - var/list/sci = new() - var/list/ser = new() - var/list/sup = new() - var/list/bot = new() - var/list/misc = new() - var/list/isactive = new() - var/dat = {" -
-| Name | Rank | Activity |
|---|---|---|
| Heads | ||
| [name] | [heads[name]] | [isactive[name]] |
| Security | ||
| [name] | [sec[name]] | [isactive[name]] |
| Engineering | ||
| [name] | [eng[name]] | [isactive[name]] |
| Medical | ||
| [name] | [med[name]] | [isactive[name]] |
| Science | ||
| [name] | [sci[name]] | [isactive[name]] |
| Service | ||
| [name] | [ser[name]] | [isactive[name]] |
| Supply | ||
| [name] | [sup[name]] | [isactive[name]] |
| Silicon | ||
| [name] | [bot[name]] | [isactive[name]] |
| Miscellaneous | ||
| [name] | [misc[name]] | [isactive[name]] |