<commit_before>/datum/round_event_control/scrubber_clog
	name = "Minor Scrubber Clog"
	typepath = /datum/round_event/scrubber_clog
	weight = 25
	max_occurrences = 3
	earliest_start = 5 MINUTES

/datum/round_event/scrubber_clog
	announceWhen = 10
	startWhen = 5
	endWhen = 600

	///Scrubber selected for the event.
	var/obj/machinery/atmospherics/components/unary/vent_scrubber/scrubber
	///What mob will be spawned
	var/mob/spawned_mob = /mob/living/basic/cockroach
	///Cap on the number of spawned mobs that can be alive at once.
	var/maximum_spawns = 3
	///Interval between mob spawns.
	var/spawn_delay = 10
	///Used to track/limit produced mobs.
	var/list/living_mobs = list()
	///Used for tracking if the clog signal should be sent.
	var/clogged = TRUE

/datum/round_event/scrubber_clog/announce()
	priority_announce("Minor biological obstruction detected in the ventilation network. Blockage is believed to be in the [get_area_name(scrubber)] area.", "Custodial Notification")

/datum/round_event/scrubber_clog/setup()
	scrubber = get_scrubber()
	if(!scrubber)
		kill()
		CRASH("Unable to find suitable scrubber.")

	RegisterSignal(scrubber, COMSIG_PARENT_QDELETING, .proc/scrubber_move)

	spawned_mob = get_mob()
	endWhen = rand(300, 600)
	maximum_spawns = rand(3, 5)<commit_msg>Scrubber clog event no longer happens in the recreation area area (#67304)<commit_after>/datum/round_event_control/scrubber_clog
	name = "Minor Scrubber Clog"
	typepath = /datum/round_event/scrubber_clog
	weight = 25
	max_occurrences = 3
	earliest_start = 5 MINUTES

/datum/round_event/scrubber_clog
	announceWhen = 10
	startWhen = 5
	endWhen = 600

	///Scrubber selected for the event.
	var/obj/machinery/atmospherics/components/unary/vent_scrubber/scrubber
	///What mob will be spawned
	var/mob/spawned_mob = /mob/living/basic/cockroach
	///Cap on the number of spawned mobs that can be alive at once.
	var/maximum_spawns = 3
	///Interval between mob spawns.
	var/spawn_delay = 10
	///Used to track/limit produced mobs.
	var/list/living_mobs = list()
	///Used for tracking if the clog signal should be sent.
	var/clogged = TRUE

/datum/round_event/scrubber_clog/announce()
	priority_announce("Minor biological obstruction detected in the ventilation network. Blockage is believed to be in the [get_area_name(scrubber)].", "Custodial Notification")

/datum/round_event/scrubber_clog/setup()
	scrubber = get_scrubber()
	if(!scrubber)
		kill()
		CRASH("Unable to find suitable scrubber.")

	RegisterSignal(scrubber, COMSIG_PARENT_QDELETING, .proc/scrubber_move)

	spawned_mob = get_mob()
	endWhen = rand(300, 600)
	maximum_spawns = rand(3, 5)
{'fraction_non_alphanumeric': 0.09710586443259711, 'fraction_numerical': 0.0178979436405179, 'mean_word_length': 4.530526315789474, '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': '2747042', 'n_tokens_mistral': 1031, 'n_tokens_neox': 949, 'n_words': 239}