Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smurfing Queens #4166

Merged
merged 1 commit into from
Aug 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading