]> granicus.if.org Git - nethack/commitdiff
Make sure the correct luckstone is the prize
authorPasi Kallinen <paxed@alt.org>
Sat, 25 May 2019 16:15:53 +0000 (19:15 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 25 May 2019 16:15:56 +0000 (19:15 +0300)
The first generated luckstone is marked as the prize in mines' end.
Make sure we generate the intended one first, before any other
(possibly randomly generated) luckstones.

dat/mines.des
doc/fixes36.3

index 19a829bdace1136394156ae195651b3e9a895539..1ef2031f557daf643abccc0df749bfda6b0bd82e 100644 (file)
@@ -1042,6 +1042,7 @@ OBJECT:('!',"booze"),(10,09)
 OBJECT:('!',"object detection"),(10,09)
 # Objects
 # The Treasure chamber...
+OBJECT:('*',"luckstone"),(70,05)
 OBJECT:('*',"diamond"),(69,04)
 OBJECT:'*',(69,04)
 OBJECT:('*',"diamond"),(69,04)
@@ -1058,7 +1059,6 @@ OBJECT:('*',"ruby"),(70,05)
 OBJECT:('*',"amethyst"),(70,05)
 OBJECT:'*',(70,05)
 OBJECT:('*',"amethyst"),(70,05)
-OBJECT:('*',"luckstone"),(70,05)
 # Scattered gems...
 OBJECT:'*',random
 OBJECT:'*',random
@@ -1147,6 +1147,8 @@ STAIR:(42,8),up
 WALLIFY
 
 # Objects
+OBJECT:('*',"luckstone"),$place[0]
+OBJECT:('*',"flint"),$place[1]
 OBJECT:('*',"diamond"),random
 OBJECT:'*',random
 OBJECT:('*',"diamond"),random
@@ -1163,8 +1165,6 @@ OBJECT:('*',"ruby"),random
 OBJECT:('*',"amethyst"),random
 OBJECT:'*',random
 OBJECT:('*',"amethyst"),random
-OBJECT:('*',"luckstone"),$place[0]
-OBJECT:('*',"flint"),$place[1]
 OBJECT:'?',random
 OBJECT:'?',random
 OBJECT:'?',random
index 42fe406b0402e573010606209d136c97ff713211..edb1062eb039b3b33a0228a17eeeaf0b56181ce0 100644 (file)
@@ -23,6 +23,7 @@ when co-located with a boulder you could sometimes swap places with pets of
        any size
 on rare occasions, multiple mines-end luckstones were being marked as the
        prize and triggering an impossible() on a public server
+make sure the correct luckstone is the prize in mine's end
 
 
 Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository