summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-01 23:19:17 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-07 18:23:19 -0600
commitbaeb71daee0164c92e52602a3b1c413f03454de3 (patch)
tree7606ce84e290d39b8ca954c0a9cbb9df0a626542 /crawl-ref/source/misc.cc
parent8d54771d4bf288f774a1f2e8c886a256542d28f7 (diff)
downloadcrawl-ref-baeb71daee0164c92e52602a3b1c413f03454de3.tar.gz
crawl-ref-baeb71daee0164c92e52602a3b1c413f03454de3.zip
Gozag: Call Merchant.
Pay half the value of items in one of three randomly generated shops to generate that shop on a level that can generate shops that you haven't visited yet. This shop appears on the Overview screen with a darkened level name so you know exactly where it appeared, and is announced (and its location marked) when you arrive on the level so long as you are still following Gozag at the time.
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 086dc5eb35..c699a37d89 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1663,6 +1663,11 @@ int str_to_shoptype(const string &s)
return -1;
}
+const char *shoptype_to_str(shop_type type)
+{
+ return shop_types[type];
+}
+
void list_shop_types()
{
mpr_nojoin(MSGCH_PLAIN, "Available shop types: ");