writing types for Tomes of Destruction), and move them into their own file. Also, tweak the message for glowing colors used by scrolls of random uselessness so that they no longer have to start with consonants.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5269 c06c8d41-db1a-0410-9941-cceddc491573
IQ62EJHYKMOSPZ2M2S5KSYYLGPOQ5A6TDCXA3EHHCWBER7QVTFLAC
MKJLH3WVCKLKOSGNLQUUUJQZVU5A6DSLSK4ZP5QTAGWUVYV4XHUQC
VSO3NZWH2I6K7D53CETCJLQYDWAK4O63E7K4FDZWL7YZWR7I7WLQC
XB5K6UHI44JKW7ATO235ISAAAQMZ2OLR4W7NFUCR7LMKIA3T7LMQC
WCN4CY4PNHX3Y4PBPT76OTLK56GRSOXBLC7SW73JDGTUMAI6CQXAC
F7Q7QRZACTDPP6KH3AB5J6B6B5PRVV4FURTOIGXHRHWNVSQT3TVAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
XRZPPYWPWUOM4SFNI6BHKH2UKJQNLKOV6Y7XIEPEZXE5QYRT26PAC
4UXFU3FZOCBSLDQ4S7MJKAE2H7VUHCNRDQMIY6NJ3PHYXWNGISDQC
557IY36VX2M4ERVCP5HNI3YTHHVTHPETZ5RWDX5BKDKXXIYCFUJAC
SIXMP3FJ4FZHK2YVUPUNE7VA5RHRUJR2WBDETDPPXHIBCQQCC2QAC
Y56C5OMUQ5XF2G6DKDV4R5MED44UOIUPTBBQVWQBUHYIXYA5MOZAC
EJKHYV2Z6UPRVYUAL4WRW33GBNHYBFPMPA57HMBX2LQKXHIUO5VQC
int temp_rand; // for probability determinations {dlb}
std::string result;
temp_rand = random2(14);
result =
(temp_rand == 0) ? "writhing" :
(temp_rand == 1) ? "bold" :
(temp_rand == 2) ? "faint" :
(temp_rand == 3) ? "spidery" :
(temp_rand == 4) ? "blocky" :
(temp_rand == 5) ? "angular" :
(temp_rand == 6) ? "shimmering" :
(temp_rand == 7) ? "glowing" :
(temp_rand == 8) ? "pulsating" :
(temp_rand == 9) ? "sinuous"
: "";
std::string result = getRandNameString("writing_name");
result += ' ';
temp_rand = random2(14);
result +=
(temp_rand == 0) ? "writing" :
(temp_rand == 1) ? "scrawl" :
(temp_rand == 2) ? "sigils" :
(temp_rand == 3) ? "runes" :
(temp_rand == 4) ? "hieroglyphics" :
(temp_rand == 5) ? "figures" :
(temp_rand == 6) ? "print-out" :
(temp_rand == 7) ? "binary code" :
(temp_rand == 8) ? "glyphs" :
(temp_rand == 9) ? "symbols"
: "text";
std::string weird_glow_colour()
{
int temp_rand; // for probability determinations {dlb}
std::string result;
// Must start with a consonant!
temp_rand = random2(8);
result =
(temp_rand == 0) ? "brilliant" :
(temp_rand == 1) ? "pale" :
(temp_rand == 2) ? "mottled" :
(temp_rand == 3) ? "shimmering" :
(temp_rand == 4) ? "bright" :
(temp_rand == 5) ? "dark" :
(temp_rand == 6) ? "shining"
: "faint";
result += ' ';
result += weird_colour();
return result;
}
colour_name
Aubergine
Azure
Beige
Black
Blue
Bronze
Brown
Charcoal
Chartreuse
Cyan
Gold
Green
Grey
Indigo
Leaf Green
Lime Green
Magenta
Marigold
Mauve
Ochre
Orange
Pink
Purple
Red
Rubric
Scarlet
Silver
Umber
White
Yellow
%%%%
######################################################
# Miscellaneous
# -------------
# miscname.txt: lookup miscellaneous names
#
# This file contains a list of names for miscellaneous things.
# This is currently only used for colours and writing types.
#
# Note that randarts may use these as well.
######################################################
%%%%
glowing_adj
Brilliant
Pale
Mottled
Shimmering
Bright
Dark
Shining
Faint
%%%%
colour_name
Aubergine
Azure
Beige
Black
Blue
Bronze
Brown
Charcoal
Chartreuse
Cyan
Gold
Green
Grey
Indigo
Leaf Green
Lime Green
Magenta
Marigold
Mauve
Ochre
Orange
Pink
Purple
Red
Rubric
Scarlet
Silver
Umber
White
Yellow
%%%%
glowing_colour_name
@glowing_adj@ @colour_name@
%%%%
writing_adj
Writhing
Bold
Faint
Spidery
Blocky
Angular
Shimmering
Glowing
Pulsating
Sinuous
%%%%
writing_noun
Writing
Scrawl
Sigils
Runes
Hieroglyphics
Figures
Print-Out
Binary Code
Glyphs
Symbols
Text
%%%%
writing_name
@writing_adj@ @writing_noun@
@colour_name@ @writing_noun@
@glowing_colour_name@ @writing_noun@
@writing_adj@ @colour_name@ @writing_noun@
%%%%