From 9b80265cc3dfe382bc7f629093a644e9150c9156 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Wed, 15 May 2013 21:13:58 +0000 Subject: [PATCH] Timed died/lifes left are shown on textual chardump git-svn-id: http://svn.net-core.org/repos/t-engine4@6716 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/dialogs/CharacterSheet.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/game/modules/tome/dialogs/CharacterSheet.lua b/game/modules/tome/dialogs/CharacterSheet.lua index 8f7687c9bd..22aa5fd763 100644 --- a/game/modules/tome/dialogs/CharacterSheet.lua +++ b/game/modules/tome/dialogs/CharacterSheet.lua @@ -978,6 +978,13 @@ function _M:dump() nnl(("%-32s"):format(makelabel("Gold", ("%.2f"):format(player.money)))) nl(("CON: %d"):format(player:getCon())) + if player.died_times then + nl(("Times died : %d"):format(#player.died_times)) + end + if player.easy_mode_lifes then + nl(("Lifes left : %d"):format(player.easy_mode_lifes)) + end + -- All weapons in main hands local strings = {} for i = 1, 6 do strings[i]="" end -- GitLab