anchor.diff:  	..()
   	creator = set_creator
   	res = set_resonator
  +	check_pressure()
  +	addtimer(CALLBACK(src, .proc/burst), timetoburst)
  +
  +/obj/effect/resonance/Destroy()
  +	if(res)
  +		res.fields -= src
  +	. = ..()
  +
  +/obj/effect/resonance/proc/check_pressure()
   	var/turf/proj_turf = get_turf(src)
   	if(!istype(proj_turf))
   		return
   	var/datum/gas_mixture/environment = proj_turf.return_air()
   	var/pressure = environment.return_pressure()
   	if(pressure < 50)
  -		name = "strong resonance field"
  +		name = "strong [initial(name)]"
   		resonance_damage = 60
  -	addtimer(CALLBACK(src, .proc/burst, proj_turf), timetoburst)
  -
  -/obj/effect/resonance/Destroy()
  -	if(res)
  -		res.fields -= src
  -	return ..()
  -
  -/obj/effect/resonance/proc/burst(turf/T)
  +	else
  +		name = initial(name)
  +		resonance_damage = initial(resonance_damage)
  +
  +/obj/effect/resonance/proc/burst()
  +	check_pressure()
  +	var/turf/T = get_turf(src)
   	playsound(src,'sound/weapons/resonator_blast.ogg',50,1)
   	if(ismineralturf(T))
   		var/turf/closed/mineral/M = T
  
positive.code: 
  /obj/item/weapon/resonator/upgraded
  	name = "upgraded resonator"
  	desc = "An upgraded version of the resonator that can produce more fields at once."
  	icon_state = "resonator_u"
  	item_state = "resonator_u"
  	origin_tech = "materials=4;powerstorage=3;engineering=3;magnets=3"
  
negative.code: 	for(var/mob/living/L in T)
  		if(creator)
  			add_logs(creator, L, "used a resonator field on", "resonator")
  		L << "<span class='userdanger'>[src] ruptured with you in it!</span>"
  		L.apply_damage(resonance_damage, BRUTE)
  	qdel(src)
  
  