anchor.diff:  		mychild.health = mychild.maxHealth
   	if(times_won == 1)
   		mychild.playsound_local(get_turf(mychild), 'sound/effects/magic.ogg', 40, 0)
  -		to_chat(mychild, span_boldwarning("As the life in the activator's eyes fade, the forcefield around you dies out and you feel your power subside.\nDespite this inferno being your home, you feel as if you aren't welcome here anymore.\nWithout any guidance, your purpose is now for you to decide."))
  -		to_chat(mychild, "<b>Your max health has been halved, but can now heal by standing on your tumor.  Note, it's your only way to heal.\nBear in mind, if anyone interacts with your tumor, you'll be resummoned here to carry out another fight.  In such a case, you will regain your full max health.\nAlso, be weary of your fellow inhabitants, they likely won't be happy to see you!</b>")
  -		to_chat(mychild, "<span class='big bold'>Note that you are a lavaland monster, and thus not allied to the station.  You should not cooperate or act friendly with any station crew unless under extreme circumstances!</span>")
  +		to_chat(mychild, span_boldwarning("As the life in the activator's eyes fade, the forcefield around you dies out and you feel your power subside.\n\
  +			Despite this inferno being your home, you feel as if you aren't welcome here anymore.\n\
  +			Without any guidance, your purpose is now for you to decide."))
  +		to_chat(mychild, "<b>Your max health has been halved, but can now heal by standing on your tumor. Note, it's your only way to heal.\n\
  +			Bear in mind, if anyone interacts with your tumor, you'll be resummoned here to carry out another fight. In such a case, you will regain your full max health.\n\
  +			Also, be weary of your fellow inhabitants, they likely won't be happy to see you!</b>")
  +		to_chat(mychild, "<span class='big bold'>Note that you are a lavaland monster, and thus not allied to the station. You should not cooperate or act friendly with any station crew unless under extreme circumstances!</span>")
   
   /obj/item/tumor_shard
   	name = "tumor shard"
  
positive.code: 	var/times_won = 0
  	var/mob/living/carbon/human/activator
  	var/mob/living/simple_animal/hostile/asteroid/elite/mychild = null
  	var/potentialspawns = list(/mob/living/simple_animal/hostile/asteroid/elite/broodmother,
  								/mob/living/simple_animal/hostile/asteroid/elite/pandora,
  								/mob/living/simple_animal/hostile/asteroid/elite/legionnaire,
  								/mob/living/simple_animal/hostile/asteroid/elite/herald)
  
  /obj/structure/elite_tumor/attack_hand(mob/user, list/modifiers)
  	. = ..()
  	if(ishuman(user))
  		switch(activity)
  			if(TUMOR_PASSIVE)
  				// Prevents the user from being forcemoved back and forth between two elite arenas.
  				if(HAS_TRAIT(user, TRAIT_ELITE_CHALLENGER))
  					user.visible_message(span_warning("[user] reaches for [src] with [user.p_their()] arm, but nothing happens."),
  						span_warning("You reach for [src] with your arm... but nothing happens."))
  					return
  				activity = TUMOR_ACTIVE
  				user.visible_message(span_boldwarning("[src] convulses as [user]'s arm enters its radius.  Uh-oh..."),
  					span_boldwarning("[src] convulses as your arm enters its radius.  Your instincts tell you to step back."))
  				make_activator(user)
  				if(boosted)
  					mychild.playsound_local(get_turf(mychild), 'sound/effects/magic.ogg', 40, 0)
  					to_chat(mychild, "<b>Someone has activated your tumor.  You will be returned to fight shortly, get ready!</b>")
  				addtimer(CALLBACK(src, .proc/return_elite), 30)
  				INVOKE_ASYNC(src, .proc/arena_checks)
  			if(TUMOR_INACTIVE)
  				if(HAS_TRAIT(user, TRAIT_ELITE_CHALLENGER))
  					user.visible_message(span_warning("[user] reaches for [src] with [user.p_their()] arm, but nothing happens."),
  						span_warning("You reach for [src] with your arm... but nothing happens."))
  					return
  				activity = TUMOR_ACTIVE
  				var/mob/dead/observer/elitemind = null
  				visible_message(span_boldwarning("[src] begins to convulse.  Your instincts tell you to step back."))
  				make_activator(user)
  				if(!boosted)
  					addtimer(CALLBACK(src, .proc/spawn_elite), 30)
  					return
  				visible_message(span_boldwarning("Something within [src] stirs..."))
  				var/list/candidates = poll_candidates_for_mob("Do you want to play as a lavaland elite?", ROLE_SENTIENCE, ROLE_SENTIENCE, 5 SECONDS, src, POLL_IGNORE_SENTIENCE_POTION)
  				if(candidates.len)
  					audible_message(span_boldwarning("The stirring sounds increase in volume!"))
  					elitemind = pick(candidates)
  					elitemind.playsound_local(get_turf(elitemind), 'sound/effects/magic.ogg', 40, 0)
  					to_chat(elitemind, "<b>You have been chosen to play as a Lavaland Elite.\nIn a few seconds, you will be summoned on Lavaland as a monster to fight your activator, in a fight to the death.\nYour attacks can be switched using the buttons on the top left of the HUD, and used by clicking on targets or tiles similar to a gun.\nWhile the opponent might have an upper hand with  powerful mining equipment and tools, you have great power normally limited by AI mobs.\nIf you want to win, you'll have to use your powers in creative ways to ensure the kill.  It's suggested you try using them all as soon as possible.\nShould you win, you'll receive extra information regarding what to do after.  Good luck!</b>")
  					addtimer(CALLBACK(src, .proc/spawn_elite, elitemind), 100)
  				else
  					visible_message(span_boldwarning("The stirring stops, and nothing emerges.  Perhaps try again later."))
  					activity = TUMOR_INACTIVE
  					clear_activator(user)
  
  /obj/structure/elite_tumor/proc/spawn_elite(mob/dead/observer/elitemind)
  	var/selectedspawn = pick(potentialspawns)
  
negative.code: 	UnregisterSignal(source, COMSIG_PARENT_QDELETING)
  
  /obj/structure/elite_tumor/process(delta_time)
  	if(!isturf(loc))
  		return
  
  	for(var/mob/living/simple_animal/hostile/asteroid/elite/elitehere in loc)
  		if(elitehere == mychild && activity == TUMOR_PASSIVE)
  			mychild.adjustHealth(-mychild.maxHealth * 0.025*delta_time)
  			var/obj/effect/temp_visual/heal/H = new /obj/effect/temp_visual/heal(get_turf(mychild))
  			H.color = "#FF0000"
  
  /obj/structure/elite_tumor/attackby(obj/item/attacking_item, mob/user, params)
  	. = ..()
  	if(istype(attacking_item, /obj/item/organ/regenerative_core) && activity == TUMOR_INACTIVE && !boosted)
  		var/obj/item/organ/regenerative_core/core = attacking_item
  		visible_message(span_boldwarning("As [user] drops the core into [src], [src] appears to swell."))
  		icon_state = "advanced_tumor"
  		boosted = TRUE
  