chance of containing the Rune, instead of the previous setup.
Moved most feature descriptions to descript.txt.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1775 c06c8d41-db1a-0410-9941-cceddc491573
4RFKVDJKTCRBZU6WPJ2E5OVI5IRPY3UTRPOBLC5QHY4CQJJTLZKQC
H3552BCIAVBLKAYKE4DHFLBLFW5RGRMYBMRRYHYEB5IPIJRUVU5QC
TFYLN3PQEKFQNOYRVJRCXFJ4J6VSKC7QQFOHNWTDPSVYWAPAJABAC
3XZOL3FFQZITUJIGDD6B6V6ZYMBN524JKNN6ZPJAXEC7RY433I3QC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
WWR4IDWLXP4XLBWDZBA5GFG7CRKUJQNRK7FFUFOISK6OJTMYQPFQC
AOLWOUIFBQDQTCMSVB7N7GAKFUY5J5LH7CJZAY3HEY3WEUSLADZAC
TZ55IZNANEJO2WDTKYWVLY2W2VV6BR7WKIN7XLNISAMMFT6LG2WQC
KXUQB3WNWC5IFL6VFWADEPQMMU3VV3NDI5FLA666PGOEWFYUHCLQC
CUNNC574MESEMTTONZ6YB6CJ2S5P6VA3V7Z3OODESWAK37GYOBPAC
56C44YMFHZ62GXAAOLYSLLGBVGRWXB53W2VI37Q26ZECEK2XG5SQC
CRX4RG35C3DH57NIXCW4CG4X7SBMSX7TAJR2BAFQ4LQKCLYUNANQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
Y56C5OMUQ5XF2G6DKDV4R5MED44UOIUPTBBQVWQBUHYIXYA5MOZAC
// turn all island centres into floor
for ( int i = 1; i < num_islands; ++i )
grd[centres[i].x][centres[i].y] = DNGN_FLOOR;
// Put a rune in the centre of another island
{
int item_made = items( 1, OBJ_MISCELLANY, MISC_RUNE_OF_ZOT, true,
0, RUNE_SHOALS );
if (item_made != NON_ITEM && item_made != -1)
{
mitm[item_made].x = centres[1].x;
mitm[item_made].y = centres[1].y;
}
}
// Put good items in the other islands
for ( int i = 2; i < num_islands; ++i )
{
int item_made = items( 1, OBJ_RANDOM, OBJ_RANDOM, true,
MAKE_GOOD_ITEM, MAKE_ITEM_RANDOM_RACE );
if (item_made != NON_ITEM && item_made != -1)
{
mitm[item_made].x = centres[i].x;
mitm[item_made].y = centres[i].y;
}
}
// Minivault creation will place the rune (96.4% of the time)
// FIXME hand-hackery for placing minivaults at the bottom of the Shoals.
if ( (level_id::current().branch == BRANCH_SHOALS) &&
(level_id::current().depth = branches[BRANCH_SHOALS].depth) )
{
int tries = 40;
int num_to_place = random2(3) + 4;
for ( int i = 0; i < num_to_place && tries > 0; ++i, --tries )
{
const int vault = random_map_for_dlevel(level_number, true);
if (vault == -1)
{
--i;
continue;
}
// If we've already used this minivault and it doesn't
// want duplicates, do another iteration.
if (used.find(vault) != used.end()
&& !map_by_index(vault)->has_tag("allow_dup"))
{
--i;
continue;
}
build_minivaults(level_number, vault);
used.insert(vault);
}
}
case DNGN_ROCK_WALL:
case DNGN_SECRET_DOOR: // to prevent detection with 'x'
return "The typical dungeon barrier. Though it is impenetrable at "
"first sight, there are several ways to get through "
"or around it.";
case DNGN_STONE_WALL:
return "A harder obstacle than rock walls. Only the mightiest "
"magic can shatter stone walls.";
case DNGN_GREEN_CRYSTAL_WALL:
return "For some reason, some dungeon walls, like this one, "
"have been made of this polished crystal, imbued with arcane "
"magics. They prevent its destruction, and make it reflect heat "
"and cold.";
case DNGN_METAL_WALL:
return "An impenetrable barrier. As every dungeon electrician "
"knows, it grounds all forms of electricity.";
case DNGN_WAX_WALL:
return "These walls are built by bees. Occasionally a dungeon "
"architect will manipulate bees into building wax walls for "
"esthetic reasons. (Theirs, not the bees'.) They are susceptible "
"to heat and can easily melt.";
case DNGN_SHALLOW_WATER:
return "This waist-deep, misty water makes movement and combat "
"cumbersome for landlubbers -- sometimes dangerous, but never "
"directly fatal.";
case DNGN_LAVA:
return "Lava, like the smoke that billows from it, sure looks "
"pretty from above! But walking on lava will burn everything "
"but lava creatures to a crisp. If the lava creatures themselves "
"haven't already done that job at range, that is.";
case DNGN_SPARKLING_FOUNTAIN:
return "'q'uaff to drink from this magic fountain. Expect magical "
"effects, as long as it's still magic.";
case DNGN_BLUE_FOUNTAIN:
return "'q'uaff to drink from this fountain. But it's far more "
"pretty than useful, unless you're trying to fetch the Orb "
"without eating, I guess.";
##############################
# Shoal hut with no rune inside
#
# Shoal:$ is hand-hacked to force lots of minivaults.
NAME: shoalhut_norune
PLACE: Shoal:5
TAGS: water_ok allow_dup
MONS: cyclops
CHANCE: 1000
MAP
.x+x.
xx.xx
=.*1x
xx1xx
.xxx.
ENDMAP
%%%%
A stone wall
A harder obstacle than rock walls. Only the mightiest magic can shatter stone walls.
%%%%
A wall of the weird stuff which makes up Pandemonium
%%%%
A rock wall
The typical dungeon barrier. Though it is impenetrable at first sight, there are several ways to get through or around it.
%%%%
An unnaturally hard rock wall
%%%%
A metal wall
An impenetrable barrier. As every dungeon electrician knows, it grounds all forms of electricity.
%%%%
A wall of green crystal
For some reason, some dungeon walls, like this one, have been made of this polished crystal, imbued with arcane magics. They prevent its destruction, and make it reflect heat and cold.
%%%%
An orcish idol
An idol of Beogh
%%%%
A wall of solid wax
These walls are built by bees. Occasionally a dungeon architect will manipulate bees into building wax walls for esthetic reasons. (Theirs, not the bees'.) They are susceptible to heat and can easily melt.
%%%%
A granite statue
Some lava
Lava, like the smoke that billows from it, sure looks pretty from above! But walking on lava will burn everything but lava creatures to a crisp. If the lava creatures themselves haven't already done that job at range, that is.
%%%%
Some deep water
%%%%
Some shallow water
This waist-deep, misty water makes movement and combat cumbersome for landlubbers -- sometimes dangerous, but never directly fatal.
%%%%
Floor
%%%%
An open door
A plain door. You can close it by standing next to it and pressing 'c'.
%%%%
A closed door
A plain door. To open it, try simply walking into it, or press 'o'.
%%%%
A rock staircase leading down
%%%%
A stone staircase leading down
%%%%
A rock staircase leading up
%%%%
A stone staircase leading up
%%%%
A gateway to Hell
%%%%
A mechanical trap
%%%%
A magical trap
%%%%
A trap
%%%%
A shop
%%%%
A labyrinth entrance
%%%%
A gateway to the Iron City of Dis
%%%%
A gateway to Gehenna
%%%%
A gateway to the freezing wastes of Cocytus
%%%%
A gateway to the decaying netherworld of Tartarus
%%%%
A one-way gate to the infinite horrors of the Abyss
%%%%
A gateway leading out of the Abyss
%%%%
An empty arch of ancient stone
%%%%
A gate leading to the halls of Pandemonium
%%%%
A gate leading out of Pandemonium
%%%%
A gate leading to another region of Pandemonium
%%%%
A staircase to the Orcish Mines
%%%%
A staircase to the Hive
%%%%
A staircase to the Lair
%%%%
A staircase to the Slime Pits
%%%%
A staircase to the Vaults
%%%%
A staircase to the Crypt
%%%%
A staircase to the Hall of Blades
%%%%
A gate to the Realm of Zot
%%%%
A staircase to the Ecumenical Temple
%%%%
A staircase to the Snake Pit
%%%%
A staircase to the Elven Halls
%%%%
A staircase to the Tomb
%%%%
A staircase to the Swamp
%%%%
A staircase to the Shoals
%%%%
A staircase back to the Dungeon
%%%%
A staircase back to the Lair
%%%%
A staircase back to the Vaults
%%%%
A staircase back to the Mines
%%%%
A staircase back to the Crypt
%%%%
A gate leading back out of this place
%%%%
A glowing white marble altar of Zin
%%%%
A glowing golden altar of the Shining One
%%%%
An ancient bone altar of Kikubaaqudgha
%%%%
A basalt altar of Yredelemnul
%%%%
A shimmering altar of Xom
%%%%
A shining altar of Vehumet
%%%%
An iron altar of Okawaru
%%%%
A burning altar of Makhleb
%%%%
A deep blue altar of Sif Muna
%%%%
A bloodstained altar of Trog
%%%%
A sparkling altar of Nemelex Xobeh
%%%%
A silver altar of Elyvilon
%%%%
A corrupted altar of Lugonu
%%%%
A roughly hewn altar of Beogh
%%%%
A fountain of clear blue water
'q'uaff to drink from this fountain. But it's far more pretty than useful, unless you're trying to fetch the Orb without eating, I guess.
%%%%
A fountain of sparkling water
'q'uaff to drink from this magic fountain. Expect magical effects, as long as it's still magic.
%%%%
A dry fountain
%%%%