You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
active2.fields["com_[counter]"] ="Made by [src.authenticated] ([src.rank]) on [stationtime2text()][time2text(world.realtime, "MMM DD")], [CURRENT_STATION_YEAR]<BR>[t1]"
674
+
active2.fields["com_[counter]"] ="Made by [src.authenticated] ([src.rank]) on [stationtime2text()][stationdate2text()]<BR>[t1]"
675
+
676
+
investigate_log("[key_name(usr)] created a new comment for [active2.fields["name"]]: [html_encode(t1)].", INVESTIGATE_RECORDS)
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: name | Old value:[active1.fields["name"]] | New value: [t1].", INVESTIGATE_RECORDS)
763
771
active1.fields["name"] = t1
764
772
if(istype(active2, /datum/data/record))
773
+
investigate_log("[key_name(usr)] updated [active2.fields["name"]]'s record: Var: name | Old value:[active2.fields["name"]] | New value: [t1].", INVESTIGATE_RECORDS)
var/t1= tgui_input_text(usr, "Input an id", "Security Records", active1.fields["id"])
769
778
if(!canUseSecurityRecordsConsole(usr, t1, a1))
770
779
return
771
780
if(istype(active1, /datum/data/record))
781
+
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: id | Old value:[active1.fields["id"]] | New value: [t1].", INVESTIGATE_RECORDS)
772
782
active1.fields["id"] = t1
773
783
if(istype(active2, /datum/data/record))
784
+
investigate_log("[key_name(usr)] updated [active2.fields["name"]]'s record: Var: id | Old value:[active2.fields["id"]] | New value: [t1].", INVESTIGATE_RECORDS)
774
785
active2.fields["id"] = t1
786
+
775
787
if("fingerprint")
776
788
if(istype(active1, /datum/data/record))
777
789
var/t1= tgui_input_text(usr, "Input a fingerprint hash", "Security Records", active1.fields["fingerprint"])
778
790
if(!canUseSecurityRecordsConsole(usr, t1, a1))
779
791
return
792
+
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: fingerprint | Old value:[active1.fields["fingerprint"]] | New value: [t1].", INVESTIGATE_RECORDS)
780
793
active1.fields["fingerprint"] = t1
794
+
781
795
if("gender")
782
796
if(istype(active1, /datum/data/record))
797
+
var/new_gender
783
798
if(active1.fields["gender"] =="Male")
784
-
active1.fields["gender"]="Female"
799
+
new_gender="Female"
785
800
elseif(active1.fields["gender"] =="Female")
786
-
active1.fields["gender"]="Other"
801
+
new_gender="Other"
787
802
else
788
-
active1.fields["gender"] ="Male"
803
+
new_gender ="Male"
804
+
805
+
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: gender | Old value:[active1.fields["gender"]] | New value: [new_gender].", INVESTIGATE_RECORDS)
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: age | Old value:[active1.fields["age"]] | New value: [t1].", INVESTIGATE_RECORDS)
796
816
active1.fields["age"] = t1
817
+
797
818
if("species")
798
819
if(istype(active1, /datum/data/record))
799
820
var/t1= tgui_input_list(usr, "Select a species", "Species Selection", get_selectable_species())
800
821
if(isnull(t1))
801
822
return
802
823
if(!canUseSecurityRecordsConsole(usr, t1, a1))
803
824
return
825
+
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: species | Old value:[active1.fields["species"]] | New value: [t1].", INVESTIGATE_RECORDS)
0 commit comments