diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 15:43:20 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-25 15:43:20 +0000 |
commit | 3cd7d88e4a445431c8ce6f1e8b6c107228649b4e (patch) | |
tree | 0beac6418a7a2a1ab55476b677ffd17f071e9b7a /crawl-ref/source/dat/clua | |
parent | dd09e43664f57ee641f97d09580129c1f336c0ac (diff) | |
download | crawl-ref-3cd7d88e4a445431c8ce6f1e8b6c107228649b4e.tar.gz crawl-ref-3cd7d88e4a445431c8ce6f1e8b6c107228649b4e.zip |
Change Ziggurat milestones to be more convenient for tourney parsing.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10405 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/clua')
-rw-r--r-- | crawl-ref/source/dat/clua/ziggurat.lua | 9 |
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 aefb68383c..b8dff21ab1 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 |