Merge pull request #326 from IcyV/investigate

Enables the "cult" investigation
This commit is contained in:
ZomgPonies
2014-07-25 16:17:32 -04:00
+8 -1
View File
@@ -26,7 +26,7 @@
F << "<small>[time2text(world.timeofday,"hh:mm")] \ref[src] ([x],[y],[z])</small> || [src] [message]<br>"
//ADMINVERBS
/client/proc/investigate_show( subject in list("hrefs","pda","singulo") )
/client/proc/investigate_show( subject in list("hrefs","pda","singulo","gold core","cult") )
set name = "Investigate"
set category = "Admin"
if(!holder) return
@@ -50,6 +50,13 @@
return
if("pda") //general one-round-only stuff
var/F = investigate_subject2file(subject)
if(!F)
src << "<font color='red'>Error: admin_investigate: [INVESTIGATE_DIR][subject] is an invalid path or cannot be accessed.</font>"
return
src << browse(F,"window=investigate[subject];size=800x300")
if("cult")
var/F = investigate_subject2file(subject)
if(!F)
src << "<font color='red'>Error: admin_investigate: [INVESTIGATE_DIR][subject] is an invalid path or cannot be accessed.</font>"