mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 15:08:34 +01:00
Unify TGUI crew manifest across lobby and ghosts, make it a true table (#16436)
This commit is contained in:
@@ -703,11 +703,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
set name = "Show Crew Manifest"
|
||||
set category = "Ghost"
|
||||
|
||||
var/dat
|
||||
dat += "<h4>Crew Manifest</h4>"
|
||||
dat += data_core.get_manifest()
|
||||
|
||||
src << browse(dat, "window=manifest;size=370x420;can_close=1")
|
||||
var/datum/tgui_module/crew_manifest/self_deleting/S = new(src)
|
||||
S.tgui_interact(src)
|
||||
|
||||
//This is called when a ghost is drag clicked to something.
|
||||
/mob/observer/dead/MouseDrop(atom/over)
|
||||
|
||||
@@ -658,13 +658,8 @@
|
||||
return new_character
|
||||
|
||||
/mob/new_player/proc/ViewManifest()
|
||||
var/dat = "<div align='center'>"
|
||||
dat += data_core.get_manifest(OOC = 1)
|
||||
|
||||
//src << browse(dat, "window=manifest;size=370x420;can_close=1")
|
||||
var/datum/browser/popup = new(src, "Crew Manifest", "Crew Manifest", 370, 420, src)
|
||||
popup.set_content(dat)
|
||||
popup.open()
|
||||
var/datum/tgui_module/crew_manifest/self_deleting/S = new(src)
|
||||
S.tgui_interact(src)
|
||||
|
||||
/mob/new_player/Move()
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user