Fixed the message server PDA messages logging (#19668)

Fixed the message server PDA messages logging.
Fixed the message monitoring console for the aforementioned use.
Fixed a runtime for AI distance check on trying to read papers.
Created a preset for the message server so it's autolinked on the
horizon.

Fixes #11701 (For the Message Logs part)
This commit is contained in:
Fluffy
2024-07-24 19:42:20 +00:00
committed by GitHub
parent 60c5a2abe5
commit cf8866e480
7 changed files with 106 additions and 4 deletions
+1 -1
View File
@@ -122,7 +122,7 @@
/obj/item/paper/proc/can_read(var/mob/user, var/forceshow = FALSE)
var/can_read = (istype(user, /mob/living/carbon/human) || isobserver(user) || istype(user, /mob/living/silicon)) || forceshow
if(!forceshow && istype(user,/mob/living/silicon/ai))
var/mob/living/silicon/ai/AI
var/mob/living/silicon/ai/AI = user
can_read = get_dist(src, AI.camera) < 2
return can_read