From 701b9be24432a0dfe2ee7a82c493ec2502d79f1b Mon Sep 17 00:00:00 2001 From: Rockdtben Date: Sat, 7 Jun 2014 13:43:21 -0500 Subject: [PATCH] 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. --- code/datums/datacore.dm | 1 + code/game/machinery/computer/security.dm | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index 7477f576d2e..23cb9f14bb0 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -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() diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index 5034a19f459..35603df14c2 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -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 = "
Security Record

" + P.info = "
Security Record - (SR-[data_core.securityPrintCount])

" if ((istype(active1, /datum/data/record) && data_core.general.Find(active1))) P.info += text("Name: [] ID: []
\nSex: []
\nAge: []
\nFingerprint: []
\nPhysical Status: []
\nMental Status: []
", 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 += "Security Record Lost!
" P.info += "" - P.name = "paper - 'Security Record'" + P.name = text("SR-[] '[]'", data_core.securityPrintCount, active1.fields["name"]) printing = null //RECORD DELETE if ("Delete All Records")