From 2269f51342b63e5b8670da098b71998d4b4dd901 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 12 Apr 2007 14:19:56 +0000 Subject: 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 --- crawl-ref/source/branch.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crawl-ref/source/branch.cc') 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, -- cgit v1.2.3-54-g00ecf