]> granicus.if.org Git - nethack/commitdiff
Feedback on trying to pick up stairs or altar
authorPasi Kallinen <paxed@alt.org>
Mon, 5 Nov 2018 16:35:11 +0000 (18:35 +0200)
committerPasi Kallinen <paxed@alt.org>
Mon, 5 Nov 2018 16:35:20 +0000 (18:35 +0200)
src/hack.c

index 0593bd6838e46da9635f860a5b6932910491b899..592067fa59a7891da3956981796d48b5717017dd 100644 (file)
@@ -2534,6 +2534,10 @@ pickup_checks()
             You("could drink the %s...", hliquid("water"));
         else if (IS_DOOR(lev->typ) && (lev->doormask & D_ISOPEN))
             pline("It won't come off the hinges.");
+        else if (IS_ALTAR(lev->typ))
+            pline("Moving the altar would be a very bad idea.")
+        else if (lev->typ == STAIRS)
+            pline_The("stairs are solidly fixed to the ground.");
         else
             There("is nothing here to pick up.");
         return 0;