Skip to content

Commit

Permalink
Logging Improvements (#3652)
Browse files Browse the repository at this point in the history
# About the pull request
Makes admin deadchat logs clearer
<!-- Remove this text and explain what the purpose of your PR is.

Mention if you have tested your changes. If you changed a map, make sure
you used the mapmerge tool.
If this is an Issue Correction, you can type "Fixes Issue #169420" to
link the PR to the corresponding Issue number #169420.

Remember: something that is self-evident to you might not be to others.
Explain your rationale fully, even if you feel it goes without saying.
-->

# Explain why it's good for the game
Logs being confusing isn't good
# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
admin: Improves logging for admin deadchat.
admin: Adds logging for xeno evolution.
/:cl:
  • Loading branch information
realforest2001 committed Jun 23, 2023
1 parent 8425278 commit 4dff5a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/deadsay.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
stafftype = "[admin_holder.rank]"

msg = strip_html(msg)
log_admin("[key_name(src)] : [msg]")
log_admin("DEAD: [key_name(src)] : [msg]")

if (!msg)
return
Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/Evolution.dm
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
if(3)
hive.tier_3_xenos |= new_xeno

log_game("EVOLVE: [key_name(src)] evolved into [new_xeno].")
if(mind)
mind.transfer_to(new_xeno)
else
Expand Down Expand Up @@ -327,6 +328,7 @@
qdel(new_xeno)
return

log_game("EVOLVE: [key_name(src)] de-evolved into [new_xeno].")
if(mind)
mind.transfer_to(new_xeno)
else
Expand Down

0 comments on commit 4dff5a9

Please sign in to comment.