git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5277 c06c8d41-db1a-0410-9941-cceddc491573
6IY4YKTCKV4YYQKG7CUB6HNTGRUSP3BCZV2B6GEATTC4QN4TESNQC
IQ62EJHYKMOSPZ2M2S5KSYYLGPOQ5A6TDCXA3EHHCWBER7QVTFLAC
557IY36VX2M4ERVCP5HNI3YTHHVTHPETZ5RWDX5BKDKXXIYCFUJAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
F7Q7QRZACTDPP6KH3AB5J6B6B5PRVV4FURTOIGXHRHWNVSQT3TVAC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
XRZPPYWPWUOM4SFNI6BHKH2UKJQNLKOV6Y7XIEPEZXE5QYRT26PAC
RYT42Z6CED4KV5CCJ45CHZ3DQGLFMDCVH6CSQZNXOILULDG4MXVQC
temp_rand = random2(8);
mprf("You hear the distant roaring of an enraged %s!",
(temp_rand == 0) ? "frog" :
(temp_rand == 1) ? "pill bug" :
(temp_rand == 2) ? "millipede" :
(temp_rand == 3) ? "eggplant" :
(temp_rand == 4) ? "albino dragon" :
(temp_rand == 5) ? "dragon" :
(temp_rand == 6) ? "human"
: "slug");
msg::stream << "You hear the distant roaring of an enraged "
<< weird_roaring_animal() << "!" << std::endl;
{
temp_rand = random2(8);
mprf("You smell %s",
(temp_rand == 0) ? "coffee." :
(temp_rand == 1) ? "salt." :
(temp_rand == 2) ? "burning hair!" :
(temp_rand == 3) ? "baking bread." :
(temp_rand == 4) ? "something weird." :
(temp_rand == 5) ? "wet wool." :
(temp_rand == 6) ? "sulphur."
: "fire and brimstone!");
}
msg::stream << "You smell " << weird_smell() << "." << std::endl;
roaring_animal_name
Frog
Pill Bug
Millipede
Eggplant
Albino Dragon
Dragon
Human
Slug
%%%%
smell_name
Coffee
Salt
Burning Hair
Baking Bread
Something Weird
Wet Wool
Sulphur
Fire and Brimstone
%%%%