From 6154ce26f08678558f0e59dc19506bd5af6eeb9c Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 19 Apr 2009 11:48:04 +0000 Subject: * Properly print (non-spoily) resists descriptions for ghosts/pandemonium lords, using mons_class_resists (currently only poison) instead of mons_resists(). * Add option note_xom_effects (defaults to true) that causes note-taking for all Xom effects, hopefully spoiler free. * Autoinscribe hides from unique monsters' corpses with the monster name, as suggested on rgrm. Currently only applies to Snorg and Tiamat. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9652 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/monstuff.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index edee201177..1a96b717da 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -374,8 +374,10 @@ int fill_out_corpse(const monsters* monster, item_def& corpse, if (!monster->mname.empty()) corpse.props[CORPSE_NAME_KEY] = monster->mname; else if (mons_is_unique(monster->type)) + { corpse.props[CORPSE_NAME_KEY] = mons_type_name(monster->type, DESC_PLAIN); + } return (corpse_class); } -- cgit v1.2.3-54-g00ecf