summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/bazaar.des
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-28 06:53:07 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-28 06:53:07 +0000
commit04d5776a5cd366a0812dec39f23a2dd8867f47c0 (patch)
treedbd8dd0c57e141f0ef27abb74ca0dd5ef3b24b62 /crawl-ref/source/dat/bazaar.des
parentd04224e3fc2b5271620775742cf316da09513f77 (diff)
downloadcrawl-ref-04d5776a5cd366a0812dec39f23a2dd8867f47c0.tar.gz
crawl-ref-04d5776a5cd366a0812dec39f23a2dd8867f47c0.zip
The entry gates to portal vaults can now set their long feature description via
the desc_long property of the Lua marker. The lets the portal vault code be enitrely self contained, rather than having to have a portion of the description in dat/descript/features.txt. Also, in theory each different entry vault could have its own version of the description, or it could even programatically vary after the entry vault had been generated (since it can be a function in addition to a string). Also, since the gate's short feature description is no longer needed as a key into the features database, the short description doesn't need to be the same for each entry vault. The way I put the descriptions into the .des files is a bit clunky, but when I tried to use the Lua multi-line string quote ([[string]]) each line displayed by Crawl was indented one space. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8001 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/bazaar.des')
-rw-r--r--crawl-ref/source/dat/bazaar.des15
1 files changed, 14 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/bazaar.des b/crawl-ref/source/dat/bazaar.des
index e063de01f6..47d6cf3e1a 100644
--- a/crawl-ref/source/dat/bazaar.des
+++ b/crawl-ref/source/dat/bazaar.des
@@ -11,6 +11,19 @@
lua {{
function bazaar_portal()
+ local desc_long =
+"Aside from the vendors who've set up their stores at various places in the "..
+"dungeon, there are others trying to make a living by traveling from place"..
+"to place. Bazaars feature a number of different shops and often have better"..
+"stock than the sedentary ones, sometimes even at a bargain."..
+"Once you hear the clinking of coins, be sure to hurry up and find the"..
+"impromptu marketplace before the caravan moves on!"..
+"\n\n"..
+"Also be warned that their nomadic lifestyle has taught these sellers to"..
+"appropriate any items an adventurer might leave behind, and then leave"..
+"quickly, probably to sell them elsewhere."
+
+
local messager =
timed_msg {
initmsg = { "You hear coins being counted.",
@@ -28,7 +41,7 @@ function bazaar_portal()
return timed_marker {
low=blow, high=bhigh, msg=messager,
disappear='The gate to the bazaar disappears!',
- desc = pdesc, dst = 'bazaar',
+ desc = pdesc, desc_long = desc_long, dst = 'bazaar',
floor = 'stone_arch'
}
else