Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Aug 11, 2023
1 parent c9f6d6c commit fcb651f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions code/game/gamemodes/cm_process.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ of predators), but can be added to include variant game modes (like humans vs. h
if(LAZYLEN(xenomorphs) || LAZYLEN(dead_queens))
var/dat = "<br>"
dat += SPAN_ROUNDBODY("<br>The xenomorph Queen(s) were:")
var/mob/M
var/mob/living/carbon/xenomorph/xeno_mob
for (var/msg in dead_queens)
dat += msg
for(var/datum/mind/X in xenomorphs)
if(!istype(X))
for(var/datum/mind/xeno_mind in xenomorphs)
if(!istype(xeno_mind))
continue

M = X.current
if(!M || !M.loc)
M = X.original
if(M && M.loc && isqueen(M) && M.stat != DEAD) // Dead queens handled separately
dat += "<br>[X.key] was [M] [SPAN_BOLDNOTICE("(SURVIVED)")]"
xeno_mob = xeno_mind.current
if(!xeno_mob || !xeno_mob.loc)
xeno_mob = xeno_mind.original
if(xeno_mob && xeno_mob.loc && isqueen(xeno_mob) && xeno_mob.stat != DEAD) // Dead queens handled separately
dat += "<br>[xeno_mob.full_designation] was [xeno_mob] [SPAN_BOLDNOTICE("(SURVIVED)")]"

to_world("[dat]")

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/xenomorph/death.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
hive.handle_xeno_leader_pheromones()
if(SSticker.mode)
INVOKE_ASYNC(SSticker.mode, TYPE_PROC_REF(/datum/game_mode, check_queen_status), hivenumber)
LAZYADD(SSticker.mode.dead_queens, "<br>[!isnull(src.key) ? src.key : "?"] was [src] [SPAN_BOLDNOTICE("(DIED)")]")
LAZYADD(SSticker.mode.dead_queens, "<br>[!isnull(full_designation) ? full_designation : "?"] was [src] [SPAN_BOLDNOTICE("(DIED)")]")

else if(ispredalien(src))
playsound(loc,'sound/voice/predalien_death.ogg', 25, TRUE)
Expand Down

0 comments on commit fcb651f

Please sign in to comment.