Re-adds the MOTD and adds mechanical support for ports of call. (#18570)

* Re-adds the message of the day.

* Re-adds the MOTD and adds mechanical support for ports of call.

* sddsds

* Destroy it all!

* incorrect info

* grammar and shit

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2024-03-06 23:06:45 +00:00
committed by GitHub
co-authored by Matt Atlas
parent 4cacb6d066
commit c59b7fa6d4
15 changed files with 120 additions and 72 deletions
+10 -2
View File
@@ -6,8 +6,6 @@
update_Login_details() //handles setting lastKnownIP and computer_id for use by the ban systems as well as checking for multikeying
to_chat(src, "<div class='info'>Game ID: <div class='danger'>[GLOB.round_id]</div></div>")
if(!mind)
mind = new /datum/mind(key)
mind.active = 1
@@ -18,3 +16,13 @@
GLOB.player_list |= src
client.playtitlemusic()
addtimer(CALLBACK(src, PROC_REF(show_lobby_info)), 5 SECONDS)
/mob/abstract/new_player/proc/show_lobby_info()
if(!client)
return
if(GLOB.motd)
to_chat(src, "<div class=\"motd\">[GLOB.motd]</div>")
to_chat(src, "<div class='info'>Game ID: </div><div class='danger'>[GLOB.round_id]</div>")