mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 19:51:59 +00:00
## About The Pull Request Investigate logs contain dates because I didn't notice they didn't have dates. ## Why It's Good For The Game Good for external parsers. Bringing logs closer to a standard (we hope) ## Changelog 🆑 Tattle admin: investigate logs have dates, not just times /🆑 Co-authored-by: tattle <article.disaster@gmail.com>
7 lines
317 B
Plaintext
7 lines
317 B
Plaintext
/// Puts the text into the research html file, not log. See [INVESTIGATE_RESEARCH] for [/atom/proc/investigate_log]
|
|
/proc/log_research(text)
|
|
if(!text)
|
|
return
|
|
var/html_file = file("[GLOB.log_directory]/[INVESTIGATE_RESEARCH].html")
|
|
WRITE_FILE(html_file, "[time_stamp(format = "YYYY-MM-DD hh:mm:ss")] [text]<br>")
|