<commit_before>//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
/obj/machinery/computer3/secure_data
	default_prog = /datum/file/program/secure_data
	spawn_parts = list(/obj/item/part/computer/storage/hdd,/obj/item/part/computer/cardslot,/obj/item/part/computer/networking/radio)
	icon_state = "frame-sec"

/obj/machinery/computer3/laptop/secure_data
	default_prog = /datum/file/program/secure_data
	spawn_parts = list(/obj/item/part/computer/storage/hdd/big,/obj/item/part/computer/cardslot,/obj/item/part/computer/networking/radio)
	icon_state = "laptop"


/datum/file/program/secure_data
	name 		= "Security Records"
	desc 		= "Used to view and edit personnel's security records"
	active_state = "security"
	image			= 'icons/ntos/records.png'

	req_one_access = list(access_security, access_forensics_lockers)

	var/obj/item/weapon/card/id/scan = null
	var/obj/item/weapon/card/id/scan2 = null
	var/authenticated = null
	var/rank = null
	var/screen = null
	var/datum/data/record/active1 = null
	var/datum/data/record/active2 = null
	var/a_id = null
	var/temp = null
	var/printing = null
	var/can_change_id = 0
	var/list/Perp
	var/tempname = null
	//Sorting Variables
	var/sortBy = "name"
	var/order = 1 // -1 = Descending - 1 = Ascending



	proc/authenticate()
		if(access_security in scan.access || access_forensics_lockers in scan.access )
			return 1
		if(istype(usr,/mob/living/silicon/ai))
			return 1
		return 0

	interact()
		if(!computer.cardslot)
			computer.Crash(MISSING_PERIPHERAL)
			return
		usr.set_machine(src)
		scan = computer.cardslot.reader

		if (computer.cardslot.dualslot)
			scan2 = computer.cardslot.writer

		if(!interactable())
			return
<commit_msg>Fixed detective laptop security access<commit_after>//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
/obj/machinery/computer3/secure_data
	default_prog = /datum/file/program/secure_data
	spawn_parts = list(/obj/item/part/computer/storage/hdd,/obj/item/part/computer/cardslot,/obj/item/part/computer/networking/radio)
	icon_state = "frame-sec"

/obj/machinery/computer3/laptop/secure_data
	default_prog = /datum/file/program/secure_data
	spawn_parts = list(/obj/item/part/computer/storage/hdd/big,/obj/item/part/computer/cardslot,/obj/item/part/computer/networking/radio)
	icon_state = "laptop"


/datum/file/program/secure_data
	name 		= "Security Records"
	desc 		= "Used to view and edit personnel's security records"
	active_state = "security"
	image			= 'icons/ntos/records.png'

	req_one_access = list(access_security, access_forensics_lockers)

	var/obj/item/weapon/card/id/scan = null
	var/obj/item/weapon/card/id/scan2 = null
	var/authenticated = null
	var/rank = null
	var/screen = null
	var/datum/data/record/active1 = null
	var/datum/data/record/active2 = null
	var/a_id = null
	var/temp = null
	var/printing = null
	var/can_change_id = 0
	var/list/Perp
	var/tempname = null
	//Sorting Variables
	var/sortBy = "name"
	var/order = 1 // -1 = Descending - 1 = Ascending



	proc/authenticate()
		if((access_security in scan.access) || (access_forensics_lockers in scan.access) )
			return 1
		if(istype(usr,/mob/living/silicon/ai))
			return 1
		return 0

	interact()
		if(!computer.cardslot)
			computer.Crash(MISSING_PERIPHERAL)
			return
		usr.set_machine(src)
		scan = computer.cardslot.reader

		if (computer.cardslot.dualslot)
			scan2 = computer.cardslot.writer

		if(!interactable())
			return

{'fraction_non_alphanumeric': 0.12140575079872204, 'fraction_numerical': 0.015103107754864944, 'mean_word_length': 4.057268722466961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1074561', 'n_tokens_mistral': 1406, 'n_tokens_neox': 1269, 'n_words': 214}