Hey, I can't help it! :)
Fix 1872624: Detect creatures revealing too much info The tiles drawn for detected monsters are now mons_genus(monster). It's not quite as strict as only showing the letter in ASCII (e.g. merfolk, minotaur and elephant slug have different genus but one common letter), but it's certainly better than showing the actual monster.
Some more changes to L-click action in inventory, this time adding rods to the mix that can now be evoked rather than unwielded.
Also:
And, not tile-related: FR 1819454: * add mutation line for gourmand behaviour of Ogres and Troll.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3295 c06c8d41-db1a-0410-9941-cceddc491573
ND3T5LCZATC63EVQ6SLI7XXMSUL7XICJDNLH3UCYUDEFWTA3N5MQC
YP2ADVIVFDLAU4NYFG7BTHV6BMH7VPKUYQ6WVQF3Z725L3DSX7HAC
YMC3RKF4Z7DOHZNGG7INC343SXCTWOPK7ISD42I3WA3AZZNVBGIAC
25CH7HH4LKXFIZ75YNMXS3TSXO6O27DYSOPLOD45K4OCNFWLS4LQC
7G4KWTOOBRLHOZZGFGAXGTUCDF3FGSZOXVHUZZ3V2KVWYSFE7EKAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
CMNLYUECIMEZSOYG4KOSINOPER5OM7PPCGIHCM7LQVWEO77XFUYQC
BOJPQUU6D4LHA2PGXUZBGTOW54G7ISKFXC4UQHLBSVAI7KQGYW6QC
WSENSWVHRNAW2NZO3HQLRV3HJKULA4JQHKM65M2NINZSD6NRQAMAC
FOQJ5S5WR7P7YMEWQ5Q4O7LTGLQ7LFVM4I2SG2Q7MIVC4PB2JHTQC
const coord_def gc(x,y);
unsigned int feature = grd(gc);
if (x == you.x_pos && y == you.y_pos)
c = MAP_WHITE; // player position always in white
else if (mgrd[x][y] != NON_MONSTER && mons_friendly(&menv[mgrd[x][y]])
&& upd_tile)
c = MAP_LTRED; // friendly monsters subtly different from hostiles
else
{
const coord_def gc(x,y);
unsigned int feature = grd(gc);
switch (what)
{
// In some cases (like smoke), update the gmap with the ground color
// instead. This keeps it prettier in the case of lava + smoke.
case '#':
c = gmap_col[grid_symbol & 0xff];
break;
default:
c = gmap_col[what & 0xff];
break;
switch (what)
{
// In some cases (like smoke), update the gmap with the ground color
// instead. This keeps it prettier in the case of lava + smoke.
case '#':
c = gmap_col[grid_symbol & 0xff];
break;
default:
c = gmap_col[what & 0xff];
break;
}
handle_read_book(idx);
return;
}
// else it's a spellbook
learn_spell(idx);
if (check_warning_inscriptions(you.inv[idx], OPER_READ))
handle_read_book(idx);
} // else it's a spellbook
else if (check_warning_inscriptions(you.inv[idx], OPER_MEMORISE))
learn_spell(idx);