Make sokoban prize not depend on the map layout

This commit is contained in:
Pasi Kallinen
2015-03-17 18:52:53 +02:00
parent c9d5bb9d68
commit b5dd0c1894
+10 -2
View File
@@ -529,7 +529,11 @@ DOOR:closed,(17,11)
DOOR:closed,(17,13)
DOOR:closed,(17,15)
REGION:(18,10,22,16),lit,"zoo",filled,irregular
OBJECT:('(',"bag of holding"),$place[0]
IF [50%] {
OBJECT:('(',"bag of holding"),$place[0]
} ELSE {
OBJECT:('"',"amulet of reflection"),$place[0]
}
ENGRAVING:$place[0],burn,"Elbereth"
@@ -625,5 +629,9 @@ DOOR:closed,(17,10)
DOOR:closed,(17,12)
DOOR:closed,(17,14)
REGION:(18,09,22,15),lit,"zoo",filled,irregular
OBJECT:('"',"amulet of reflection"),$place[0]
IF [50%] {
OBJECT:('(',"bag of holding"),$place[0]
} ELSE {
OBJECT:('"',"amulet of reflection"),$place[0]
}
ENGRAVING:$place[0],burn,"Elbereth"