ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/schmorp-neko.ext
(Generate patch)

Comparing deliantra/maps/perl/schmorp-neko.ext (file contents):
Revision 1.29 by root, Fri Sep 8 17:33:55 2006 UTC vs.
Revision 1.31 by root, Wed Sep 13 00:29:46 2006 UTC

69 $spell->free; 69 $spell->free;
70 } 70 }
71 71
72 } else { 72 } else {
73 # check for fish in his inv and steal it 73 # check for fish in his inv and steal it
74 if (my $fish = (grep $_->archetype->name eq "fishfood", $pl->inv)[0]) { 74 if (my $fish = (grep $_->arch->name eq "fishfood", $pl->inv)[0]) {
75 # add force 75 # add force
76 my $gave_fish = cf::object::new "force"; 76 my $gave_fish = cf::object::new "force";
77 $gave_fish->slaying ("schmorp-neko-gave-fish"); 77 $gave_fish->slaying ("schmorp-neko-gave-fish");
78 $gave_fish->speed (0); 78 $gave_fish->speed (0);
79 $gave_fish->insert_ob_in_ob ($pl); 79 $gave_fish->insert_ob_in_ob ($pl);
125 teleport $hitter, "/scorn/misc/scorn_illusions", 15, 7; 125 teleport $hitter, "/scorn/misc/scorn_illusions", 15, 7;
126 $hitter->message ("You hear strange noises all around you..."); 126 $hitter->message ("You hear strange noises all around you...");
127 $hitter->message ("You feel dumb."); 127 $hitter->message ("You feel dumb.");
128 } 128 }
129 } else { 129 } else {
130 $hitter->hp (-1); 130 $hitter->stats->hp (-1);
131 $hitter->kill_object; 131 $hitter->kill_object;
132 } 132 }
133 133
134 cf::override; 134 cf::override;
135} 135}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines