]> granicus.if.org Git - nethack/commitdiff
YAFM when sitting on a towel
authorPasi Kallinen <paxed@alt.org>
Fri, 7 Feb 2020 21:15:43 +0000 (23:15 +0200)
committerPasi Kallinen <paxed@alt.org>
Fri, 7 Feb 2020 21:16:23 +0000 (23:16 +0200)
(via xNetHack)

src/sit.c

index 29426632e78a7c5874b1874bf70219af2d358a01..19d5dbdfe84f6524f5fc810a361527d80eff915e 100644 (file)
--- a/src/sit.c
+++ b/src/sit.c
@@ -75,6 +75,8 @@ dosit()
             You("coil up around your %shoard.",
                 (obj->quan + money_cnt(g.invent) < u.ulevel * 1000) ? "meager "
                                                                   : "");
+        } else if (obj->otyp == TOWEL) {
+            pline("It's probably not a good time for a picnic...");
         } else {
             You("sit on %s.", the(xname(obj)));
             if (!(Is_box(obj) || objects[obj->otyp].oc_material == CLOTH))