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

Comparing deliantra/server/ext/map-link.ext (file contents):
Revision 1.5 by root, Sat Sep 1 03:30:12 2007 UTC vs.
Revision 1.8 by root, Sat Dec 13 20:34:37 2008 UTC

6 my ($self) = @_; 6 my ($self) = @_;
7 7
8 # singleton :/ 8 # singleton :/
9 $self->width (21); 9 $self->width (21);
10 $self->height (21); 10 $self->height (21);
11 $self->nodrop (1); 11 $self->no_drop (1);
12 12
13 $self->name ("interdimensional nothingness"); 13 $self->name ("interdimensional nothingness");
14 14
15 $self->alloc; 15 $self->alloc;
16 $self->in_memory (cf::MAP_IN_MEMORY); 16 $self->in_memory (cf::MAP_ACTIVE);
17 17
18 # provide some exits "home" 18 # provide some exits "home"
19 my $exit = cf::object::new "exit"; 19 my $exit = cf::object::new "exit";
20 my $guard = Coro::guard { $exit->destroy }; 20 Guard::scope_guard { $exit->destroy };
21 21
22 $exit->slaying ($cf::EMERGENCY_POSITION->[0]); 22 $exit->slaying ($cf::EMERGENCY_POSITION->[0]);
23 $exit->stats->hp ($cf::EMERGENCY_POSITION->[1]); 23 $exit->stats->hp ($cf::EMERGENCY_POSITION->[1]);
24 $exit->stats->sp ($cf::EMERGENCY_POSITION->[2]); 24 $exit->stats->sp ($cf::EMERGENCY_POSITION->[2]);
25 25

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines