mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 06:32:56 +00:00
* Adds a new front end for viewing logs | fixes the manifest log message too * Update code/modules/admin/admin_verbs.dm --------- Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
9 lines
487 B
Plaintext
9 lines
487 B
Plaintext
/// Logging for player manifest (ckey, name, job, special role, roundstart/latejoin)
|
|
/proc/log_manifest(ckey, datum/mind/mind, mob/body, latejoin = FALSE)
|
|
var/message = {"([body.real_name])\[[ckey]\] added to manifest
|
|
as a(n) [latejoin ? "LATEJOIN " : ""][mind.assigned_role.title][mind.special_role ? mind.special_role : ""]
|
|
with a location of [loc_name(body.loc)]"}
|
|
logger.Log(LOG_CATEGORY_MANIFEST, message, list(
|
|
"mind" = mind, "body" = body, "latejoin" = latejoin
|
|
))
|