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

Comparing deliantra/server/ext/invite.ext (file contents):
Revision 1.6 by root, Sat May 17 16:40:01 2008 UTC vs.
Revision 1.9 by elmex, Fri Mar 26 19:12:25 2010 UTC

32 my ($map, $x, $y) = @_; 32 my ($map, $x, $y) = @_;
33 33
34 for my $x (0 .. $map->width - 1) { 34 for my $x (0 .. $map->width - 1) {
35 for my $y (0 .. $map->height - 1) { 35 for my $y (0 .. $map->height - 1) {
36 return 4 36 return 4
37 if grep $_->flag (cf::FLAG_MONSTER), 37 if grep $_->flag (cf::FLAG_MONSTER)
38 && !$_->flag (cf::FLAG_FRIENDLY)
39 && !$_->flag (cf::FLAG_UNAGGRESSIVE),
38 $map->at ($x, $y); 40 $map->at ($x, $y);
39 } 41 }
40 } 42 }
41 43
42 if ($map->path =~ /^~/) { 44 if ($map->path =~ /^~/) {
48 } 50 }
49} 51}
50 52
51my @maplevel = ( 53my @maplevel = (
52 "some mysterious hideout", 54 "some mysterious hideout",
53 "his home", 55 "a private apartment",
54 "his guild", # wrong, this is any unique place !player-specific 56 "a guild", # wrong, this is any unique place !player-specific
55 "a nice place", 57 "some nice and safe place",
56 "a place with monsters", 58 "a place with monsters",
57); 59);
58 60
59my %invite; 61my %invite;
60 62

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines