Skip to content

Commit

Permalink
burst should have a notify
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Aug 29, 2023
1 parent 4c8b87b commit e110c48
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions code/modules/mob/living/carbon/xenomorph/Embryo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,8 @@
// Inform observers to grab some popcorn if it isnt nested
if(!HAS_TRAIT(affected_mob, TRAIT_NESTED))
var/area/burst_area = get_area(src)
if(burst_area)
for(var/mob/dead/observer/observer as anything in GLOB.observer_list)
to_chat(observer, SPAN_DEADSAY("A <b>[new_xeno.hive.prefix]Larva</b> is about to chestburst out of <b>[affected_mob]</b> at \the <b>[burst_area]!</b> [OBSERVER_JMP(observer, affected_mob)]"))
to_chat(src, SPAN_DEADSAY("A <b>[new_xeno.hive.prefix]Larva</b> is about to chestburst out of <b>[affected_mob]</b> at \the <b>[burst_area]!</b>"))
else
for(var/mob/dead/observer/observer as anything in GLOB.observer_list)
to_chat(observer, SPAN_DEADSAY("A <b>[new_xeno.hive.prefix]Larva</b> is about to chestburst out of <b>[affected_mob]!</b> [OBSERVER_JMP(observer, affected_mob)]"))
to_chat(src, SPAN_DEADSAY("A <b>[new_xeno.hive.prefix]Larva</b> is about to chestburst out of <b>[affected_mob]!</b>"))
var/area_text = burst_area ? " at <b>[burst_area]</b>" : ""
notify_ghosts(header = "Burst Imminent", message = "A <b>[new_xeno.hive.prefix]Larva</b> is about to chestburst out of <b>[affected_mob]</b>[area_text]!", source = affected_mob)

stage = 7 // Begin the autoburst countdown

Expand Down

0 comments on commit e110c48

Please sign in to comment.