Skip to content

Commit

Permalink
Disallows taking control of crit xenos (#4517)
Browse files Browse the repository at this point in the history
# About the pull request

Best case: You get to sit in crit and heal, then play.

Worst case: You're off-weeds and die slowly, losing your place in the
larva queue.

This removes the worst case, while still allowing the best case (Just
take control after they're out of crit.)

# Explain why it's good for the game


# Testing Photographs and Procedure



# Changelog


:cl:
qol: You can no longer doom yourself by joining as a crit xeno
/:cl:
  • Loading branch information
TheGamerdk authored Sep 27, 2023
1 parent 68fd669 commit f21e167
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/game/gamemodes/cm_initialize.dm
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ Additional game mode variables.
to_chat(xeno_candidate, SPAN_WARNING("You cannot join if the xenomorph is dead."))
return FALSE

if(new_xeno.stat == UNCONSCIOUS)
to_chat(xeno_candidate, SPAN_WARNING("You cannot join if the xenomorph is in critical condition or unconscious."))
return FALSE

if(!xeno_bypass_timer)
var/deathtime = world.time - xeno_candidate.timeofdeath
if(istype(xeno_candidate, /mob/new_player))
Expand Down

0 comments on commit f21e167

Please sign in to comment.