summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-init.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2013-06-20 20:17:14 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2013-06-20 21:33:36 -0600
commit0eca6cb426d24af97bd52276a8795b1f0f75fe5e (patch)
tree80c36fab9b4a9867ac40b0dd60be83856a97980a /crawl-ref/source/ng-init.cc
parent4102959e5578f33538d7590769627c7603eeb07a (diff)
downloadcrawl-ref-0eca6cb426d24af97bd52276a8795b1f0f75fe5e.tar.gz
crawl-ref-0eca6cb426d24af97bd52276a8795b1f0f75fe5e.zip
Allow overflow temples to have specific combinations of deities.
This changes up the temple overflow tag syntax thus: - Generic overflow temples now use the tag "temple_overflow_generic_N". - Specialised overflow temples use "temple_overflow_N" and tags for the deities they place; this includes single-altar overflow temples (so the existing overflow vaults have been re-tagged). The overflow vaults are now collected in dat/des/altar/overflow.des (generic ones have been moved from dat/des/branches/temple.des). The "good god temple" vaults (the ones that place altars to the three good gods) have been assigned tags using the new format as an illustration of this.
Diffstat (limited to 'crawl-ref/source/ng-init.cc')
-rw-r--r--crawl-ref/source/ng-init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ng-init.cc b/crawl-ref/source/ng-init.cc
index 02f9ee4cce..3b421208e0 100644
--- a/crawl-ref/source/ng-init.cc
+++ b/crawl-ref/source/ng-init.cc
@@ -222,7 +222,7 @@ void initialise_temples()
int chance = 0;
for (unsigned int j = 2; j <= size; j++)
{
- string mapname = make_stringf("temple_overflow_%d", j);
+ string mapname = make_stringf("temple_overflow_generic_%d", j);
if (!find_maps_for_tag(mapname).empty())
if (one_chance_in(++chance))
num_gods = j;