diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-11 14:19:00 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-11 14:19:00 -0800 |
commit | f0b1c25fa937388e6fc235e181f430ccac601435 (patch) | |
tree | 064ae4a91d8018284a0b8f28feb657872e86cdae /crawl-ref/source/maps.cc | |
parent | 193248a7eb4450fb017c930b5a751a4eaaa9417b (diff) | |
download | crawl-ref-f0b1c25fa937388e6fc235e181f430ccac601435.tar.gz crawl-ref-f0b1c25fa937388e6fc235e181f430ccac601435.zip |
Place arbitrarily sized main temple
The main Temple (temple branch) can now have an arbitrary number of
altars, decided at new-game initialization time. Vaults with differing
numbers of altars can be given the tag "temple_main_N", with N being the
number of altars.
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r-- | crawl-ref/source/maps.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index 7f6e304902..bc2139681d 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -507,7 +507,7 @@ bool map_selector::accept(const map_def &mapdef) const && mapdef.place == place && !mapdef.has_tag("layout") && !mapdef.has_tag("place_unique") - && !mapdef.has_tag_prefix("overflow_temple_") + && !mapdef.has_tag_prefix("temple_") && map_matches_layout_type(mapdef) && vault_unforbidden(mapdef)); case DEPTH: @@ -523,7 +523,7 @@ bool map_selector::accept(const map_def &mapdef) const && !mapdef.has_tag("bazaar") && !mapdef.has_tag("layout") && !mapdef.has_tag("place_unique") - && !mapdef.has_tag_prefix("overflow_temple_") + && !mapdef.has_tag_prefix("temple_") && (!check_layout || map_matches_layout_type(mapdef)) && vault_unforbidden(mapdef)); case TAG: |