… | |
… | |
114 | or return $who->reply ($npc, "I don't know any person named '$args'."); |
114 | or return $who->reply ($npc, "I don't know any person named '$args'."); |
115 | |
115 | |
116 | my $s = $pl->ob->{stats_death} |
116 | my $s = $pl->ob->{stats_death} |
117 | or return $who->reply ($npc, "$args didn't die even once."); |
117 | or return $who->reply ($npc, "$args didn't die even once."); |
118 | |
118 | |
119 | my $rep = "$args died a total of " . $pl->ob->kv_set ("schmorplog_death_count") . " times, among them:\n\n\n\n"; |
119 | my $rep = "$args died a total of " . $pl->ob->kv_get ("schmorplog_death_count") . " times, among them:\n\n\n\n"; |
120 | |
120 | |
121 | for (sort { $s->{$b} <=> $s->{$a} } keys %$s) { |
121 | for (sort { $s->{$b} <=> $s->{$a} } keys %$s) { |
122 | $rep .= "$s->{$_} time(s) due to $_.\n\n"; |
122 | $rep .= "$s->{$_} time(s) due to $_.\n\n"; |
123 | } |
123 | } |
124 | |
124 | |