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

Comparing deliantra/server/ext/item-slag-ex.ext (file contents):
Revision 1.3 by root, Mon Apr 21 06:35:26 2008 UTC vs.
Revision 1.4 by elmex, Fri Oct 17 10:48:57 2008 UTC

13 my ($caul) = 13 my ($caul) =
14 grep { $_->flag (cf::FLAG_IS_CAULDRON) } 14 grep { $_->flag (cf::FLAG_IS_CAULDRON) }
15 $who->map->at ($who->x, $who->y); 15 $who->map->at ($who->x, $who->y);
16 16
17 if ($caul) { 17 if ($caul) {
18 $_->destroy (1) for $caul->inv; 18 $_->destroy () for $caul->inv;
19 $self->handle_apply_yield; 19 $self->handle_apply_yield;
20 $self->decrease; 20 $self->decrease ();
21 $who->message ("You cleaned the " . $caul->name, cf::NDI_UNIQUE); 21 $who->message ("You cleaned the " . $caul->name, cf::NDI_UNIQUE);
22 22
23 } else { 23 } else {
24 $who->message ("Couldn't find cauldron to clean on the ground.", cf::NDI_UNIQUE); 24 $who->message ("Couldn't find cauldron to clean on the ground.", cf::NDI_UNIQUE);
25 } 25 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines