mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-07 23:28:10 +00:00
refactor: Merge job introduction message into one to_chat (#22219)
This commit is contained in:
@@ -422,32 +422,34 @@ SUBSYSTEM_DEF(jobs)
|
||||
|
||||
CreateMoneyAccount(H, rank, job)
|
||||
|
||||
to_chat(H, "<center><br><br><span class='green'>----------------</span>")
|
||||
to_chat(H, "<center><b>Your role on the station is: [alt_title ? alt_title : rank].<br></b></center>")
|
||||
to_chat(H, "<center><b>You answer directly to [job.supervisors]. Special circumstances may change this.</b></center>")
|
||||
to_chat(H, "<center><b>For more information on how the station works, see <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure\">Standard Operating Procedure (SOP)</a>.</b></center>")
|
||||
var/list/L = list("<br><br><center><span class='green'>----------------</span>")
|
||||
L.Add("<b>Your role on the station is: [alt_title ? alt_title : rank].")
|
||||
L.Add("You answer directly to [job.supervisors]. Special circumstances may change this.")
|
||||
L.Add("For more information on how the station works, see <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure\">Standard Operating Procedure (SOP)</a>.")
|
||||
if(job.is_service)
|
||||
to_chat(H, "<center><b>As a member of Service, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Service)\">Department SOP</a></b>.</center>")
|
||||
L.Add("As a member of Service, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Service)\">Department SOP</a>.")
|
||||
if(job.is_supply)
|
||||
to_chat(H, "<center><b>As a member of Supply, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Supply)\">Department SOP</a></b>.</center>")
|
||||
L.Add("As a member of Supply, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Supply)\">Department SOP</a>.")
|
||||
if(job.is_command)
|
||||
to_chat(H, "<center><b>As an important member of Command, read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Command)\">Department SOP</a></b>.</center>")
|
||||
L.Add("As an important member of Command, read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Command)\">Department SOP</a>.")
|
||||
if(job.is_legal)
|
||||
to_chat(H, "<center><b>Your job requires complete knowledge of <a href=\"https://www.paradisestation.org/wiki/index.php/Space_law\">Space Law</a> and <a href=\"https://www.paradisestation.org/wiki/index.php/Legal_Standard_Operating_Procedure\">Legal Standard Operating Procedure</a></b>.</center>")
|
||||
L.Add("Your job requires complete knowledge of <a href=\"https://www.paradisestation.org/wiki/index.php/Space_law\">Space Law</a> and <a href=\"https://www.paradisestation.org/wiki/index.php/Legal_Standard_Operating_Procedure\">Legal Standard Operating Procedure</a>.")
|
||||
if(job.is_engineering)
|
||||
to_chat(H, "<center><b>As a member of Engineering, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Engineering)\">Department SOP</a></b>.</center>")
|
||||
L.Add("As a member of Engineering, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Engineering)\">Department SOP</a>.")
|
||||
if(job.is_medical)
|
||||
to_chat(H, "<center><b>As a member of Medbay, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Medical)\">Department SOP</a></b>.</center>")
|
||||
L.Add("As a member of Medbay, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Medical)\">Department SOP</a>.")
|
||||
if(job.is_science)
|
||||
to_chat(H, "<center><b>As a member of Science, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Science)\">Department SOP</a></b>.</center>")
|
||||
L.Add("As a member of Science, make sure to read up on your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Science)\">Department SOP</a>.")
|
||||
if(job.is_security)
|
||||
to_chat(H, "<center><b>As a member of Security, you are to know <a href=\"https://www.paradisestation.org/wiki/index.php/Space_law\">Space Law</a>, <a href=\"https://www.paradisestation.org/wiki/index.php/Legal_Standard_Operating_Procedure\">Legal Standard Operating Procedure</a>, as well as your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Security)\">Department SOP</a>.</b></center>")
|
||||
L.Add("As a member of Security, you are to know <a href=\"https://www.paradisestation.org/wiki/index.php/Space_law\">Space Law</a>, <a href=\"https://www.paradisestation.org/wiki/index.php/Legal_Standard_Operating_Procedure\">Legal Standard Operating Procedure</a>, as well as your <a href=\"https://www.paradisestation.org/wiki/index.php/Standard_Operating_Procedure_(Security)\">Department SOP</a>.")
|
||||
if(job.req_admin_notify)
|
||||
to_chat(H, "<center><b>You are playing a job that is important for the game progression. If you have to disconnect, please go to cryo and inform command. If you are unable to do so, please notify the admins via adminhelp.</b></center>")
|
||||
to_chat(H, "<br><b><center>If you need help, check the <a href=\"https://paradisestation.org/wiki/index.php/Main_Page\">wiki</a> or use Mentorhelp(F1)!</b></center>")
|
||||
L.Add("You are playing a job that is important for the game progression. If you have to disconnect, please go to cryo and inform command. If you are unable to do so, please notify the admins via adminhelp.")
|
||||
L.Add("<br>If you need help, check the <a href=\"https://paradisestation.org/wiki/index.php/Main_Page\">wiki</a> or use Mentorhelp(F1)!</b>")
|
||||
if(job.important_information)
|
||||
to_chat(H, "<center><div class='userdanger' style='width: 80%'>[job.important_information]</div></center>")
|
||||
to_chat(H, "<center><span class='green'>----------------</span><br><br></center>")
|
||||
L.Add("</b><span class='userdanger' style='width: 80%'>[job.important_information]</span>")
|
||||
L.Add("<span class='green'>----------------</span></center><br><br>")
|
||||
|
||||
to_chat(H, L.Join("<br>"))
|
||||
|
||||
return H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user