<commit_before>/obj/machinery/deepfryer
	name = "<NAME>"
	desc = "Deep fried <i>everything</i>."
	icon = 'icons/obj/cooking_machines.dmi'
	icon_state = "fryer_off"
	layer = 2.9
	density = 1
	anchored = 1
	use_power = 1
	idle_power_usage = 5
	var/on = FALSE	//Is it deep frying already?
	var/obj/item/frying = null	//What's being fried RIGHT NOW?

/obj/machinery/deepfryer/examine()
	..()
	if(frying)
		usr << "You can make out [frying] in the oil."

/obj/machinery/deepfryer/attackby(obj/item/I, mob/living/carbon/human/user)
	if(!anchored)
		if(istype(I, /obj/item/weapon/wrench))
			if(default_unfasten_wrench(user, I))
				power_change()
				return
		return
	if(on)
		user << "<span class='notice'>[src] is still active!</span>"
		return
	if(!istype(I, /obj/item/device/) && !istype(I, /obj/item/organ) && !istype(I, /obj/item/weapon) && !istype(I, /obj/item/weapon/reagent_containers/food/snacks/))
	// Is it a snack, organ, device, or weapon.. FRY IT UP!
		user << "<span class='warning'>Budget cuts won't let you put that in there.</span>"
		return
	if(istype(I, /obj/item/weapon/storage) || istype(I, /obj/item/weapon/card) || istype(I, /obj/item/weapon/twohanded) || istype(I, /obj/item/weapon/grab) || istype(I, /obj/item/device/thinktronic) || istype(I, /obj/item/weapon/melee/arm_blade) || istype(I, /obj/item/weapon/melee/energy/) || istype(I, /obj/item/weapon/gun/energy/) || istype(I, /obj/item/weapon/extinguisher/mini/nozzle) || istype(I, /obj/item/weapon/reagent_containers/spray/mister))
	// Block specific items
		user << "<span class='warning'>Budget cuts won't let you put that in there.</span>"
		return
	if(istype(I, /obj/item/weapon/wrench))
		if(default_unfasten_wrench(user, I))
			power_change()
			return
		return
	if(istype(I, /obj/item/weapon/reagent_containers/food/snacks/deepfryholder))
		user << "<span class='userdanger'>You cannot doublefry.</span>"
		return
	else
		user << "<span class='notice'>You put [I] into [src].</span>"
		on = TRUE
		user.drop_item()
		frying = I
		frying.loc = src
		icon_state = "fryer_on"
		sleep(200)

		if(frying && frying.loc == src)
			var/obj/item/weapon/reagent_containers/food/snacks/deepfryholder/S = new(get_turf(src))
			if(istype(frying, /obj/item/weapon/reagent_containers/))<commit_msg>Adds pinpointer to the deep fryer blacklist<commit_after>/obj/machinery/deepfryer
	name = "deep fryer"
	desc = "Deep fried <i>everything</i>."
	icon = 'icons/obj/cooking_machines.dmi'
	icon_state = "fryer_off"
	layer = 2.9
	density = 1
	anchored = 1
	use_power = 1
	idle_power_usage = 5
	var/on = FALSE	//Is it deep frying already?
	var/obj/item/frying = null	//What's being fried RIGHT NOW?

/obj/machinery/deepfryer/examine()
	..()
	if(frying)
		usr << "You can make out [frying] in the oil."

/obj/machinery/deepfryer/attackby(obj/item/I, mob/living/carbon/human/user)
	if(!anchored)
		if(istype(I, /obj/item/weapon/wrench))
			if(default_unfasten_wrench(user, I))
				power_change()
				return
		return
	if(on)
		user << "<span class='notice'>[src] is still active!</span>"
		return
	if(!istype(I, /obj/item/device/) && !istype(I, /obj/item/organ) && !istype(I, /obj/item/weapon) && !istype(I, /obj/item/weapon/reagent_containers/food/snacks/))
	// Is it a snack, organ, device, or weapon.. FRY IT UP!
		user << "<span class='warning'>Budget cuts won't let you put that in there.</span>"
		return
	if(istype(I, /obj/item/weapon/storage) || istype(I, /obj/item/weapon/card) || istype(I, /obj/item/weapon/twohanded) || istype(I, /obj/item/weapon/grab) || istype(I, /obj/item/device/thinktronic) || istype(I, /obj/item/weapon/melee/arm_blade) || istype(I, /obj/item/weapon/melee/energy/) || istype(I, /obj/item/weapon/gun/energy/) || istype(I, /obj/item/weapon/extinguisher/mini/nozzle) || istype(I, /obj/item/weapon/reagent_containers/spray/mister) || istype(I, /obj/item/weapon/pinpointer))
	// Block specific items
		user << "<span class='warning'>Budget cuts won't let you put that in there.</span>"
		return
	if(istype(I, /obj/item/weapon/wrench))
		if(default_unfasten_wrench(user, I))
			power_change()
			return
		return
	if(istype(I, /obj/item/weapon/reagent_containers/food/snacks/deepfryholder))
		user << "<span class='userdanger'>You cannot doublefry.</span>"
		return
	else
		user << "<span class='notice'>You put [I] into [src].</span>"
		on = TRUE
		user.drop_item()
		frying = I
		frying.loc = src
		icon_state = "fryer_on"
		sleep(200)

		if(frying && frying.loc == src)
			var/obj/item/weapon/reagent_containers/food/snacks/deepfryholder/S = new(get_turf(src))
			if(istype(frying, /obj/item/weapon/reagent_containers/))
{'fraction_non_alphanumeric': 0.17267593397046047, 'fraction_numerical': 0.003909643788010426, 'mean_word_length': 4.099667774086379, 'pattern_counts': {'":': 0, '<': 52, '<?xml version=': 0, '>': 28, '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': '3419739', 'n_tokens_mistral': 1966, 'n_tokens_neox': 1831, 'n_words': 350}