more simplification of achievement tracking
Instead of hardcoding the "prize" type and then watching for that to be created, specify it in the level description. Also, instead of giving both Sokoban end levels 50:50 chance for either prize, bias the one that used to always have the bag of holding to now have 75% chance for that and 25% chance for amulet of reflection, with the other one having those chances reversed. So still 50:50 overall.
This commit is contained in:
@@ -78,8 +78,9 @@ des.non_diggable(selection.area(53,07,55,07))
|
||||
des.non_diggable(selection.area(53,14,61,14))
|
||||
-- The Gnome King's wine cellar.
|
||||
-- the Trespassers sign is a long-running joke
|
||||
des.engraving({12,03},"engrave","You are now entering the Gnome King's wine cellar.")
|
||||
des.engraving({12,04},"engrave","Trespassers will be persecuted!")
|
||||
des.engraving({12,03}, "engrave",
|
||||
"You are now entering the Gnome King's wine cellar.")
|
||||
des.engraving({12,04}, "engrave", "Trespassers will be persecuted!")
|
||||
des.object("booze", 10, 07)
|
||||
des.object("booze", 10, 07)
|
||||
des.object("!", 10, 07)
|
||||
@@ -107,7 +108,8 @@ des.object("ruby", 70, 05)
|
||||
des.object("amethyst", 70, 05)
|
||||
des.object("*", 70, 05)
|
||||
des.object("amethyst", 70, 05)
|
||||
des.object("luckstone", 70, 05)
|
||||
des.object({ id="luckstone", x=70, y=05,
|
||||
buc="not-cursed", achievement=1 });
|
||||
-- Scattered gems...
|
||||
des.object("*")
|
||||
des.object("*")
|
||||
|
||||
Reference in New Issue
Block a user