ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/bank.ext
(Generate patch)

Comparing deliantra/maps/perl/bank.ext (file contents):
Revision 1.7 by pippijn, Mon May 22 18:52:57 2006 UTC vs.
Revision 1.8 by pippijn, Mon May 22 18:54:12 2006 UTC

105 my @units = sort keys %unit; 105 my @units = sort keys %unit;
106 my $units = join ", ", @units; 106 my $units = join ", ", @units;
107 my $fees = - ($service_charge / 100) + 1; 107 my $fees = - ($service_charge / 100) + 1;
108 108
109 if ($cmd eq "balance") { 109 if ($cmd eq "balance") {
110 $who->message ($ob->name." says: ".balance ($who), cf::NDI_WHITE); 110 $who->message ("$name says: ".balance ($who), cf::NDI_WHITE);
111 111
112 } elsif ($cmd eq "deposit" and $currency) { 112 } elsif ($cmd eq "deposit" and $currency) {
113 $who->message ("$name says: " . (transaction $who, "deposit", $amount, $currency), cf::NDI_WHITE); 113 $who->message ("$name says: " . (transaction $who, "deposit", $amount, $currency), cf::NDI_WHITE);
114 $who->message ("$name says: " . (balance $who), cf::NDI_WHITE); 114 $who->message ("$name says: " . (balance $who), cf::NDI_WHITE);
115 115

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines