mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 16:42:13 +00:00
changes:
rscadd: "Ported a new chat system, Goonchat, that allows for cool things like changing font style, size, spacing, highlighting up to 5 strings in the chat, and DARK MODE."
rscadd: "Repeated chat messages can now get compacted. You can disable this in goonchat settings."
rscadd: "You can change icon style to any font on your system."
tweak: "The game window has been altered a bit to adjust for this."
rscdel: "Removed skin style prefs as they are no longer used."
66 lines
2.9 KiB
Plaintext
66 lines
2.9 KiB
Plaintext
/datum/event/minispasm
|
|
startWhen = 60
|
|
endWhen = 90
|
|
var/static/list/psi_operancy_messages = list(
|
|
"There's something in your skull!",
|
|
"Something is eating your thoughts!",
|
|
"You can feel your brain being rewritten!",
|
|
"Something is crawling over your frontal lobe!",
|
|
"<b>THE SIGNAL THE SIGNAL THE SIGNAL THE SIGNAL THE</b>",
|
|
"Something is drilling through your skull!",
|
|
"Your head feels like it's going to implode!",
|
|
"Thousands of ants are tunneling in your head!"
|
|
)
|
|
|
|
/datum/event/minispasm/announce()
|
|
command_announcement.Announce( \
|
|
"PRIORITY ALERT: SIGMA-[rand(50,80)] NON-STANDARD PSIONIC SIGNAL-WAVE TRANSMISSION DETECTED - 97% MATCH, NON-VARIANT \
|
|
SIGNAL SOURCE TRIANGULATED TO DISTANT SITE: All personnel are advised to avoid \
|
|
exposure to active audio transmission equipment including radio headsets and intercoms \
|
|
for the duration of the signal broadcast.", \
|
|
"Jargon Federation Observation Probe TC-203 Sensor Array", new_sound = 'sound/misc/announcements/security_level_old.ogg')
|
|
|
|
/datum/event/minispasm/start()
|
|
var/list/victims = list()
|
|
for(var/obj/item/device/radio/radio in listening_objects)
|
|
if(radio.on)
|
|
for(var/mob/living/victim in range(radio.canhear_range, radio.loc))
|
|
if(isnull(victims[victim]) && victim.stat == CONSCIOUS && !isdeaf(victim))
|
|
victims[victim] = radio
|
|
for(var/thing in victims)
|
|
var/mob/living/victim = thing
|
|
var/obj/item/device/radio/source = victims[victim]
|
|
do_spasm(victim, source)
|
|
|
|
/datum/event/minispasm/proc/do_spasm(var/mob/living/victim, var/obj/item/device/radio/source)
|
|
set waitfor = 0
|
|
playsound(source, 'sound/effects/narsie.ogg', 75) //LOUD AS FUCK BOY
|
|
|
|
if(!ishuman(victim))
|
|
to_chat(victim, "<span class='notice'>An annoying buzz passes through your head.</span>")
|
|
return
|
|
|
|
if(victim.psi)
|
|
to_chat(victim, SPAN_DANGER("A hauntingly familiar sound hisses from [icon2html(source, victim)] \the [source], and your vision flickers!"))
|
|
victim.psi.backblast(rand(5,15))
|
|
victim.Paralyse(5)
|
|
victim.make_jittery(100)
|
|
else
|
|
to_chat(victim, SPAN_DANGER("An indescribable, brain-tearing sound hisses from [icon2html(source, victim)] \the [source], and you collapse in a seizure!"))
|
|
victim.seizure()
|
|
var/new_latencies = rand(2,4)
|
|
var/list/faculties = list(PSI_COERCION, PSI_REDACTION, PSI_ENERGISTICS, PSI_PSYCHOKINESIS)
|
|
for(var/i = 1 to new_latencies)
|
|
to_chat(victim, SPAN_DANGER("<font size = 3>[pick(psi_operancy_messages)]</font>"))
|
|
victim.adjustBrainLoss(rand(10,20))
|
|
victim.set_psi_rank(pick_n_take(faculties), 1)
|
|
sleep(30)
|
|
victim.psi.update()
|
|
sleep(45)
|
|
victim.psi.check_latency_trigger(100, "a psionic scream", redactive = TRUE)
|
|
|
|
/datum/event/minispasm/end()
|
|
command_announcement.Announce( \
|
|
"PRIORITY ALERT: SIGNAL BROADCAST HAS CEASED. Personnel are cleared to resume use of non-hardened radio transmission equipment. Have a nice day.", \
|
|
"Jargon Federation Observation Probe TC-203 Sensor Array", new_sound = 'sound/misc/announcements/nightlight_old.ogg')
|