Skip to content

Commit

Permalink
stairs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Nov 28, 2023
1 parent 750591c commit 935bc09
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,13 @@
to_chat(X, SPAN_XENOWARNING("You can only shape on weeds. Find some resin before you start building!"))
return FALSE

// This snowflake check exists because stairs specifically are indestructable, tile-covering, and cannot be moved, which allows resin holes to be
// planted under them without any possible counterplay. In the future if resin holes stop being able to be hidden under objects, remove this check.
var/obj/structure/stairs/staircase = locate() in src
if(staircase)
to_chat(X, SPAN_XENOWARNING("You cannot make a hole beneath a staircase!"))
return FALSE

if(alien_weeds.linked_hive.hivenumber != X.hivenumber)
to_chat(X, SPAN_XENOWARNING("These weeds don't belong to your hive!"))
return FALSE
Expand Down

0 comments on commit 935bc09

Please sign in to comment.