]> granicus.if.org Git - nethack/commitdiff
recharging
authorPatR <rankin@nethack.org>
Thu, 12 May 2022 05:11:42 +0000 (22:11 -0700)
committerPatR <rankin@nethack.org>
Thu, 12 May 2022 05:11:42 +0000 (22:11 -0700)
Make "recharging" and "scroll of recharging" be aliases for "scroll
of charging" when wishing.

I thought this had been put in place years ago.

src/objnam.c

index 27ff09ad8130220ece1146e4a2febd8b3ed4d7a4..5d28e29d19bc8cc97a61df278d8d35a671062d6a 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.7 objnam.c        $NHDT-Date: 1651868823 2022/05/06 20:27:03 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.360 $ */
+/* NetHack 3.7 objnam.c        $NHDT-Date: 1652332281 2022/05/12 05:11:21 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.361 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /*-Copyright (c) Robert Patrick Rankin, 2011. */
 /* NetHack may be freely redistributed.  See license for details. */
@@ -3047,6 +3047,8 @@ static const struct alt_spellings {
     { "gauntlets of giant strength", GAUNTLETS_OF_POWER },
     { "elven chain mail", ELVEN_MITHRIL_COAT },
     { "potion of sleep", POT_SLEEPING },
+    { "scroll of recharging", SCR_CHARGING },
+    { "recharging", SCR_CHARGING },
     { "stone", ROCK },
     { "camera", EXPENSIVE_CAMERA },
     { "tee shirt", T_SHIRT },