]> granicus.if.org Git - nethack/commitdiff
transformation message when you apply a figurine
authornhmall <nhmall@nethack.org>
Sun, 2 Sep 2018 22:20:40 +0000 (18:20 -0400)
committernhmall <nhmall@nethack.org>
Sun, 2 Sep 2018 22:20:40 +0000 (18:20 -0400)
make the transformation message of a deliberate apply of a figurine seem
a bit less definite when blind. Put 'I' unseen monster marker at the spot
you expect it to be.

doc/fixes36.2
src/apply.c

index fbf1544bae8220dca75368627c56a6cf56db8662..66171870bb1ae5da16633d6af7c3bb8ddd124cba 100644 (file)
@@ -104,6 +104,9 @@ wizard mode ^I^I didn't make temporary identifications become persistent if
        the build configuration makes plain 'char' unsigned
 wizard mode #wizidentify didn't disclose extra information for unID'd items if
        key bindings took away ^I and didn't bind #wizidentify to another key
+make transformation message of a deliberate apply of a figurine seem a bit 
+       less definite when blind and place unseen monster marker at the spot
+       you think it should be
 
 
 Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository
index d7b770f4dc3ccb05a893a80daa6af728a0e47546..07269a358bd216ccd6177305eeb67485b66b8d76 100644 (file)
@@ -2236,16 +2236,19 @@ struct obj **optr;
     /* Passing FALSE arg here will result in messages displayed */
     if (!figurine_location_checks(obj, &cc, FALSE))
         return;
-    You("%s and it transforms.",
+    You("%s and it %stransforms.",
         (u.dx || u.dy) ? "set the figurine beside you"
                        : (Is_airlevel(&u.uz) || Is_waterlevel(&u.uz)
                           || is_pool(cc.x, cc.y))
                              ? "release the figurine"
                              : (u.dz < 0 ? "toss the figurine into the air"
-                                         : "set the figurine on the ground"));
+                                         : "set the figurine on the ground"),
+        Blind ? "supposedly " : "");
     (void) make_familiar(obj, cc.x, cc.y, FALSE);
     (void) stop_timer(FIG_TRANSFORM, obj_to_any(obj));
     useup(obj);
+    if (Blind)
+        map_invisible(cc.x, cc.y);
     *optr = 0;
 }