<commit_before>
/datum/reagent/thermite
	name = "Thermite"
	id = "thermite"
	description = "Thermite produces an aluminothermic reaction known as a thermite reaction. Can be used to melt walls."
	reagent_state = SOLID
	color = "#550000"

/datum/reagent/thermite/reaction_turf(turf/T, reac_volume)
	if(reac_volume >= 1 && istype(T, /turf/closed/wall))
		var/turf/closed/wall/Wall = T
		if(istype(Wall, /turf/closed/wall/r_wall))
			Wall.thermite = Wall.thermite+(reac_volume*2.5)
		else
			Wall.thermite = Wall.thermite+(reac_volume*10)
		Wall.overlays = list()
		Wall.overlays += image('icons/effects/effects.dmi',"thermite")

/datum/reagent/thermite/on_mob_life(mob/living/M)
	M.adjustFireLoss(1, 0, DAMAGE_CHEMICAL)
	..()
	. = 1

/datum/reagent/nitroglycerin
	name = "Nitroglycerin"
	id = "nitroglycerin"
	description = "Nitroglycerin is a heavy, colorless, oily, explosive liquid obtained by nitrating glycerol."
	color = "#808080" // rgb: 128, 128, 128

/datum/reagent/stabilizing_agent
	name = "Stabilizing Agent"
	id = "stabilizing_agent"
	description = "Keeps unstable chemicals stable. This does not work on everything."
	reagent_state = LIQUID
	color = "#FFFF00"

/datum/reagent/clf3
	name = "<NAME>"
	id = "clf3"
	description = "Makes a temporary 3x3 fireball when it comes into existence, so be careful when mixing. ClF3 applied to a surface burns things that wouldn't otherwise burn, sometimes through the very floors of the station and exposing it to the vacuum of space."
	reagent_state = LIQUID
	color = "#FFC8C8"
	metabolization_rate = 4

/datum/reagent/clf3/on_mob_life(mob/living/M)
	M.adjust_fire_stacks(4)
	var/burndmg = max(0.4*M.fire_stacks, 0.3)
	M.adjustFireLoss(burndmg, 0, DAMAGE_CHEMICAL)
	M.IgniteMob()
	..()
	. = 1

/datum/reagent/clf3/reaction_turf(turf/T, reac_volume)
	if(T.unacidable)
		return
	if(istype(T, /turf/open/floor/plating))
		var/turf/open/floor/plating/F = T
		if(prob(10 + F.burnt + 5*F.broken)) //broken or burnt plating is more susceptible to being destroyed
			F.ChangeTurf(F.baseturf)
	if(istype(T, /turf/open/floor/))
		var/turf/open/floor/F = T
		if(prob(reac_volume))
			F.make_plating()
		else if(prob(reac_volume))
			F.burn_tile()
		if(istype(F, /turf/open/floor/))
			for(var/turf/turf in range(1,F))
				if(!locate(/obj/effect/hotspot) in turf)
					PoolOrNew(/obj/effect/hotspot, F)
	if(istype(T, /turf/closed/wall/))
		var/turf/closed/wall/W = T
		if(W.walltype = "rwall") //use thermite
			return
		if(prob(reac_volume))<commit_msg>Changed an assignment to an equality check<commit_after>
/datum/reagent/thermite
	name = "Thermite"
	id = "thermite"
	description = "Thermite produces an aluminothermic reaction known as a thermite reaction. Can be used to melt walls."
	reagent_state = SOLID
	color = "#550000"

/datum/reagent/thermite/reaction_turf(turf/T, reac_volume)
	if(reac_volume >= 1 && istype(T, /turf/closed/wall))
		var/turf/closed/wall/Wall = T
		if(istype(Wall, /turf/closed/wall/r_wall))
			Wall.thermite = Wall.thermite+(reac_volume*2.5)
		else
			Wall.thermite = Wall.thermite+(reac_volume*10)
		Wall.overlays = list()
		Wall.overlays += image('icons/effects/effects.dmi',"thermite")

/datum/reagent/thermite/on_mob_life(mob/living/M)
	M.adjustFireLoss(1, 0, DAMAGE_CHEMICAL)
	..()
	. = 1

/datum/reagent/nitroglycerin
	name = "Nitroglycerin"
	id = "nitroglycerin"
	description = "Nitroglycerin is a heavy, colorless, oily, explosive liquid obtained by nitrating glycerol."
	color = "#808080" // rgb: 128, 128, 128

/datum/reagent/stabilizing_agent
	name = "Stabilizing Agent"
	id = "stabilizing_agent"
	description = "Keeps unstable chemicals stable. This does not work on everything."
	reagent_state = LIQUID
	color = "#FFFF00"

/datum/reagent/clf3
	name = "<NAME>"
	id = "clf3"
	description = "Makes a temporary 3x3 fireball when it comes into existence, so be careful when mixing. ClF3 applied to a surface burns things that wouldn't otherwise burn, sometimes through the very floors of the station and exposing it to the vacuum of space."
	reagent_state = LIQUID
	color = "#FFC8C8"
	metabolization_rate = 4

/datum/reagent/clf3/on_mob_life(mob/living/M)
	M.adjust_fire_stacks(4)
	var/burndmg = max(0.4*M.fire_stacks, 0.3)
	M.adjustFireLoss(burndmg, 0, DAMAGE_CHEMICAL)
	M.IgniteMob()
	..()
	. = 1

/datum/reagent/clf3/reaction_turf(turf/T, reac_volume)
	if(T.unacidable)
		return
	if(istype(T, /turf/open/floor/plating))
		var/turf/open/floor/plating/F = T
		if(prob(10 + F.burnt + 5*F.broken)) //broken or burnt plating is more susceptible to being destroyed
			F.ChangeTurf(F.baseturf)
	if(istype(T, /turf/open/floor/))
		var/turf/open/floor/F = T
		if(prob(reac_volume))
			F.make_plating()
		else if(prob(reac_volume))
			F.burn_tile()
		if(istype(F, /turf/open/floor/))
			for(var/turf/turf in range(1,F))
				if(!locate(/obj/effect/hotspot) in turf)
					PoolOrNew(/obj/effect/hotspot, F)
	if(istype(T, /turf/closed/wall/))
		var/turf/closed/wall/W = T
		if(W.walltype == "rwall") //use thermite
			return
		if(prob(reac_volume))
{'fraction_non_alphanumeric': 0.1337719298245614, 'fraction_numerical': 0.02073365231259968, 'mean_word_length': 4.1989637305699485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6888627', 'n_tokens_mistral': 2227, 'n_tokens_neox': 1988, 'n_words': 427}