summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat
diff options
context:
space:
mode:
authorevktalo <evktalo@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 09:59:17 +0000
committerevktalo <evktalo@c06c8d41-db1a-0410-9941-cceddc491573>2009-07-20 09:59:17 +0000
commit7ed0be12c00bbee1bd159af4e704eb62a3cd802c (patch)
tree4245fa4d814ac768e39a67ec8253cd95f94c0c78 /crawl-ref/source/dat
parent2e507b0064aca5b5cd9256f2837cf6178055670b (diff)
downloadcrawl-ref-7ed0be12c00bbee1bd159af4e704eb62a3cd802c.tar.gz
crawl-ref-7ed0be12c00bbee1bd159af4e704eb62a3cd802c.zip
Milestones for entering Ice Cave, Sewer and Ossuary. Document making these for portal vaults in level_design.txt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10348 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat')
-rw-r--r--crawl-ref/source/dat/clua/dungeon.lua4
-rw-r--r--crawl-ref/source/dat/icecave.des12
-rw-r--r--crawl-ref/source/dat/ossuary.des15
-rw-r--r--crawl-ref/source/dat/sewer.des11
4 files changed, 38 insertions, 4 deletions
diff --git a/crawl-ref/source/dat/clua/dungeon.lua b/crawl-ref/source/dat/clua/dungeon.lua
index cea1849ad3..7b9f1426da 100644
--- a/crawl-ref/source/dat/clua/dungeon.lua
+++ b/crawl-ref/source/dat/clua/dungeon.lua
@@ -357,7 +357,7 @@ function portal_next(e, next)
end
end
--- Turn persistant data into a human readable string
+-- Turn persistant data into a human readable string.
function persist_to_string()
return table_to_string(dgn.persist)
-end
+end \ No newline at end of file
diff --git a/crawl-ref/source/dat/icecave.des b/crawl-ref/source/dat/icecave.des
index fc010f72b5..0b0a7e2505 100644
--- a/crawl-ref/source/dat/icecave.des
+++ b/crawl-ref/source/dat/icecave.des
@@ -163,6 +163,12 @@ function ice_cave_caverns_natural_giant_monster_set(e)
end
}}
+# Add a milestone for entering the Ice Cave.
+{{
+function ice_cave_milestone(e)
+ crawl.mark_milestone("br.enter", "entered an Ice Cave.")
+end
+}}
# Entries ##########################################
@@ -297,6 +303,7 @@ SHUFFLE: "'
SUBST: "=. , ':x .:1
: ice_cave_colours(_G)
: ice_cave_random_monster_list_natural_giant(_G)
+: ice_cave_milestone(_G)
MONS: yak / wolf / polar bear w:4
MONS: polar bear
MONS: frost giant
@@ -375,6 +382,7 @@ SHUFFLE: "'
SUBST: "=. , ':x .:1
: ice_cave_colours(_G)
: dgn.set_random_mon_list("ice beast w:90 / ice dragon / nothing")
+: ice_cave_milestone(_G)
MONS: ice beast
MONS: ice dragon
MONS: ice beast generate_awake
@@ -436,6 +444,7 @@ KFEAT: - = floor w:9 / alarm trap w:1
COLOUR: - = white
: ice_cave_colours(_G)
: ice_cave_random_monster_list_undead_necromancer(_G)
+: ice_cave_milestone(_G)
MONS: ice beast
MONS: white imp
MONS: freezing wraith
@@ -520,6 +529,7 @@ KFEAT: ! = .
ice_cave_colours(_G)
dgn.set_random_mon_list("white imp w:35 / ufetubus w:35 / blue devil w:20 / \
ice devil / nothing")
+ice_cave_milestone(_G)
}}
MONS: white imp / ufetubus
MONS: ice devil / blue devil w:3
@@ -602,6 +612,7 @@ SUBST: - = x
SUBST: _ = w
: end
: ice_cave_colours(_G)
+: ice_cave_milestone(_G)
# Two different populations: undead/demon and natural/giant.
: if crawl.coinflip() then
: ice_cave_random_monster_list_undead_demon(_G)
@@ -696,6 +707,7 @@ SUBST: . = .:40 !:1
: place_fog(_G, "freezing vapour", 25)
KFEAT: ! = .
: ice_cave_colours(_G)
+: ice_cave_milestone(_G)
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xx..xxwwwwxxx.x.'x-.x5..5xxwwwwwxxx1...x.Wxxxxxx15415.xxxxxx......xxxx
diff --git a/crawl-ref/source/dat/ossuary.des b/crawl-ref/source/dat/ossuary.des
index fff9a937e1..f1a160b59f 100644
--- a/crawl-ref/source/dat/ossuary.des
+++ b/crawl-ref/source/dat/ossuary.des
@@ -3,7 +3,7 @@
# The Ossuary, a Tomb en miniature (Zaba)
#
#
-# The Ossuary tries to pose an unusual early challenge: many traps and slow
+# The Ossuary tries to pose an unusual early challenge: many traps and slow
# monsters, making the player choose between pressing on towards the loot or
# leaving the vault.
#
@@ -21,7 +21,7 @@ function ossuary_portal(e)
-- $F{xxx} will be substituted with the 'entity' property of the timed
-- marker, or with the desc property (if entity is not set).
messages = time_messages(timeout_turns,
- "Nearby sand pours into $F{the}.",
+ "Nearby sand pours into $F{the}.",
"Nearby sand pours into $F{the}, lightly covering it.",
"Nearby sand pours into $F{the}, greatly covering it.",
"Nearby sand pours into $F{the}, almost completely blocking access.")
@@ -55,6 +55,12 @@ function ossuary_setup_features(e)
end
}}
+# Add the milestone.
+{{
+function ossuary_milestone(e)
+ crawl.mark_milestone("br.enter", "entered an Ossuary.")
+end
+}}
#### Portal entry vaults.
default-depth: D:4-8
@@ -148,6 +154,7 @@ MONS: rat zombie / jackal zombie / snake zombie / goblin zombie / \
human zombie / elf zombie / centaur zombie
MONS: kobold zombie / orc zombie / hobgoblin zombie
: ossuary_setup_features(_G)
+: ossuary_milestone(_G)
MAP
xxxxxxxxxxxxxxxxxxxxxx
x.........<A.........x
@@ -210,6 +217,7 @@ KFEAT: ^ = net trap w:15 / needle trap w:4 / axe trap w:1 / floor w:20
COLOUR: ^ = red
KFEAT: W = dart trap / floor w:20
: ossuary_setup_features(_G)
+: ossuary_milestone(_G)
MAP
cccccccccccccccccccc
ccccccccc3c3c3c3c3c3c3cddddccc
@@ -258,6 +266,7 @@ KFEAT: ^ = alarm trap / floor w:20
SUBST: = : =+
SUBST: = = =+
: ossuary_setup_features(_G)
+: ossuary_milestone(_G)
MAP
vvv
vvv1vvv
@@ -316,6 +325,7 @@ MONS: snake zombie / hobgoblin zombie / orc zombie / kobold zombie / nothing
MONS: big kobold zombie / water moccasin zombie / gnoll zombie / nothing
MONS: mummy
: ossuary_setup_features(_G)
+: ossuary_milestone(_G)
MAP
cccccccccccccccccccccc
c<11H~~~G1111F~~~E111c
@@ -353,6 +363,7 @@ MONS: orc zombie / kobold zombie / big kobold zombie / hobgoblin zombie
ITEM: nothing / any scroll w:5 / any potion
KFEAT: ^ = alarm trap
: ossuary_setup_features(_G)
+: ossuary_milestone(_G)
MAP
cccccccccccccccccccccc
cccc.....2222.....cccc
diff --git a/crawl-ref/source/dat/sewer.des b/crawl-ref/source/dat/sewer.des
index 64d1a31d62..622ef8521d 100644
--- a/crawl-ref/source/dat/sewer.des
+++ b/crawl-ref/source/dat/sewer.des
@@ -78,6 +78,13 @@ function sewer_random_monster_list(e)
end
}}
+# Add the milestone.
+{{
+function sewer_milestone(e)
+ crawl.mark_milestone("br.enter", "entered a Sewer.")
+end
+}}
+
# Basic sewer entries ##########################################
default-depth: D:3-6
@@ -174,6 +181,7 @@ SUBST: ' = .W
SUBST: ? = .x
: sewer_colours(_G)
: sewer_random_monster_list(_G)
+: sewer_milestone(_G)
# some fresh water for the kobolds
KFEAT: Y = deep_water
KFEAT: y = shallow_water
@@ -242,6 +250,7 @@ WEIGHT: 30
SUBST: - = W..
: sewer_colours(_G)
: sewer_random_monster_list(_G)
+: sewer_milestone(_G)
ITEM: scroll of teleportation w:2 / scroll of blinking / \
scroll of random uselessness w:1
MONS: giant newt / small snake w:5 / \
@@ -291,6 +300,7 @@ TAGS: sewer no_item_gen no_monster_gen
ORIENT: encompass
: sewer_colours(_G)
: sewer_random_monster_list(_G)
+: sewer_milestone(_G)
SUBST: 2 = 23
KMONS: 2 = giant lizard
KMONS: 3 = Purgy, giant lizard
@@ -352,6 +362,7 @@ COLOUR: ? = lightgreen
SUBST: - = W..
: sewer_colours(_G)
: sewer_random_monster_list(_G)
+: sewer_milestone(_G)
MONS: giant bat / giant newt / small snake / ooze w:2 / worm w:2 / \
snake w:1 / giant mosquito w:2
MONS: giant bat / giant mosquito w:2 / nothing w:2