summaryrefslogtreecommitdiffstats
path: root/crawl-ref/docs/level_design.txt
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-09 12:35:02 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-09 12:35:02 +0000
commit5c013b3c984b31f7c4dfc1945da5723fe1f316b0 (patch)
tree19ae707f6959c8199bb548e4477d2819d332fb4a /crawl-ref/docs/level_design.txt
parenta4a77c91709bf945617d9c59c1936d00d5b9be46 (diff)
downloadcrawl-ref-5c013b3c984b31f7c4dfc1945da5723fe1f316b0.tar.gz
crawl-ref-5c013b3c984b31f7c4dfc1945da5723fe1f316b0.zip
Apply Eino's patches 2494428, 2494591 and 2494703. Thanks!
I had to comment out the line set_random_mon_list in icecave.des because that gave an error "Too many arguments" and I couldn't find any example where it was already used. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8356 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/docs/level_design.txt')
-rw-r--r--crawl-ref/docs/level_design.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/crawl-ref/docs/level_design.txt b/crawl-ref/docs/level_design.txt
index ae3f1fb192..08946bdd98 100644
--- a/crawl-ref/docs/level_design.txt
+++ b/crawl-ref/docs/level_design.txt
@@ -14,6 +14,7 @@ Contents: A. Introduction
J. Feature names
K. Map statistics
+
A. Introduction
=================
@@ -38,6 +39,7 @@ use:
layout.des - Level layout code that has been moved from dungeon.cc and
rewritten in Lua.
mini.des - minivaults (no ORIENT line at all)
+ minitomb.des - the minitomb portal vault
orc.des - orcish mine entrances, orc only vaults
pan.des - vaults of the Pan demon lords, Pan minivaults
sewer.des - the sewer portal vault
@@ -45,7 +47,6 @@ use:
vaults.des - entrances for the Vaults, and Vaults:8
zot.des - vaults for the Zot branch and the maps for Zot:5
-
Kinds of Vaults
---------------
The different kinds of vaults used by Crawl are described briefly below. In
@@ -267,7 +268,6 @@ ORIENT: (float |encompass | north | northwest | ... | southeast)
generator; float should generally be preferred to other ORIENT:
settings for new vaults.
-
DEPTH: For random vaults, branch entry vaults, and minivaults, this
specifies the range of levels where the vault may be placed
in the dungeon. E.g.
@@ -382,7 +382,6 @@ CHANCE: <priority>:<roll> or <roll>
tagged chance_xxx, then one map of that set will be used
when the chance is met.
-
WEIGHT: (number with 10 being default)
For entry vaults and any other vaults randomly picked from among
a set, this type of line affects the likelihood of the given vault
@@ -1310,7 +1309,6 @@ like 40,30,20,10 might be more interesting than 25,25,25,25.
In order to test a portal vault, you can either use PLACE: D:2 for an
entry vault, or use the wizard mode command &L for conjuring up the entry.
-
Define a vault to hold the portal itself
----------------------------------------
@@ -1357,7 +1355,6 @@ 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
destination map like so:
-
Define a destination map
------------------------
@@ -1384,7 +1381,6 @@ Stairs will not work right in portal vaults, do not use them.
You can use multiple maps with the destination tag (generic_portal),
and the dungeon builder will pick one at random.
-
The MARKER parameters
---------------------
@@ -1419,7 +1415,6 @@ portal vaults (which will disappear after some time). bazaar.des and lab.des
contain examples. For timed portals, you may want to add messages to the file
dat/clua/lm_tmsg.lua.
-
Using lua functions as shortcuts
--------------------------------
@@ -1679,7 +1674,6 @@ map's NAME: directive will add the Lua code to the global prelude.
<code>
}}
-
Debugging Lua
-------------