summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-18 23:00:20 +0000
committerdploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-18 23:00:20 +0000
commit0af6e3ad82438c716f6ab3250c6e908aebd63419 (patch)
tree2ae25016f4911795a9336ce97f8fb6f7d9510017 /crawl-ref
parent91eed2a8086299913ce28c5b27b6a37453ef791b (diff)
downloadcrawl-ref-0af6e3ad82438c716f6ab3250c6e908aebd63419.tar.gz
crawl-ref-0af6e3ad82438c716f6ab3250c6e908aebd63419.zip
Added another entry vault for the Sewer.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7488 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/docs/level_design.txt22
-rw-r--r--crawl-ref/source/dat/sewer.des22
2 files changed, 34 insertions, 10 deletions
diff --git a/crawl-ref/docs/level_design.txt b/crawl-ref/docs/level_design.txt
index 4e4f95f772..f6d14d2dca 100644
--- a/crawl-ref/docs/level_design.txt
+++ b/crawl-ref/docs/level_design.txt
@@ -347,19 +347,21 @@ TAGS: Tags go an a TAGS: line and are space-separated. You can have several
Can be applied only to particular symbols with KMASK.
* "no_pool_fixup": prevents water squares next to land from being
randomly converted from deep water (the default) to shallow.
+ * "uniq_BAR": (uniq_ with any suffix) specifies that only one of
+ the vaults with this tag can be used in a game.
* "branch_entry" eg. "orc_entry", "lair_entry" etc.
- If chosen, these maps will contain the stairs for that
- branch. Use "O" to place the stairs. If a branch has very
- few entries, a dummy entry is advisable to make sure the
- player doesn't get bored of the same few entries recycled
- ad nauseam.
+ If chosen, these maps will contain the stairs for that branch.
+ Use "O" to place the stairs. If a branch has very few entries,
+ a dummy entry is advisable to make sure the player doesn't get
+ bored of the same few entries recycled ad nauseam.
+ Note: if any TAG argument contains an "entry", the vault will
+ be no longer eligible for random placement. (Currently,
+ this just affects your choice of BAR when using uniq_BAR.)
* "mnoleg" or the name of some other pandemonium lord. This makes
the map eligible for said pan lord's lair. See pan.des.
* "minotaur" turns this into a labyrinth exit vault.
"lab" turns this into an additional labyrinth flavour vault.
See lab.des for examples and details.
- * "uniq_BAR": (uniq_ with any suffix) specifies that only one of
- the vaults with this tag can be used in a game.
* "no_rotate": Normally, the dungeon builder can, at its whim,
rotate your vault. This flag tells it, "hey, don't do that to my
vault!"
@@ -1394,9 +1396,9 @@ description ("A portal to places unknown") and a destination
("generic_portal").
In case you want to make sure that the portal vault entry is only used
-once, you add a TAGS: uniq_label line. It should be noted that the label
-may *not* end in _uniq (the level builder assumes that those belong to
-branch entries).
+once, you add a TAGS: uniq_BAR line. It should be noted that the label
+BAR may *not* end in _uniq (otherwise the level builder assumes that the
+vault is a branch entry).
This will produce a portal, but attempting to use it will trigger an
ASSERT since there's no map for the destination. So we create a
diff --git a/crawl-ref/source/dat/sewer.des b/crawl-ref/source/dat/sewer.des
index 53379ccdb6..42fe6d392b 100644
--- a/crawl-ref/source/dat/sewer.des
+++ b/crawl-ref/source/dat/sewer.des
@@ -67,6 +67,28 @@ xWWW..
xW'...
ENDMAP
+NAME: portal_sewer_entry_c
+TAGS: uniq_sewer no_monster_gen
+DEPTH: D:3-7
+: sewer_portal(_G)
+NSUBST: c = 2:= / 2:n / *:c
+NSUBST: W = 8:1 / *:W
+SUBST: 1 = 111W
+KMONS: 1 = rat w:20 / grey rat w:20 / green rat/ small snake / snake w:2 / \
+ giant cockroach / giant mite / worm w:3
+KFEAT: 1 = W
+COLOUR: W = green / cyan w:5
+MAP
+.........
+.ccccccc.
+.cWWWWWc.
+.cWWOWWc.
+.cWWWWWc.
+.cWWWWWc.
+.ccccccc.
+.........
+ENDMAP
+
# The actual portal vaults #####################################
# Sewer with a small kobold camp, potion treasure and Ely/Zin altar.