and how to turn autopickup/autoprayer on again after an encounter with an invisible creature.
I also modified selection of book shops, so the offered books are more likely to be different. This changes balance in that on the whole more books are present, so maybe we should simply throw duplicates out rather than reroll. Oh, and manuals are now even rarer than before. Maybe they should be excepted from this new rule.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2056 c06c8d41-db1a-0410-9941-cceddc491573
QZERCVTY5BISIKSDH6WUXGZPIBAF4KUCGSZEEGMGBCORNUXT4HXAC
// increase stock of this subtype by 1, unless it is an artefact
// (allow for several artefacts of the same underlying subtype)
// - the latter is currently unused but would apply to e.g. jewellery
if (need_varied_selection(env.shop[i].type) && !is_artefact(mitm[orb]))
stocked[mitm[orb].sub_type]++;
}
// Is a feature interesting enough to 'v'iew it, even if a player normally
// doesn't care about descriptions, i.e. does the description hold important
// information? (Yes, this is entirely subjective. JPEG)
static bool interesting_feature(dungeon_feature_type feat)
{
switch (feat)
{
case DNGN_ENTER_ORCISH_MINES:
case DNGN_ENTER_SLIME_PITS:
case DNGN_ENTER_LABYRINTH:
// case DNGN_SPARKLING_FOUNTAIN:
return true;
default:
return false;
}