anchor.diff:  /obj/effect/rune/emp/invoke(mob/living/user)
   	visible_message("<span class='warning'>[src] glows blue for a moment before vanishing.</span>")
   	for(var/mob/living/carbon/C in orange(1,src))
  -		C << "<span class='warning'>You feel a minute vibration pass through you!</span>"
  +		C << "<span class='warning'>Your hair stands on end as a shockwave bursts from the rune!</span>"
   	playsound(get_turf(src), 'sound/items/Welder2.ogg', 25, 1)
  -	empulse(src, 4, 8) //A bit less than an EMP grenade
  -	qdel(src)
  -
  +	qdel(src) //delete before pulsing 
  +	empulse(src, 8, 12) //actually worth using over the talisman now
   
   //Rite of Astral Communion: Separates one's spirit from their body. They will take damage while it is active.
   /obj/effect/rune/astral
  
positive.code: 	visible_message("<span class='warning'>[src] crumbles to dust, and bloody images form themselves on [paper_to_imbue].</span>")
  	qdel(paper_to_imbue)
  	qdel(src)
  //Rite of Fabrication: Creates a construct shell out of 5 metal sheets.
  /obj/effect/rune/construct_shell
  	cultist_name = "Summon Construct Shell"
  	cultist_desc = "Turns five plasteel sheets into an empty construct shell, suitable for containing a soul shard."
  	invocation = null //see below; doesn't say the invocation unless there's enough sheets.
  	icon_state = "5"
  	color = rgb(150, 150, 150)
  
  /obj/effect/rune/construct_shell/invoke(mob/living/user)
  	var/turf/T = get_turf(src)
  	for(var/obj/item/stack/sheet/S in T)
  		if(istype(S, /obj/item/stack/sheet/plasteel))
  			var/obj/item/stack/sheet/plasteel/M = S
  			if(M.amount >= 5)
  				user.say("Ethra p'ni dedol!")
  				new /obj/structure/constructshell(T)
  				M.visible_message("<span class='warning'>[M] bends and twists into a humanoid shell!</span>")
  				M.amount -= 5
  				if(M.amount <= 0)
  					qdel(M)
  				qdel(src)
  				return
  			else
  				user << "<span class='cultitalic'>There must be at least five sheets of plasteel on [src]!</span>"
  				fail_invoke()
  				log_game("Construct Shell rune failed - not enough plasteel sheets")
  				return
  
  /*
  //Rite of Arming: Creates cult robes, a trophy rack, and a cult sword on the rune.
  /obj/effect/rune/armor
  	cultist_name = "Summon Armaments"
  	cultist_desc = "Equips the user with robes, shoes, a backpack, and a longsword. Items that cannot be equipped will not be summoned."
  	invocation = "N'ath reth sh'yro eth draggathnor!"
  	icon_state = "4"
  	color = rgb(255, 0, 0)
  
  /obj/effect/rune/armor/invoke(mob/living/user)
  	visible_message("<span class='warning'>With the sound of clanging metal, [src] crumbles to dust!</span>")
  	user.equip_to_slot_or_del(new /obj/item/clothing/head/culthood/alt(user), slot_head)
  	user.equip_to_slot_or_del(new /obj/item/clothing/suit/cultrobes/alt(user), slot_wear_suit)
  	user.equip_to_slot_or_del(new /obj/item/clothing/shoes/cult/alt(user), slot_shoes)
  	user.equip_to_slot_or_del(new /obj/item/weapon/storage/backpack/cultpack(user), slot_back)
  	user.put_in_hands(new /obj/item/weapon/melee/cultblade(user))
  	qdel(src)
  */
  
  /*Rite of Leeching: Deals brute damage to the target and heals the same amount to the invoker.
  /obj/effect/rune/leeching
  	cultist_name = "Drain Life"
  	cultist_desc = "Drains the life of the target on the rune, restoring it to the user."
  	invocation =  null //see below; doesn't say the invocation if it has no targets.
  	icon_state = "2"
  	color = rgb(255, 0, 0)
  
  /obj/effect/rune/leeching/invoke(mob/living/user)
  	var/turf/T = get_turf(src)
  	var/list/potential_targets = list()
  	for(var/mob/living/carbon/M in T)
  		if(M.stat != DEAD && M != user)
  			potential_targets.Add(M)
  	if(!potential_targets.len)
  		user << "<span class='cultitalic'>There must be a valid target on the rune!</span>"
  		fail_invoke()
  		log_game("Leeching rune failed - no valid targets")
  		return
  	var/mob/living/carbon/target = pick(potential_targets)
  	var/drained_amount = rand(5,25)
  	user.say("Yu'gular faras desdae. Umathar uf'kal thenar!")
  	target.apply_damage(drained_amount, BRUTE, "chest")
  	user.adjustBruteLoss(-drained_amount)
  	user.Beam(target,icon_state="drainbeam",icon='icons/effects/effects.dmi',time=3)
  	target << "<span class='cultitalic'>You feel extremely weak.</span>"
  	user.visible_message("<span class='warning'>Blood flows from the rune into [user]!</span>", \
  						 "<span class='cult'>[target]'s blood flows into you, healing your wounds and revitalizing your spirit.</span>")
  */
  
  //Rite of Boiling Blood: Deals extremely high amounts of damage to non-cultists nearby
  /obj/effect/rune/blood_boil
  
negative.code: 		var/mob/living/carbon/C = user
  		C.apply_damage(2, BRUTE, pick("l_arm", "r_arm"))
  
  
  //Rite of Joined Souls: Summons a single cultist.
  /obj/effect/rune/summon
  	cultist_name = "Summon Cultist"
  