summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-12 14:19:56 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-12 14:19:56 +0000
commit2269f51342b63e5b8670da098b71998d4b4dd901 (patch)
tree2cb1bc0cc8a57e75bbc858e59cf0c9d705785142 /crawl-ref/source/branch.cc
parent0e5f00f8997011546d2010e975bcce3ccd78be91 (diff)
downloadcrawl-ref-2269f51342b63e5b8670da098b71998d4b4dd901.tar.gz
crawl-ref-2269f51342b63e5b8670da098b71998d4b4dd901.zip
Added a new Island branch, based on dpeg's ideas.
In any given game, either the Islands or the Swamp will be generated (50% chance of each) as Lair subbranches. The Islands have a ranged-attackers theme and are 5 levels deep. THIS IMPLEMENTATION IS INCOMPLETE, so beware! The following things need to be added: 1. A level-5 vault to contain the islands rune (the rune is coded, but it doesn't show up yet - so for now, if you get the Islands, you'll be stuck with one less rune.) A unique Cyclops, Polyphemus, to guard it might be a nice idea. Perhaps we should block controlled teleport until he's dead, too. 2. Making the island structure depth-dependent (i.e., more islands on deeper levels.) 3. Shallow water fractalisation. 4. Probably more stuff I forgot. I also put in various minor fixes. Breaks savefiles, possibly highscores too. I'll put in a savefile version bump later. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1289 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r--crawl-ref/source/branch.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc
index 1f7409a451..000dcbb74e 100644
--- a/crawl-ref/source/branch.cc
+++ b/crawl-ref/source/branch.cc
@@ -62,6 +62,14 @@ Branch branches[] = {
true, true, BROWN, BROWN,
mons_swamp_rare, mons_swamp_level,
0, 'S' },
+
+ { BRANCH_ISLANDS, BRANCH_LAIR, 5, 4,
+ DNGN_ENTER_ISLANDS, DNGN_RETURN_FROM_ISLANDS,
+ "Islands", "the Islands", "Isle",
+ NULL,
+ true, true, BROWN, BROWN,
+ mons_islands_rare, mons_islands_level,
+ 0, 'A' },
{ BRANCH_SLIME_PITS, BRANCH_LAIR, 6, 4,
DNGN_ENTER_SLIME_PITS, DNGN_RETURN_FROM_SLIME_PITS,