[MIRROR] Shadekin and Xenochimera variable refactor (#10872)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-05-15 00:24:59 -07:00
committed by GitHub
parent 5b1679c8c7
commit c6b9ab647c
34 changed files with 848 additions and 762 deletions

View File

@@ -46,15 +46,14 @@
to_chat(L, span_danger("The more you move through this darkness, the more you can feel a throbbing, shooting ache in your bones."))
if(prob(5))
L.visible_message("[L]'s body gives off a faint, sparking, haze...", "Your body gives off a faint, sparking, haze...", runemessage = "gives off a faint, sparking haze")
else if(istype(L.species, /datum/species/shadekin))
var/obj/item/organ/internal/brain/shadekin/B = L.internal_organs_by_name["brain"]
B.dark_energy += 10
var/datum/component/shadekin/comp = L.GetComponent(/datum/component/shadekin)
if(comp)
comp.dark_energy += 10
if(prob(10))
to_chat(L, span_notice("You can feel the energy flowing into you!"))
else
if(prob(0.25))
to_chat(L, span_danger("The darkness seethes under your feet..."))
L.hallucination += 50
else if(prob(0.25))
to_chat(L, span_danger("The darkness seethes under your feet..."))
L.hallucination += 50
/obj/effect/dark/proc/light_check()
var/turf/T = get_turf(src)