Logs minor and major crimes

Simply adds minor and major crimes to the records.html investigate log
This commit is contained in:
Nick Farley
2018-06-08 11:32:14 -04:00
parent aa5826ff1b
commit 7fee2a17bb
2 changed files with 4 additions and 0 deletions
@@ -433,6 +433,7 @@
return
var/crime = GLOB.data_core.createCrimeEntry(t1, t2, allowed_access, station_time_timestamp())
GLOB.data_core.addMinorCrime(R.fields["id"], crime)
investigate_log("New Minor Crime: <strong>[t1]</strong>: [t2] | Added to [active1.fields["name"]] by [usr.name] ([usr.key])", INVESTIGATE_RECORDS)
to_chat(usr, "<span class='notice'>Successfully added a minor crime.</span>")
return
if("Major Crime")
@@ -448,6 +449,7 @@
return
var/crime = GLOB.data_core.createCrimeEntry(t1, t2, allowed_access, station_time_timestamp())
GLOB.data_core.addMajorCrime(R.fields["id"], crime)
investigate_log("New Major Crime: <strong>[t1]</strong>: [t2] | Added to [active1.fields["name"]] by [usr.name] ([usr.key])", INVESTIGATE_RECORDS)
to_chat(usr, "<span class='notice'>Successfully added a major crime.</span>")
return