mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[MIRROR] Adds logging for experisci completion [MDB IGNORE] (#14737)
* Adds logging for experisci completion (#68147) Adds logging for experisci completion * Adds logging for experisci completion Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
This commit is contained in:
co-authored by
vincentiusvin
parent
2b4772a07e
commit
32e95d68ac
@@ -0,0 +1,6 @@
|
||||
/// 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()] [text]<br>")
|
||||
@@ -298,6 +298,7 @@
|
||||
/datum/techweb/proc/complete_experiment(datum/experiment/completed_experiment)
|
||||
available_experiments -= completed_experiment
|
||||
completed_experiments[completed_experiment.type] = completed_experiment
|
||||
log_research("[completed_experiment.name] ([completed_experiment.type]) has been completed on techweb id [id]")
|
||||
|
||||
/datum/techweb/proc/printout_points()
|
||||
return techweb_point_display_generic(research_points)
|
||||
|
||||
@@ -420,6 +420,7 @@
|
||||
#include "code\__HELPERS\logging\mob.dm"
|
||||
#include "code\__HELPERS\logging\paper.dm"
|
||||
#include "code\__HELPERS\logging\pda.dm"
|
||||
#include "code\__HELPERS\logging\research.dm"
|
||||
#include "code\__HELPERS\logging\shuttle.dm"
|
||||
#include "code\__HELPERS\logging\talk.dm"
|
||||
#include "code\__HELPERS\logging\tool.dm"
|
||||
|
||||
Reference in New Issue
Block a user