mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-30 12:13:02 +00:00
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
|
|
|
|
var/global/list/boo_phrases=list(
|
|
"You feel a chill run down your spine.",
|
|
"You think you see a figure in your peripheral vision.",
|
|
"What was that?",
|
|
"The hairs stand up on the back of your neck.",
|
|
"You are filled with a great sadness.",
|
|
"Something doesn't feel right...",
|
|
"You feel a presence in the room.",
|
|
"It feels like someone's standing behind you.",
|
|
)
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/boo
|
|
name = "Boo!"
|
|
desc = "Fuck with the living."
|
|
|
|
ghost = 1
|
|
|
|
school = "transmutation"
|
|
charge_max = 600
|
|
clothes_req = 0
|
|
stat_allowed = 1
|
|
invocation = ""
|
|
invocation_type = "none"
|
|
range = 1 // Or maybe 3?
|
|
|
|
/obj/effect/proc_holder/spell/aoe_turf/boo/cast(list/targets, mob/user = usr)
|
|
for(var/turf/T in targets)
|
|
for(var/atom/A in T.contents)
|
|
|
|
// Bug humans
|
|
if(ishuman(A))
|
|
var/mob/living/carbon/human/H = A
|
|
if(H && H.client)
|
|
to_chat(H, "<i>[pick(boo_phrases)]</i>")
|
|
|
|
// Flicker unblessed lights in range
|
|
if(istype(A,/obj/machinery/light))
|
|
var/obj/machinery/light/L = A
|
|
if(L)
|
|
L.flicker()
|
|
|
|
// OH GOD BLUE APC (single animation cycle)
|
|
if(istype(A, /obj/machinery/power/apc))
|
|
A:spookify()
|
|
|
|
if(istype(A, /obj/machinery/status_display))
|
|
A:spookymode=1
|
|
|
|
if(istype(A, /obj/machinery/ai_status_display))
|
|
A:spookymode=1 |