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

Resin holes can no longer be made below stairs #5056

Merged
merged 1 commit into from
Nov 30, 2023
Merged
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
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
Loading