ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Item.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Item.pm (file contents):
Revision 1.5 by root, Mon Apr 23 19:20:03 2007 UTC vs.
Revision 1.6 by root, Tue Jul 17 22:08:56 2007 UTC

194 194
195 on_button_down => $button_cb, 195 on_button_down => $button_cb,
196 on_tooltip_show => sub { 196 on_tooltip_show => sub {
197 my ($widget) = @_; 197 my ($widget) = @_;
198 198
199 $::CONN->ex ($self->{tag}, sub { 199 $::CONN && $::CONN->ex ($self->{tag}, sub {
200 my ($long_desc) = @_; 200 my ($long_desc) = @_;
201 201
202 $long_desc =~ s/\s+$//; 202 $long_desc =~ s/\s+$//;
203 203
204 $self->{long_desc} = $long_desc; 204 $self->{long_desc} = $long_desc;
228 . ($self->{weight} >= 0 ? "One item weighs $self->{weight}g. " : "You have no idea how much this weighs. ") 228 . ($self->{weight} >= 0 ? "One item weighs $self->{weight}g. " : "You have no idea how much this weighs. ")
229 . ($self->{nrof} ? "You have $self->{nrof} of it. " : "Item cannot stack with others of it's kind. ") 229 . ($self->{nrof} ? "You have $self->{nrof} of it. " : "Item cannot stack with others of it's kind. ")
230 . "\n\n$tooltip_std" 230 . "\n\n$tooltip_std"
231 ); 231 );
232} 232}
233

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines