diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-03 22:25:30 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-06 17:36:44 +0200 |
commit | 4bd296b7d1804bb720775f4006bfc027881c77d6 (patch) | |
tree | 70dec0a199d3d4116c9c6726a2e7f44636afdc22 /crawl-ref | |
parent | 6f647bad4a762043ddc6d196680d398c6ce9c4b8 (diff) | |
download | crawl-ref-4bd296b7d1804bb720775f4006bfc027881c77d6.tar.gz crawl-ref-4bd296b7d1804bb720775f4006bfc027881c77d6.zip |
Mention entry price in 'xv' description of toll portals (ziggurat).
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/dat/clua/lm_toll.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/dat/clua/lm_toll.lua b/crawl-ref/source/dat/clua/lm_toll.lua index dfc8fbf5af..a4cd7b913e 100644 --- a/crawl-ref/source/dat/clua/lm_toll.lua +++ b/crawl-ref/source/dat/clua/lm_toll.lua @@ -64,6 +64,16 @@ function TollStair:property(marker, pname) return self.super.property(self, marker, pname) end +function TollStair:feature_description_long(marker) + local desc = self:unmangle(self.props.desc_long) + if desc then + desc = desc .. "\n\n" + else + desc = "" + end + return desc .. "The portal charges " .. self.props.amount .. " for entry.\n" +end + function TollStair:read(marker, th) TollStair.super.read(self, marker, th) setmetatable(self, TollStair) |