Make sokoban prize not depend on the map layout

This commit is contained in:
Pasi Kallinen
2015-02-19 20:47:08 +02:00
parent c9d5bb9d68
commit b5dd0c1894

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"