randomize the colour of their potions and scrolls so as to not leak any info to the player.
During arena mode don't display the pluses, curse status or glowing/runed/etc status of items.
Don't learn-through-observation the identities of potions/wands/etc during arena mode.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8257 c06c8d41-db1a-0410-9941-cceddc491573
Y26UG3JWXZG3USM5R36UIZAZWVSC67ZKPE6CSIP3SUBVPB7MZSGQC
CKKQS65COJ4KKOWYCKSEAPTH2X6HZSCFOT62JQOK5QDSILBKSFDAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
VBG2GGMVC66LQM4OSI67VKXGAQK4GVOEHX3OL6V3IFOO52MQL72QC
SZBMBNW34N2SM7Y6QBKBSA7OMLEMLFGCE4NSMHCBH6ORU2MYY2MQC
R32CQ6FQJTQLB35P3HENIDCBDT3UWXBBCDAAUWHUQO6G6NKEDPKQC
PKXXBHS3LWLPZI2QVRX22MSQ4R2626IXRSNHFFYHXYTLJJQU54LQC
for (int i = 0; i < NUM_MONSTER_SLOTS; i++)
{
short it = monster->inv[i];
if (it != NON_ITEM)
{
item_def &item(mitm[it]);
item.flags |= ISFLAG_IDENT_MASK;
// Don't leak info on wands or potions.
if (item.base_type == OBJ_WANDS
|| item.base_type == OBJ_POTIONS)
{
item.colour = random_colour();
}
}
}