character selection.
For weapons, I've applied the following rules:
For books, I've similarly used the aptitudes for Fire/Ice/Summonings. I've tried to apply similar reasonings for Necromancy vs. Yredelemnul (Invocations), but because Invocations is internally boosted few species are even remotely as good in Necromancy as Invocations, so that doesn't really work. I don't understand the logic used to decide which species work good with Xom as opposed to Makhleb.
The plan is to allow players to get an idea about the strengths and weaknesses of their chosen character from the choices offered alone, and to later be able to move these checks into functions of their own and then use them for differentiating between random choices and good random choices, like for species/class.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6150 c06c8d41-db1a-0410-9941-cceddc491573
G5CA5STLILMQZO2ICHZTVTW76V6RMC7KWP4ELU7ANZBNXYSTWV7AC
startwep_restrictions[1] = CC_RESTRICTED;
startwep_restrictions[2] = CC_RESTRICTED;
if (player_genus(GENPC_DRACONIAN))
{
startwep_restrictions[1] = CC_UNRESTRICTED;
startwep_restrictions[2] = CC_UNRESTRICTED;
}
else
{
startwep_restrictions[1] = CC_RESTRICTED;
startwep_restrictions[2] = CC_RESTRICTED;
}
Options.prev_dk == DK_NECROMANCY? "Necromancy" :
Options.prev_dk == DK_YREDELEMNUL? "Yredelemnul" :
"Random");
Options.prev_dk == DK_NECROMANCY ? "Necromancy" :
Options.prev_dk == DK_YREDELEMNUL ? "Yredelemnul"
: "Random");