mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Adds "Suspected" to available sec record tags (#65339)
add: A new intermediate tag for sec huds called "Suspected"
This commit is contained in:
@@ -288,6 +288,9 @@ Security HUDs! Basic mode shows only the job.
|
||||
if("Incarcerated")
|
||||
holder.icon_state = "hudincarcerated"
|
||||
return
|
||||
if("Suspected")
|
||||
holder.icon_state = "hudsuspected"
|
||||
return
|
||||
if("Paroled")
|
||||
holder.icon_state = "hudparolled"
|
||||
return
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#define COMP_STATE_ARREST "*Arrest*"
|
||||
#define COMP_STATE_PRISONER "Incarcerated"
|
||||
#define COMP_STATE_SUSPECTED "Suspected"
|
||||
#define COMP_STATE_PAROL "Paroled"
|
||||
#define COMP_STATE_DISCHARGED "Discharged"
|
||||
#define COMP_STATE_NONE "None"
|
||||
@@ -134,6 +135,7 @@
|
||||
var/static/list/component_options = list(
|
||||
COMP_STATE_ARREST,
|
||||
COMP_STATE_PRISONER,
|
||||
COMP_STATE_SUSPECTED,
|
||||
COMP_STATE_PAROL,
|
||||
COMP_STATE_DISCHARGED,
|
||||
COMP_STATE_NONE,
|
||||
@@ -181,6 +183,7 @@
|
||||
|
||||
#undef COMP_STATE_ARREST
|
||||
#undef COMP_STATE_PRISONER
|
||||
#undef COMP_STATE_SUSPECTED
|
||||
#undef COMP_STATE_PAROL
|
||||
#undef COMP_STATE_DISCHARGED
|
||||
#undef COMP_STATE_NONE
|
||||
@@ -297,6 +300,8 @@
|
||||
background = "'background-color:#990000;'"
|
||||
if("Incarcerated")
|
||||
background = "'background-color:#CD6500;'"
|
||||
if("Suspected")
|
||||
background = "'background-color:#CD6500;'"
|
||||
if("Paroled")
|
||||
background = "'background-color:#CD6500;'"
|
||||
if("Discharged")
|
||||
@@ -894,6 +899,7 @@ What a mess.*/
|
||||
temp += "<li><a href='?src=[REF(src)];choice=Change Criminal Status;criminal2=none'>None</a></li>"
|
||||
temp += "<li><a href='?src=[REF(src)];choice=Change Criminal Status;criminal2=arrest'>*Arrest*</a></li>"
|
||||
temp += "<li><a href='?src=[REF(src)];choice=Change Criminal Status;criminal2=incarcerated'>Incarcerated</a></li>"
|
||||
temp += "<li><a href='?src=[REF(src)];choice=Change Criminal Status;criminal2=suspected'>Suspected</a></li>"
|
||||
temp += "<li><a href='?src=[REF(src)];choice=Change Criminal Status;criminal2=paroled'>Paroled</a></li>"
|
||||
temp += "<li><a href='?src=[REF(src)];choice=Change Criminal Status;criminal2=released'>Discharged</a></li>"
|
||||
temp += "</ul>"
|
||||
@@ -945,6 +951,8 @@ What a mess.*/
|
||||
active2.fields["criminal"] = "*Arrest*"
|
||||
if("incarcerated")
|
||||
active2.fields["criminal"] = "Incarcerated"
|
||||
if("suspected")
|
||||
active2.fields["criminal"] = "Suspected"
|
||||
if("paroled")
|
||||
active2.fields["criminal"] = "Paroled"
|
||||
if("released")
|
||||
@@ -1021,7 +1029,7 @@ What a mess.*/
|
||||
if(3)
|
||||
R.fields["age"] = rand(5, 85)
|
||||
if(4)
|
||||
R.fields["criminal"] = pick("None", "*Arrest*", "Incarcerated", "Paroled", "Discharged")
|
||||
R.fields["criminal"] = pick("None", "*Arrest*", "Incarcerated", "Suspected", "Paroled", "Discharged")
|
||||
if(5)
|
||||
R.fields["p_stat"] = pick("*Unconscious*", "Active", "Physically Unfit")
|
||||
if(6)
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
notice = "<br>**REPORT TO THE BRIG**"
|
||||
if("Incarcerated")
|
||||
background = "background-color:#CD6500;"
|
||||
if("Suspected")
|
||||
background = "background-color:#CD6500;"
|
||||
if("Paroled")
|
||||
background = "background-color:#CD6500;"
|
||||
if("Discharged")
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
to_chat(usr, span_warning("ERROR: Unable to locate data core entry for target."))
|
||||
return
|
||||
if(href_list["status"])
|
||||
var/setcriminal = input(usr, "Specify a new criminal status for this person.", "Security HUD", R.fields["criminal"]) in list("None", "*Arrest*", "Incarcerated", "Paroled", "Discharged", "Cancel")
|
||||
var/setcriminal = input(usr, "Specify a new criminal status for this person.", "Security HUD", R.fields["criminal"]) in list("None", "*Arrest*", "Incarcerated", "Suspected", "Paroled", "Discharged", "Cancel")
|
||||
if(setcriminal != "Cancel")
|
||||
if(!R)
|
||||
return
|
||||
@@ -445,6 +445,8 @@
|
||||
threatcount += 5
|
||||
if("Incarcerated")
|
||||
threatcount += 2
|
||||
if("Suspected")
|
||||
threatcount += 2
|
||||
if("Paroled")
|
||||
threatcount += 2
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
Reference in New Issue
Block a user