]> granicus.if.org Git - nethack/commitdiff
callable venom
authorPatR <rankin@nethack.org>
Sat, 19 Dec 2020 02:04:34 +0000 (18:04 -0800)
committerPatR <rankin@nethack.org>
Sat, 19 Dec 2020 02:04:34 +0000 (18:04 -0800)
Allow the two venoms to be given type names.  Only matters if
player manages to get either of them into inventory.

src/do_name.c

index 8484419b49379f1e77a42ab1c92b4d48b0085142..7a053186fb0d33a83770950adb1f6d31815c1212 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.7 do_name.c       $NHDT-Date: 1606504240 2020/11/27 19:10:40 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.184 $ */
+/* NetHack 3.7 do_name.c       $NHDT-Date: 1608343467 2020/12/19 02:04:27 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.185 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /*-Copyright (c) Pasi Kallinen, 2018. */
 /* NetHack may be freely redistributed.  See license for details. */
@@ -1335,7 +1335,7 @@ const char *name;
 
 static NEARDATA const char callable[] = {
     SCROLL_CLASS, POTION_CLASS, WAND_CLASS,  RING_CLASS, AMULET_CLASS,
-    GEM_CLASS,    SPBOOK_CLASS, ARMOR_CLASS, TOOL_CLASS, 0
+    GEM_CLASS,    SPBOOK_CLASS, ARMOR_CLASS, TOOL_CLASS, VENOM_CLASS, 0
 };
 
 boolean