mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-18 06:01:56 +00:00
@@ -205,27 +205,31 @@ Implants;
|
|||||||
|
|
||||||
/datum/game_mode/proc/send_intercept()
|
/datum/game_mode/proc/send_intercept()
|
||||||
var/intercepttext = "<FONT size = 3><B>Cent. Com. Update</B> Requested status information:</FONT><HR>"
|
var/intercepttext = "<FONT size = 3><B>Cent. Com. Update</B> Requested status information:</FONT><HR>"
|
||||||
intercepttext += "<B> Cent. Com has recently been contacted by the following syndicate affiliated organisations in your area, please investigate any information you may have:</B>"
|
intercepttext += "<B> In case you have misplaced your copy, attached is a list of personnel whom reliable sources™ suspect may be affiliated with the Syndicate:</B><br>"
|
||||||
|
|
||||||
var/list/possible_modes = list()
|
|
||||||
possible_modes.Add("revolution", "wizard", "nuke", "traitor", "malf", "changeling", "cult")
|
|
||||||
//possible_modes -= "[ticker.mode]"
|
|
||||||
var/number = pick(2, 3)
|
|
||||||
var/i = 0
|
|
||||||
for(i = 0, i < number, i++)
|
|
||||||
possible_modes.Remove(pick(possible_modes))
|
|
||||||
|
|
||||||
if(!intercept_hacked)
|
var/list/suspects = list()
|
||||||
possible_modes.Insert(rand(possible_modes.len), "[ticker.mode]")
|
for(var/mob/living/carbon/human/man in player_list) if(man.client && man.mind)
|
||||||
|
// NT relation option
|
||||||
shuffle(possible_modes)
|
var/special_role = man.mind.special_role
|
||||||
|
if(man.client.prefs.nanotrasen_relation == "Opposed" && prob(50) || \
|
||||||
var/datum/intercept_text/i_text = new /datum/intercept_text
|
man.client.prefs.nanotrasen_relation == "Skeptical" && prob(20))
|
||||||
for(var/A in possible_modes)
|
suspects += man
|
||||||
if(modePlayer.len == 0)
|
// Antags
|
||||||
intercepttext += i_text.build(A)
|
else if(special_role == "traitor" && prob(20) || \
|
||||||
else
|
special_role == "Changeling" && prob(40) || \
|
||||||
intercepttext += i_text.build(A, pick(modePlayer))
|
special_role == "Cultist" && prob(10) || \
|
||||||
|
special_role == "Head Revolutionary" && prob(10))
|
||||||
|
suspects += man
|
||||||
|
// Some poor people who were just in the wrong place at the wrong time..
|
||||||
|
else if(prob(5))
|
||||||
|
suspects += man
|
||||||
|
for(var/mob/M in suspects)
|
||||||
|
switch(rand(1, 100))
|
||||||
|
if(1 to 50)
|
||||||
|
intercepttext += "Someone with the job of <b>[M.mind.assigned_role]</b> <br>"
|
||||||
|
else
|
||||||
|
intercepttext += "<b>[M.name]</b>, the <b>[M.mind.assigned_role]</b> <br>"
|
||||||
|
|
||||||
for (var/obj/machinery/computer/communications/comm in world)
|
for (var/obj/machinery/computer/communications/comm in world)
|
||||||
if (!(comm.stat & (BROKEN | NOPOWER)) && comm.prints_intercept)
|
if (!(comm.stat & (BROKEN | NOPOWER)) && comm.prints_intercept)
|
||||||
|
|||||||
Reference in New Issue
Block a user