|
1 | | -/datum/round_event_control/minispasm |
2 | | - name = "Minispasms" |
3 | | - typepath = /datum/round_event/minispasm |
4 | | - weight = 8 |
5 | | - max_occurrences = 1 |
6 | | - earliest_start = 30 MINUTES |
| 1 | +// /datum/round_event_control/minispasm |
| 2 | +// name = "Minispasms" |
| 3 | +// typepath = /datum/round_event/minispasm |
| 4 | +// weight = 8 |
| 5 | +// max_occurrences = 1 |
| 6 | +// earliest_start = 30 MINUTES |
7 | 7 |
|
8 | | -/datum/round_event/minispasm |
9 | | - startWhen = 60 |
10 | | - endWhen = 90 |
11 | | - var/static/list/psi_operancy_messages = list( |
12 | | - "There's something in your skull!", |
13 | | - "Something is eating your thoughts!", |
14 | | - "You can feel your brain being rewritten!", |
15 | | - "Something is crawling over your frontal lobe!", |
16 | | - "<b>THE SIGNAL THE SIGNAL THE SIGNAL THE SIGNAL THE</b>", |
17 | | - "Something is drilling through your skull!", |
18 | | - "Your head feels like it's going to implode!", |
19 | | - "Thousands of ants are tunneling in your head!" |
20 | | - ) |
| 8 | +// /datum/round_event/minispasm |
| 9 | +// startWhen = 60 |
| 10 | +// endWhen = 90 |
| 11 | +// var/static/list/psi_operancy_messages = list( |
| 12 | +// "There's something in your skull!", |
| 13 | +// "Something is eating your thoughts!", |
| 14 | +// "You can feel your brain being rewritten!", |
| 15 | +// "Something is crawling over your frontal lobe!", |
| 16 | +// "<b>THE SIGNAL THE SIGNAL THE SIGNAL THE SIGNAL THE</b>", |
| 17 | +// "Something is drilling through your skull!", |
| 18 | +// "Your head feels like it's going to implode!", |
| 19 | +// "Thousands of ants are tunneling in your head!" |
| 20 | +// ) |
21 | 21 |
|
22 | | -/datum/round_event/minispasm/announce() |
23 | | - priority_announce( \ |
24 | | - "PRIORITY ALERT: SIGMA-[rand(50,80)] NON-STANDARD PSIONIC SIGNAL-WAVE TRANSMISSION DETECTED - 97% MATCH, NON-VARIANT \ |
25 | | - SIGNAL SOURCE TRIANGULATED TO DISTANT SITE: All personnel are advised to avoid \ |
26 | | - exposure to active audio transmission equipment including radio headsets and intercoms \ |
27 | | - for the duration of the signal broadcast.", |
28 | | - "Central Command Higher Dimensional Affairs") |
| 22 | +// /datum/round_event/minispasm/announce() |
| 23 | +// priority_announce( \ |
| 24 | +// "PRIORITY ALERT: SIGMA-[rand(50,80)] NON-STANDARD PSIONIC SIGNAL-WAVE TRANSMISSION DETECTED - 97% MATCH, NON-VARIANT \ |
| 25 | +// SIGNAL SOURCE TRIANGULATED TO DISTANT SITE: All personnel are advised to avoid \ |
| 26 | +// exposure to active audio transmission equipment including radio headsets and intercoms \ |
| 27 | +// for the duration of the signal broadcast.", |
| 28 | +// "Central Command Higher Dimensional Affairs") |
29 | 29 |
|
30 | | -/datum/round_event/minispasm/start() |
31 | | - var/list/victims = list() |
32 | | - for(var/obj/item/radio/radio in world) |
33 | | - if(radio.on) |
34 | | - for(var/mob/living/victim in range(radio.canhear_range, radio.loc)) |
35 | | - if(!isnull(victims[victim]) || victim.stat != CONSCIOUS || HAS_TRAIT(victim, TRAIT_DEAF)) |
36 | | - continue |
37 | | - victims[victim] = radio |
38 | | - for(var/thing in victims) |
39 | | - var/mob/living/victim = thing |
40 | | - var/obj/item/radio/source = victims[victim] |
41 | | - INVOKE_ASYNC(src, PROC_REF(do_spasm), victim, source) |
| 30 | +// /datum/round_event/minispasm/start() |
| 31 | +// var/list/victims = list() |
| 32 | +// for(var/obj/item/radio/radio in world) |
| 33 | +// if(radio.on) |
| 34 | +// for(var/mob/living/victim in range(radio.canhear_range, radio.loc)) |
| 35 | +// if(!isnull(victims[victim]) || victim.stat != CONSCIOUS || HAS_TRAIT(victim, TRAIT_DEAF)) |
| 36 | +// continue |
| 37 | +// victims[victim] = radio |
| 38 | +// for(var/thing in victims) |
| 39 | +// var/mob/living/victim = thing |
| 40 | +// var/obj/item/radio/source = victims[victim] |
| 41 | +// INVOKE_ASYNC(src, PROC_REF(do_spasm), victim, source) |
42 | 42 |
|
43 | | -/datum/round_event/minispasm/proc/do_spasm(mob/living/victim, obj/item/radio/source) |
44 | | - if(HAS_TRAIT(src, TRAIT_PSIONICALLY_DEAFENED) || HAS_TRAIT(src, TRAIT_PSIONICALLY_IMMUNE)) |
45 | | - return |
46 | | - if(!victim.mind) |
47 | | - return |
48 | | - if(victim.psi) |
49 | | - playsound(source, 'sound/creatures/narsie_rises.ogg', 75) //LOUD AS FUCK BOY |
50 | | - to_chat(victim, span_danger("A hauntingly familiar sound hisses from \icon[source] \the [source], and your vision flickers!")) |
51 | | - victim.psi.backblast(rand(5,15)) |
52 | | - victim.Paralyze(0.5 SECONDS) |
53 | | - victim.adjust_jitter(10 SECONDS) |
54 | | - else |
55 | | - victim.visible_message(span_danger("[victim] starts having a seizure!"), span_userdanger("An indescribable, brain-tearing sound hisses from \icon[source] \the [source], and you collapse in a seizure!")) |
56 | | - victim.Unconscious(20 SECONDS) |
57 | | - victim.adjust_jitter(1 SECONDS) |
58 | | - SEND_SIGNAL(victim, COMSIG_ADD_MOOD_EVENT, "minispasm", /datum/mood_event/epilepsy) |
59 | | - var/new_latencies = rand(1,2) |
60 | | - var/list/faculties = list(PSI_COERCION, PSI_REDACTION, PSI_ENERGISTICS, PSI_PSYCHOKINESIS) |
61 | | - for(var/i = 1 to new_latencies) |
62 | | - to_chat(victim, span_danger("<font size = 3>[pick(psi_operancy_messages)]</font>")) |
63 | | - victim.adjustOrganLoss(ORGAN_SLOT_BRAIN, rand(10,20)) |
64 | | - victim.set_psi_rank(pick_n_take(faculties), PSI_RANK_LATENT) |
65 | | - sleep(30) |
66 | | - victim.psi.update() |
67 | | - sleep(4.5 SECONDS) |
68 | | - victim.psi.check_latency_trigger(100, "a psionic scream") |
| 43 | +// /datum/round_event/minispasm/proc/do_spasm(mob/living/victim, obj/item/radio/source) |
| 44 | +// if(HAS_TRAIT(src, TRAIT_PSIONICALLY_DEAFENED) || HAS_TRAIT(src, TRAIT_PSIONICALLY_IMMUNE)) |
| 45 | +// return |
| 46 | +// if(!victim.mind) |
| 47 | +// return |
| 48 | +// if(victim.psi) |
| 49 | +// playsound(source, 'sound/creatures/narsie_rises.ogg', 75) //LOUD AS FUCK BOY |
| 50 | +// to_chat(victim, span_danger("A hauntingly familiar sound hisses from \icon[source] \the [source], and your vision flickers!")) |
| 51 | +// victim.psi.backblast(rand(5,15)) |
| 52 | +// victim.Paralyze(0.5 SECONDS) |
| 53 | +// victim.adjust_jitter(10 SECONDS) |
| 54 | +// else |
| 55 | +// victim.visible_message(span_danger("[victim] starts having a seizure!"), span_userdanger("An indescribable, brain-tearing sound hisses from \icon[source] \the [source], and you collapse in a seizure!")) |
| 56 | +// victim.Unconscious(20 SECONDS) |
| 57 | +// victim.adjust_jitter(1 SECONDS) |
| 58 | +// SEND_SIGNAL(victim, COMSIG_ADD_MOOD_EVENT, "minispasm", /datum/mood_event/epilepsy) |
| 59 | +// var/new_latencies = rand(1,2) |
| 60 | +// var/list/faculties = list(PSI_COERCION, PSI_REDACTION, PSI_ENERGISTICS, PSI_PSYCHOKINESIS) |
| 61 | +// for(var/i = 1 to new_latencies) |
| 62 | +// to_chat(victim, span_danger("<font size = 3>[pick(psi_operancy_messages)]</font>")) |
| 63 | +// victim.adjustOrganLoss(ORGAN_SLOT_BRAIN, rand(10,20)) |
| 64 | +// victim.set_psi_rank(pick_n_take(faculties), PSI_RANK_LATENT) |
| 65 | +// sleep(30) |
| 66 | +// victim.psi.update() |
| 67 | +// sleep(4.5 SECONDS) |
| 68 | +// victim.psi.check_latency_trigger(100, "a psionic scream") |
69 | 69 |
|
70 | | -/datum/round_event/minispasm/end() |
71 | | - priority_announce( \ |
72 | | - "PRIORITY ALERT: SIGNAL BROADCAST HAS CEASED. Personnel are cleared to resume use of non-hardened radio transmission equipment. Have a nice day.", |
73 | | - "Central Command Higher Dimensional Affairs") |
| 70 | +// /datum/round_event/minispasm/end() |
| 71 | +// priority_announce( \ |
| 72 | +// "PRIORITY ALERT: SIGNAL BROADCAST HAS CEASED. Personnel are cleared to resume use of non-hardened radio transmission equipment. Have a nice day.", |
| 73 | +// "Central Command Higher Dimensional Affairs") |
0 commit comments