Fixes More Devbugs (#4214)

Fixes #4195
Fixes #4199
Fixes #4162
Fixes #4194
This commit is contained in:
LordFowl
2018-01-30 07:50:30 +02:00
committed by Erki
parent fa97ca271e
commit 453b039dfe
7 changed files with 67 additions and 20 deletions
+20 -16
View File
@@ -397,8 +397,7 @@ var/global/list/additional_antag_types = list()
/datum/game_mode/proc/send_intercept()
var/intercepttext = "<center><img src = ntlogo.png></center><BR><FONT size = 3><BR><B>Cent. Com. Update</B><BR>FOR YOUR EYES ONLY:</FONT><HR>"
intercepttext += "<B><font face='Courier New'>The personnel listed below have been marked at-risk elements that Cent. Com. has deemed priority handling for the current shift:</B><br>"
var/intercepttext = "<center><img src = ntlogo.png></center><BR><FONT size = 3><BR><B>Cent. Com. Update</B><BR>FOR YOUR EYES ONLY:</FONT><HR><font face='Courier New'>"
var/list/disregard_roles = list()
for(var/antag_type in all_antag_types)
@@ -503,28 +502,33 @@ var/global/list/additional_antag_types = list()
var/business_jargon = list("Collated incident reports","Assembled peer-reviews","Persistently negative staff reviews","Collected shift logs","Accumulated negative reports","Analyzed shift data")
var/mean_words = list("has expressed consistent disapproval with the network", "is no longer working efficiently","has gone on record against NanoTrasen practices","is spreading minor dissent in response to recent NanoTrasen behavior","has expressed subversive intent","is unhappy with their employment package")
for(var/mob/living/carbon/human/M in suspects)
if(player_is_antag(M.mind, only_offstation_roles = 1))
continue
intercepttext += " + [pick(business_jargon)] indicate that [M.mind.assigned_role] [M.name] [pick(mean_words)].<br>"
intercepttext += "Cent. Com recommends coordinating with human resources to resolve any issues with employment.<br>"
if(suspects)
intercepttext += "<B>The personnel listed below have been marked at-risk elements that Cent. Com. has deemed priority handling for the current shift:</B><br>"
for(var/mob/living/carbon/human/M in suspects)
if(player_is_antag(M.mind, only_offstation_roles = 1))
continue
intercepttext += "<br> + [pick(business_jargon)] indicate that [M.mind.assigned_role] [M.name] [pick(mean_words)]."
intercepttext += "Cent. Com recommends coordinating with human resources to resolve any issues with employment.<br>"
intercepttext += "<br><B>The personnel listed below possess three or more offenses listed on record:</B>"
for(var/mob/living/carbon/human/M in repeat_offenders)
intercepttext += " + [M.mind.assigned_role] [M.name], [M.incidents.len] offenses.<br>"
intercepttext += "Cent. Com recommends coordinating with internal security to monitor and rehabilitate these personnel.<br>"
if(repeat_offenders)
intercepttext += "<br><B>The personnel listed below possess three or more offenses listed on record:</B>"
for(var/mob/living/carbon/human/M in repeat_offenders)
intercepttext += "<br> + [M.mind.assigned_role] [M.name], [M.incidents.len] offenses."
intercepttext += "Cent. Com recommends coordinating with internal security to monitor and rehabilitate these personnel.<br>"
intercepttext += "<br><B>The personnel listed below have been indicated as particularly loyal to NanoTrasen:</B>"
for(var/mob/living/carbon/human/M in loyalists)
intercepttext += " + [M.mind.assigned_role] [M.name].<br>"
intercepttext += "Cent. Com recommends coordinating with human resources to reward and further motivate these personnel for their loyalty.<br>"
if(loyalists)
intercepttext += "<br><B>The personnel listed below have been indicated as particularly loyal to NanoTrasen:</B>"
for(var/mob/living/carbon/human/M in loyalists)
intercepttext += "<br> + [M.mind.assigned_role] [M.name]."
intercepttext += "Cent. Com recommends coordinating with human resources to reward and further motivate these personnel for their loyalty.<br>"
if(evil_department)
intercepttext += "<br>[pick(business_jargon)] indicate that a majority of the [evil_department] department [pick(mean_words)]. This department has been marked at-risk and Cent. Com. recommends immediate action before the situation worsens.<br>"
if(total_crew)
intercepttext += "<br>Data collected and analyzed by A.L.I.C.E. indicate that [round((loyal_crew/total_crew)*100)]% of the current crew detail are supportive of NanoTrasen actions. Cent. Com. implores the current Head of Staff detail to increase this percentage.<br>"
intercepttext += "<hr> </font>Respectfully,<br><i>Quix Repi'Weish</i>, Chief Personnel Director"
intercepttext += "<hr> </font>Respectfully,<br><i>Quix Repi'Weish</i>, Chief Personnel Director<br>"
intercepttext += "<center><img src = barcode[rand(0, 3)].png></center>"
//New message handling
post_comm_message("Cent. Com. Status Summary", intercepttext)