summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/ziggurat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/dat/clua/ziggurat.lua')
-rw-r--r--crawl-ref/source/dat/clua/ziggurat.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/dat/clua/ziggurat.lua b/crawl-ref/source/dat/clua/ziggurat.lua
index 4a4679ba58..831ed7b13b 100644
--- a/crawl-ref/source/dat/clua/ziggurat.lua
+++ b/crawl-ref/source/dat/clua/ziggurat.lua
@@ -29,6 +29,9 @@ end
function cleanup_ziggurat()
return one_way_stair {
onclimb = function()
+ crawl.mark_milestone("zig.exit",
+ "left a Ziggurat at level " ..
+ zig().depth .. ".")
dgn.persist.ziggurat = { }
end,
dstplace = zig().origin_level
@@ -134,12 +137,10 @@ end
function ziggurat_milestone()
local depth = zig().depth
- if util.contains({ 1, 9, 15, 21, 24, 27 }, depth) then
- crawl.mark_milestone(depth < 27 and "br.enter" or "br.end",
+ crawl.mark_milestone(depth == 1 and "zig.enter" or "zig",
(depth == 1 and "entered a Ziggurat" or
("reached level " .. depth .. " of a Ziggurat"))
.. ".")
- end
end
function ziggurat_build_level(e)
@@ -859,4 +860,4 @@ local ziggurat_builders = util.keys(ziggurat_builder_map)
function ziggurat_choose_builder()
return util.random_from(ziggurat_builders)
-end
+end \ No newline at end of file