Changed title of security record paper.

Instead of the paper being named

paper - 'Security Record'

SR-[num] '[charactername]'

SR-1 'Persh Ullman'
For example

Also title within the record

Security Record

has been changed to

Security Record - (SR-1)

This makes identifying security records without having to rename them and also adds a better paper trail to security records.
This commit is contained in:
Rockdtben
2014-06-07 13:43:21 -05:00
parent 713884f0ad
commit 701b9be244
2 changed files with 4 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
var/medical[] = list()
var/general[] = list()
var/security[] = list()
var/securityPrintCount = 0
//This list tracks characters spawned in the world and cannot be modified in-game. Currently referenced by respawn_character().
var/locked[] = list()

View File

@@ -307,9 +307,10 @@ What a mess.*/
if ("Print Record")
if (!( printing ))
printing = 1
data_core.securityPrintCount++
sleep(50)
var/obj/item/weapon/paper/P = new /obj/item/weapon/paper( loc )
P.info = "<CENTER><B>Security Record</B></CENTER><BR>"
P.info = "<CENTER><B>Security Record - (SR-[data_core.securityPrintCount])</B></CENTER><BR>"
if ((istype(active1, /datum/data/record) && data_core.general.Find(active1)))
P.info += text("Name: [] ID: []<BR>\nSex: []<BR>\nAge: []<BR>\nFingerprint: []<BR>\nPhysical Status: []<BR>\nMental Status: []<BR>", active1.fields["name"], active1.fields["id"], active1.fields["sex"], active1.fields["age"], active1.fields["fingerprint"], active1.fields["p_stat"], active1.fields["m_stat"])
else
@@ -323,7 +324,7 @@ What a mess.*/
else
P.info += "<B>Security Record Lost!</B><BR>"
P.info += "</TT>"
P.name = "paper - 'Security Record'"
P.name = text("SR-[] '[]'", data_core.securityPrintCount, active1.fields["name"])
printing = null
//RECORD DELETE
if ("Delete All Records")