From: PatR <rankin@nethack.org>
Date: Mon, 28 Aug 2017 22:56:16 +0000 (-0700)
Subject: rogue starting invent: +9 lock pick
X-Git-Tag: NetHack-3.6.1_RC01~412^2~9
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06d211f75c76a69dcb29e5c5a7c2c10f63cc7d4d;p=nethack

rogue starting invent: +9 lock pick

Reported directly to devteam, the starting inventory for rogue chars
specified that their lock pick be +9, but the 'spe' enchantment field
is meaningless for that type of item.  A followup report indicated that
it had been this way since at least the 3.0 era.

It might have been a typo, since 9 and 0 are next to each other.  Or
perhaps before lock picks were introduced, rogues started with a
skeleton key.  That assumes spe==9 meant skeleton key back in the days
when each key and lock had a designated shape and a non-skeleton key
had to match the lock's shape to work.  I don't know whether that was
how skeleton keys were flagged and don't care eough to delve deeper....
---

diff --git a/doc/fixes36.1 b/doc/fixes36.1
index 6b25341be..487588a24 100644
--- a/doc/fixes36.1
+++ b/doc/fixes36.1
@@ -417,8 +417,8 @@ the "bonesid" written into bones files when they're created so that they can
 surviving a gas spore's explosion would leave that explosion as a stale reason
 	for death which might show up strangely ("crushed to death by a gas
 	spore's explosion" when killed by an opening drawbridge)
-blessed scroll of fire lets you choose explosion location like stinking cloud
 add database entry for "martial arts"
+starting inventory for rogues specified +9 lock pick, where +/-N is meaningless
 
 
 Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
@@ -625,6 +625,7 @@ blinded hero or monster who breathes vapor from broken potion of healing,
 	extra healing, or full healing might have blindness cured (depends on
 	potion: full == always; extra == if not-cursed; plain == if blessed)
 sysconf definition BONES_POOLS to allow more bones files per level
+blessed scroll of fire lets you choose explosion location like stinking cloud
 
 
 Platform- and/or Interface-Specific New Features
diff --git a/src/u_init.c b/src/u_init.c
index 3dadf09d0..447d16d16 100644
--- a/src/u_init.c
+++ b/src/u_init.c
@@ -1,4 +1,4 @@
-/* NetHack 3.6	u_init.c	$NHDT-Date: 1454660565 2016/02/05 08:22:45 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.37 $ */
+/* NetHack 3.6	u_init.c	$NHDT-Date: 1503960969 2017/08/28 22:56:09 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.40 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -124,7 +124,7 @@ static struct trobj Rogue[] = {
     { DAGGER, 0, WEAPON_CLASS, 10, 0 }, /* quan is variable */
     { LEATHER_ARMOR, 1, ARMOR_CLASS, 1, UNDEF_BLESS },
     { POT_SICKNESS, 0, POTION_CLASS, 1, 0 },
-    { LOCK_PICK, 9, TOOL_CLASS, 1, 0 },
+    { LOCK_PICK, 0, TOOL_CLASS, 1, 0 },
     { SACK, 0, TOOL_CLASS, 1, 0 },
     { 0, 0, 0, 0, 0 }
 };