summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-22 16:58:15 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-22 16:58:15 +0000
commit30ea1167a88727d2f2dccfdf2ee830700ac116da (patch)
tree33873e9da90f135f0a64dcf588079c3d4dec89c5 /crawl-ref/source/ouch.cc
parent6346b53cc0d9fbcb5484e41967e5ae7ffb16cc71 (diff)
downloadcrawl-ref-30ea1167a88727d2f2dccfdf2ee830700ac116da.tar.gz
crawl-ref-30ea1167a88727d2f2dccfdf2ee830700ac116da.zip
Added verbose hiscore output to char_dump, and
mostly changed morgue information to past time, e.g. "Vehumet was exalted by your worship." (The exception being mutations.) I admit this was very low priority, but it has always bugged me. Included new options (explore_stop for gates and dump hiscore) in the relevant documentation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2027 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 62a3500289..6675ba667d 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -843,6 +843,11 @@ void ouch( int dam, int death_source, kill_method_type death_type,
crawl_state.need_save = false;
crawl_state.updating_scores = true;
+ take_note(
+ Note( NOTE_DEATH, you.hp, you.hp_max,
+ scorefile_entry(dam, death_source, death_type, aux)
+ .death_description(scorefile_entry::DDV_NORMAL).c_str()), true );
+
// prevent bogus notes
activate_notes(false);