<commit_before>var/global/wcBrig
var/global/wcBar
var/global/wcCommon

//for all window/New and door/window/New
/proc/color_windows(area = "common")
	var/list/common = list("#379963", "#0d8395", "#58b5c3", "#49e46e", "#8fcf44", "#ffffff")
	if(!wcCommon)
		wcCommon = pick(common)
	return wcCommon

//This func called in master-controller, replaces color in some area
/proc/color_windows_init()
	var/list/brig = list("#aa0808", "#7f0606", "#ff0000")
	var/list/bar = list("#0d8395", "#58b5c3", "#58c366", "#90d79a", "#ffffff")

	wcBrig = pick(brig)
	wcBar = pick(bar)

	//BRIG
	var/wsBrigList = list(
		/area/security/brig,
		/area/security/detectives_office,
		/area/security/hos,
		/area/security/lobby,
		/area/security/main,
		/area/security/prison,
		/area/security/warden,
		/area/security/range,
		/area/prison/cell_block/A,
		/area/prison/cell_block/B,
		/area/security/processing,
		/area/security/armoury

		)

	for(var/A in wsBrigList)
		for(var/obj/structure/window/W in locate(A))
			W.color = wcBrig
		for(var/obj/machinery/door/window/D in locate(A))
			D.color = wcBrig

	//BAR
	for(var/obj/structure/window/W in locate(/area/crew_quarters/bar))
		W.color = wcBar
	for(var/obj/machinery/door/window/D in locate(/area/crew_quarters/bar))<commit_msg>No colored windows for shuttle<commit_after>var/global/wcBrig
var/global/wcBar
var/global/wcCommon

//for all window/New and door/window/New
/proc/color_windows(area = "common")
	var/list/common = list("#379963", "#0d8395", "#58b5c3", "#49e46e", "#8fcf44", "#ffffff")
	if(!wcCommon)
		wcCommon = pick(common)
	return wcCommon

//This func called in master-controller, replaces color in some area
/proc/color_windows_init()
	var/list/brig = list("#aa0808", "#7f0606", "#ff0000")
	var/list/bar = list("#0d8395", "#58b5c3", "#58c366", "#90d79a", "#ffffff")

	wcBrig = pick(brig)
	wcBar = pick(bar)

	//BRIG
	var/wsBrigList = list(
		/area/security/brig,
		/area/security/detectives_office,
		/area/security/hos,
		/area/security/lobby,
		/area/security/main,
		/area/security/prison,
		/area/security/warden,
		/area/security/range,
		/area/prison/cell_block/A,
		/area/prison/cell_block/B,
		/area/security/processing,
		/area/security/armoury

		)

	for(var/A in wsBrigList)
		for(var/obj/structure/window/W in locate(A))
			if(istype(W, /obj/structure/window/full/shuttle))
				continue
			W.color = wcBrig
		for(var/obj/machinery/door/window/D in locate(A))
			D.color = wcBrig

	//BAR
	for(var/obj/structure/window/W in locate(/area/crew_quarters/bar))
		W.color = wcBar
	for(var/obj/machinery/door/window/D in locate(/area/crew_quarters/bar))
{'fraction_non_alphanumeric': 0.16877637130801687, 'fraction_numerical': 0.04065976217874952, 'mean_word_length': 4.015384615384615, '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': '4257449', 'n_tokens_mistral': 1166, 'n_tokens_neox': 1046, 'n_words': 174}