]> granicus.if.org Git - nethack/commitdiff
Lock castle chest
authorPasi Kallinen <paxed@alt.org>
Sat, 14 Mar 2020 19:46:06 +0000 (21:46 +0200)
committerPasi Kallinen <paxed@alt.org>
Sat, 14 Mar 2020 19:49:18 +0000 (21:49 +0200)
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.

dat/castle.lua
doc/fixes37.0

index e01323fa7782d0491f8b0cb4dbca8606445485e5..fa798f3f9553e5dabd04564aa73d406abf390928 100644 (file)
@@ -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
index ef33048fc3db9bb1b6c698e52d65b07e85654198..93599f07baebbd87d331b31a220115599a4f415c 100644 (file)
@@ -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