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()], [CURRENT_STATION_YEAR]<BR>[t1]"
675
+
676
+
investigate_log("[key_name(usr)] created a new comment for [active2.fields["name"]]: [html_encode(t1)].")
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: name | Old value:[active1.fields["name"]] | New value: [t1].", INVESTIGATE_RECORDS)
765
773
active1.fields["name"] = t1
766
774
if(istype(active2, /datum/data/record))
775
+
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"])
771
780
if(!canUseSecurityRecordsConsole(usr, t1, a1))
772
781
return
773
782
if(istype(active1, /datum/data/record))
783
+
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: id | Old value:[active1.fields["id"]] | New value: [t1].", INVESTIGATE_RECORDS)
774
784
active1.fields["id"] = t1
775
785
if(istype(active2, /datum/data/record))
786
+
investigate_log("[key_name(usr)] updated [active2.fields["name"]]'s record: Var: id | Old value:[active2.fields["id"]] | New value: [t1].", INVESTIGATE_RECORDS)
776
787
active2.fields["id"] = t1
788
+
777
789
if("fingerprint")
778
790
if(istype(active1, /datum/data/record))
779
791
var/t1= tgui_input_text(usr, "Input a fingerprint hash", "Security Records", active1.fields["fingerprint"])
780
792
if(!canUseSecurityRecordsConsole(usr, t1, a1))
781
793
return
794
+
investigate_log("[key_name(usr)] updated [active1.fields["name"]]'s record: Var: fingerprint | Old value:[active1.fields["fingerprint"]] | New value: [t1].", INVESTIGATE_RECORDS)
782
795
active1.fields["fingerprint"] = t1
796
+
783
797
if("gender")
784
798
if(istype(active1, /datum/data/record))
799
+
var/new_gender
785
800
if(active1.fields["gender"] =="Male")
786
-
active1.fields["gender"]="Female"
801
+
new_gender="Female"
787
802
elseif(active1.fields["gender"] =="Female")
788
-
active1.fields["gender"]="Other"
803
+
new_gender="Other"
789
804
else
790
-
active1.fields["gender"] ="Male"
805
+
new_gender ="Male"
806
+
807
+
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)
798
818
active1.fields["age"] = t1
819
+
799
820
if("species")
800
821
if(istype(active1, /datum/data/record))
801
822
var/t1= tgui_input_list(usr, "Select a species", "Species Selection", get_selectable_species())
802
823
if(isnull(t1))
803
824
return
804
825
if(!canUseSecurityRecordsConsole(usr, t1, a1))
805
826
return
827
+
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