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

Comparing deliantra/server/ext/slag_ex.ext (file contents):
Revision 1.1 by elmex, Mon Jul 16 14:49:01 2007 UTC vs.
Revision 1.2 by elmex, Mon Jul 16 14:59:32 2007 UTC

3# this module implements slag ex(tm): 3# this module implements slag ex(tm):
4# when it is applied by a player the cauldron below it will 4# when it is applied by a player the cauldron below it will
5# be cleaned (all items in it will be removed) 5# be cleaned (all items in it will be removed)
6 6
7cf::object->attach ( 7cf::object->attach (
8 type => 79, 8 type => 5, # POTION
9 subtype => 11, 9 subtype => 11, # just a random number
10 on_apply => sub { 10 on_apply => sub {
11 my ($self, $who) = @_; 11 my ($self, $who) = @_;
12 12
13 my ($caul) = 13 my ($caul) =
14 grep { $_->flag (cf::FLAG_IS_CAULDRON) } 14 grep { $_->flag (cf::FLAG_IS_CAULDRON) }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines