summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/clua/ziggurat.lua
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-25 12:05:29 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-25 12:05:29 +0000
commit4779ce0e5239186180f9139678ef090b0fc7b856 (patch)
treecc4271a3bcd6315c2ea12fb46d6a465e82dda5dd /crawl-ref/source/dat/clua/ziggurat.lua
parentea472cc73c9521ecd702fc3f42e2c709f817eda8 (diff)
downloadcrawl-ref-4779ce0e5239186180f9139678ef090b0fc7b856.tar.gz
crawl-ref-4779ce0e5239186180f9139678ef090b0fc7b856.zip
The "Place:" for ziggurats now displays as "Ziggurat:1"/"Ziggurat:2"/etc
instead of "A Ziggurat". Notes now remember which type of portal you entered: 153 | Portal | Entered level 1 of a ziggurat. 168 | Portal | Entered level 2 of a ziggurat. 189 | Bazaar | Entered a bazaar. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7606 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/clua/ziggurat.lua')
-rw-r--r--crawl-ref/source/dat/clua/ziggurat.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/clua/ziggurat.lua b/crawl-ref/source/dat/clua/ziggurat.lua
index 65927e7b1f..23df58a59a 100644
--- a/crawl-ref/source/dat/clua/ziggurat.lua
+++ b/crawl-ref/source/dat/clua/ziggurat.lua
@@ -62,6 +62,7 @@ end
function zig_depth_increment()
zig().depth = zig().depth + 1
zig().level = { }
+ dgn.set_level_type_name ("Ziggurat:" .. zig().depth)
dgn.set_level_type_origin("on level " .. zig().depth .. " of a ziggurat")
end
@@ -76,6 +77,7 @@ function ziggurat_portal(e)
return one_way_stair {
desc = "gateway to a ziggurat",
dst = "ziggurat",
+ dstname = "Ziggurat:1",
dstorigin = "on level 1 of a ziggurat",
floor = "stone_arch",
onclimb = ziggurat_initialiser