Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
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
4 changes: 3 additions & 1 deletion code/modules/mob/living/carbon/alien/humanoid/caste/drone.dm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
if(node.recent_queen_death)
to_chat(user, "<span class='danger'>Your thoughts are still too scattered to take up the position of leadership.</span>")
return 0

if(user.movement_type & (VENTCRAWLING))
to_chat(user, "<span class='danger'>You cannot evolve in a pipe.</span>")
return 0
if(!isturf(user.loc))
to_chat(user, "<span class='notice'>You can't evolve here!</span>")
return 0
Expand Down
8 changes: 8 additions & 0 deletions code/modules/mob/living/carbon/alien/larva/powers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
to_chat(user, "<span class='danger'>You cannot evolve when you are cuffed.</span>")
return

if(L.movement_type & (VENTCRAWLING))
to_chat(user, "<span class='danger'>You cannot evolve in a pipe.</span>")
return

if(L.amount_grown >= L.max_grown) //TODO ~Carn
to_chat(L, "<span class='name'>You are growing into a beautiful alien! It is time to choose a caste.</span>")
to_chat(L, "<span class='info'>There are three to choose from:</span>")
Expand All @@ -47,6 +51,10 @@
if(user.incapacitated()) //something happened to us while we were choosing.
return

if(L.movement_type & (VENTCRAWLING))
to_chat(user, "<span class='danger'>You cannot evolve in a pipe.</span>")
return

var/mob/living/carbon/alien/humanoid/new_xeno
switch(alien_caste)
if("Hunter")
Expand Down