From: Pasi Kallinen Date: Sat, 14 Mar 2020 19:46:06 +0000 (+0200) Subject: Lock castle chest X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0e645a6504f59d55cdfecda142fb000408cfc38;p=nethack Lock castle chest Just to keep the wand in the chest. Even if the soldiers pick up the chest, they won't open it, and the wand is better protected. --- diff --git a/dat/castle.lua b/dat/castle.lua index e01323fa7..fa798f3f9 100644 --- a/dat/castle.lua +++ b/dat/castle.lua @@ -141,7 +141,7 @@ des.object(object[4],54,11) des.object(object[4],55,11) -- THE WAND OF WISHING in 1 of the 4 towers local px, py = place:rndcoord(1); -des.object({ id = "chest", trapped = 0, x = px, y = py, +des.object({ id = "chest", trapped = 0, locked = 1, x = px, y = py, contents = function() des.object("wishing"); end diff --git a/doc/fixes37.0 b/doc/fixes37.0 index ef33048fc..93599f07b 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -78,6 +78,7 @@ inventory cursing caused by "this water's no good" effect when drinking from fix priest created inside temple wall fix vault guard occasionally encasing monsters in stone tone down scare monster by excluding humans and uniques +lock the castle chest Fixes to 3.7.0-x Problems that Were Exposed Via git Repository