From 935bc09473b34c7b6d762b8285d5154ba47082d2 Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 27 Nov 2023 19:59:02 -0800 Subject: [PATCH] stairs --- .../living/carbon/xenomorph/abilities/general_powers.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm b/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm index 94c0110fc68f..74a46a30e9ba 100644 --- a/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm +++ b/code/modules/mob/living/carbon/xenomorph/abilities/general_powers.dm @@ -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