Add flavour messages to opening the gate to Zot. Really, we'd need something like that for winning the game, but what?
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10365 c06c8d41-db1a-0410-9941-cceddc491573
3Z3XT5LGULCCEN2BVCYLB6NPSZUV2TNICMT6U4EULBLSUVWHR5LAC
G5FMBUMNRJOHBPVOWV2TDZKO3CB4K5TSASXB4ONIYXZGUN3GJWQQC
IXO5VNCDYDYI46Y5QWNJMD7TURKYO526CJA4TIMH5PDDAYHMK5YQC
HBXWZNXAJ7LUX7FYUIHQYBTRMWVJC6CAQQL3NNZHK5ETLIFEZJ7QC
VCXFRSVISXV7UKE644IGIMGV66AAOA5QWASFJOBLM6GH244CR3XAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
5BJPWUPLJFS34FUTFJVKA4A52YMIGV6EWDXLNSDCWBJWBGVSQFGQC
R4C5QGEC3OGE4CUMAOJ7FE2Z4EMX46Z5DXDHP26FLYI54NXERPMAC
YCL3W2PFE6ILTGBFODCSXNPDIA46KVSZP2TI7HDMYAOEJT65RIEAC
AVCMVFA3MKCXHO6H44UK5KJNIHTGQV7UA7GYXM26VI6TXXU5ZN6QC
ZL4S2AICGMIH5DCHUXH6GJHSGELIONW6DOMFWB5PE62BVS7QZZEAC
void corpsify(int corpse_width, int corpse_height,
int cut_separate, int cut_height, const tile_colour &wound);
void corpsify(unsigned int corpse_width, unsigned int corpse_height,
unsigned int cut_separate, unsigned int cut_height,
const tile_colour &wound);
void tile::corpsify(int corpse_width, int corpse_height,
int cut_separate, int cut_height, const tile_colour &wound)
void tile::corpsify(unsigned int corpse_width, unsigned int corpse_height,
unsigned int cut_separate, unsigned int cut_height,
const tile_colour &wound)
if (get_pixel(x-1,y-1) == tile_colour::black &&
flags(x-2, y-2) && flags(x-3, y-3) &&
get_pixel(x-1, y) == tile_colour::black &&
get_pixel(x, y-1) == tile_colour::black)
if (get_pixel(x-1,y-1) == tile_colour::black
&& flags(x-2, y-2) && flags(x-3, y-3)
&& get_pixel(x-1, y) == tile_colour::black
&& get_pixel(x, y-1) == tile_colour::black)
// TODO: This needs a better message!
mpr("The gate opens wide!");
ASSERT(runes.size() >= 3);
mprf("You insert %s into the lock.",
you.inv[runes[0]].name(DESC_NOCAP_THE).c_str());
#ifdef USE_TILE
tiles.add_overlay(you.pos(), tileidx_zap(GREEN));
update_screen();
#else
you.flash_colour = LIGHTGREEN;
viewwindow(true, false);
#endif
mpr("The lock glows an eerie green colour!");
more();
mprf("You insert %s into the lock.",
you.inv[runes[1]].name(DESC_NOCAP_THE).c_str());
big_cloud(CLOUD_PURP_SMOKE, KC_YOU, you.pos(), 20, 7 + random2(7));
viewwindow(true, false);
mpr("Heavy smoke blows from the lock!");
more();
mprf("You insert %s into the lock.",
you.inv[runes[2]].name(DESC_NOCAP_THE).c_str());
if (silenced(you.pos()))
mpr("The gate opens wide!");
else
mpr("With a loud hiss the gate opens wide!");
more();