ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/reseller.ext
(Generate patch)

Comparing deliantra/server/ext/reseller.ext (file contents):
Revision 1.13 by root, Sun Aug 31 08:54:19 2008 UTC vs.
Revision 1.14 by root, Mon Sep 22 01:33:09 2008 UTC

48 unless (keys %{$hissells || {}}) { 48 unless (keys %{$hissells || {}}) {
49 $who->reply ($npc, "I'm sorry, but you sold nothing.\n"); 49 $who->reply ($npc, "I'm sorry, but you sold nothing.\n");
50 return 0; 50 return 0;
51 } 51 }
52 52
53 my $reply = "You sold:\n\n"; 53 my $reply = "T<You sold:>\n\n";
54 54
55 for (keys %$hissells) { 55 for (keys %$hissells) {
56 my $n = $_; 56 my $n = $_;
57 $n =~ s/\s*\(unpaid\)//g; 57 $n =~ s/\s*\(unpaid\)//g;
58 $reply .= " B<$n> (for " . cf::cost_string_from_value ($hissells->{$_}) . ")\n"; 58 $reply .= " B<$n> (for " . cf::cost_string_from_value ($hissells->{$_}) . ")\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines