Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 83e7da7

Browse files
a
1 parent 2736f11 commit 83e7da7

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

code/modules/antagonists/blob/overmind.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ GLOBAL_LIST_EMPTY(blob_nodes)
141141
has_announced = TRUE
142142
SSshuttle.registerHostileEnvironment(src)
143143
else if(!check_containment(blob_core, 5) && !contained && !has_announced)
144-
priority_announce("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert", 'sound/ai/default/outbreak5.ogg', color_override="yellow")
144+
priority_announce("Confirmed outbreak of level 5 biohazard aboard [station_name()]. All personnel must contain the outbreak.", "Biohazard Alert", 'sound/ai/default/outbreak5.ogg', color_override="red")
145145
has_announced = TRUE
146146

147147
/mob/camera/blob/proc/victory()

code/modules/events/portal_storm.dm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
A.visible_message(span_userdanger("[A] overloads and makes a huge arc!"))
206206
tesla_zap(A, 5, 10000) // woe
207207
message_centcom("Alert, a large scale of abnormal activity has been detected on [station_name()]. Investigate and send the special forces to the station immediately.", "Central Command Higher Dimensional Affairs")
208-
priority_announce("Unknown anomalous portals detected on a large scale of the station. There is no additional data.", "Central Command Higher Dimensional Affairs", ANNOUNCER_SPANOMALIES)
208+
priority_announce("Unknown anomalous portals detected on a large scale of the station. There is no additional data.", "Central Command Higher Dimensional Affairs", ANNOUNCER_SPANOMALIES, color_override="red")
209209
addtimer(CALLBACK(src, PROC_REF(call_shuttle)), 4 SECONDS) //Wait till the annoucement finishes till the the next one so the sounds dont overlap each other
210210

211211
/datum/round_event/portal_storm/resonance_cascade/proc/call_shuttle()
@@ -216,11 +216,10 @@
216216
return
217217
priority_announce("Attention all personnel, this is an emergency announcement on [station_name()]. \
218218
An evacuation is immediately underway due to abnormal hostile activity detected on the premises. \
219-
A distress signal has been sent to Central Command to alert them of the situation. In addition to that, \
220-
we have observed a substantial number of meteors approaching the station on a large scale. \
219+
A distress signal has been sent to Central Command to alert them of the situation. \
221220
Please remain calm and follow the evacuation procedures provided. \
222221
Proceed to the designated evacuation points swiftly and orderly. To ensure your safety, \
223-
please avoid areas with abnormal activity and refrain from going outside the station to minimize the risk of collisions with meteors. \
222+
please avoid areas with abnormal activity. \
224223
Security personnel are present to assist and ensure your safety. \
225224
Cooperate with their instructions and refrain from engaging with any hostiles. \
226225
Central Command is actively responding and coordinating a comprehensive emergency response. \
@@ -229,6 +228,7 @@
229228
Assistance is on the way.",
230229
title = "Central Command Higher Dimensional Affairs",
231230
sound = 'sound/misc/airraid.ogg',
231+
color_override="red",
232232
)
233233

234234
/datum/round_event/portal_storm/resonance_cascade/tick()

code/modules/power/supermatter/supermatter.dm

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
164164
var/noblium_suppressed = FALSE // or is it?
165165
var/bypass_containment = FALSE // If support_integrity is below 30, setting up a containment field at this point is useless
166166
var/debug_inhibitor = FALSE
167+
167168
// Blob related shit
168169
var/supermatter_blob = FALSE // Well say sike rn
169170

@@ -437,7 +438,7 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
437438
priority_announce("RESONANCE CASCADE IMMINENT.", "Anomaly Alert", 'sound/misc/notice1.ogg', color_override="yellow")
438439
resonance_cascading = TRUE
439440
sound_to_playing_players('sound/magic/lightning_chargeup.ogg', 50, FALSE) // yogs end
440-
add_overlay(mutable_appearance("icons/obj/tesla_engine/energy_ball.dmi", "smenergy_ball", LIGHTING_PRIMARY_LAYER))
441+
add_overlay(mutable_appearance('icons/obj/tesla_engine/energy_ball.dmi', "smenergy_ball", /obj/singularity/energy_ball, LIGHTING_PRIMARY_LAYER, MASSIVE_OBJ_PLANE))
441442
if(supermatter_blob)
442443
if(!check_containment(src, 5))
443444
priority_announce("LEVEL 5 BIOHAZARD OUTBREAK IMMINENT.", "Anomaly Alert", 'sound/misc/notice1.ogg', color_override="yellow")
@@ -603,8 +604,9 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
603604
else
604605
powerloss_dynamic_scaling = clamp(powerloss_dynamic_scaling - 0.05,0, 1)
605606

606-
if((support_integrity >= 20 && (!supermatter_blob || check_containment(src, 5))) || !debug_inhibitor)
607-
powerloss_inhibitor = clamp(1-(powerloss_dynamic_scaling * clamp(combined_gas/POWERLOSS_INHIBITION_MOLE_BOOST_THRESHOLD,1 ,1.5)),0 ,1)
607+
if(!debug_inhibitor)
608+
if(support_integrity >= 20 && (!supermatter_blob || check_containment(src, 5)))
609+
powerloss_inhibitor = clamp(1-(powerloss_dynamic_scaling * clamp(combined_gas/POWERLOSS_INHIBITION_MOLE_BOOST_THRESHOLD,1 ,1.5)),0 ,1)
608610

609611
if(matter_power)
610612
var/removed_matter = max(matter_power/MATTER_POWER_CONVERSION, 40)
@@ -821,7 +823,8 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
821823
//blob SM HAMMM
822824
if(supermatter_blob)
823825
if(!check_containment(src, 5))
824-
powerloss_inhibitor = 0.01
826+
if(!debug_inhibitor)
827+
powerloss_inhibitor = 0.01
825828
power += 10000
826829
if(prob(2))
827830
empulse(src, 10, 5)
@@ -833,6 +836,9 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
833836
supermatter_zap(src, 5, power)
834837
for(var/i = 1 to 20)
835838
fire_nuclear_particle()
839+
else if(prob(30))
840+
for(var/obj/machinery/field/generator/gens in urange(5, src, 1))
841+
Beam(gens, icon_state = "lightning[rand(1,12)]", time = 5, maxdistance = INFINITY, beam_color="#bb0074")
836842
if(istype(T, /turf/open/space) || T.return_air().total_moles() < MOLE_SPACE_THRESHOLD)
837843
damage += DAMAGE_HARDCAP * explosion_point
838844

@@ -884,19 +890,17 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
884890
supermatter_zap(src, 7, 2000)
885891
antinoblium_safety()
886892
if(support_integrity<3)
887-
var/emp_power = round(explosion_power * (1+(1-(support_integrity/3))),1)
888-
empulse(src, emp_power)
893+
if(!antinoblium_safety())
894+
var/emp_power = round(explosion_power * (1+(1-(support_integrity/3))),1)
895+
empulse(src, emp_power)
889896
supermatter_zap(src, 7, 2000+power)
890-
antinoblium_safety()
891897
if(support_integrity<100)
892898
power += round((100-support_integrity)/2,1)
893899
supermatter_zap(src, 7, 2000+power)
894-
antinoblium_safety()
895900
if(support_integrity<70)
896901
if(prob(30+round((100-support_integrity)/2,1)))
897902
playsound(src.loc, 'sound/weapons/emitter2.ogg', 100, 1, extrarange = 10)
898903
supermatter_zap(src, 7, 2000+min(power*2, 20000))
899-
antinoblium_safety()
900904
if(support_integrity<40)
901905
if(prob(10))
902906
T.hotspot_expose(max(((100-support_integrity)*2)+FIRE_MINIMUM_TEMPERATURE_TO_EXIST,T.return_air().return_temperature()), 100)
@@ -905,7 +909,6 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
905909
var/ballcount = round(10-(support_integrity/10), 1) // Cause more radballs to be spawned
906910
for(var/i = 1 to ballcount)
907911
fire_nuclear_particle()
908-
antinoblium_safety()
909912
supermatter_zap(src, 7, 2000+power)
910913
if(support_integrity<=20)
911914
if(!antinoblium_safety())
@@ -918,7 +921,6 @@ GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/power/supermatter_crystal)
918921
if(prob(2))
919922
empulse(src, 10-support_integrity) //EMPs must always be spewing every so often to ensure that containment is guaranteed to fail.
920923
if(prob(30))
921-
antinoblium_safety()
922924
supermatter_zap(src, 7, 2000+power)
923925

924926
// I FUCKING LOVE DATA!!!!!!

0 commit comments

Comments
 (0)