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

Comparing deliantra/server/ext/rent.ext (file contents):
Revision 1.28 by elmex, Wed Mar 31 14:12:29 2010 UTC vs.
Revision 1.29 by root, Fri Apr 16 02:37:50 2010 UTC

177 177
178 if ($map->path eq $path) { 178 if ($map->path eq $path) {
179 if (check_balance $pl) { 179 if (check_balance $pl) {
180 $pl->ob->reply (undef, "Welcome to your apartment, your highness!"); 180 $pl->ob->reply (undef, "Welcome to your apartment, your highness!");
181 } else { 181 } else {
182 $pl->ob->reply (undef, "We are sorry, your highness, you have to pay your rent first."); 182 $pl->failmsg ("We are sorry, your highness, you have to pay your rent first.");
183 reject_entry $pl; 183 reject_entry $pl;
184 } 184 }
185 185
186 return; 186 return;
187 } 187 }
188 } 188 }
189 189
190 $pl->ob->reply (undef, "Your highness, you have to rent this apartment in The Apartment Shop in Scorn or other apartment shops first!"); 190 $pl->failmsg ("Your highness, you have to rent this apartment in The Apartment Shop in Scorn or other apartment shops first!");
191 reject_entry $pl; 191 reject_entry $pl;
192 } 192 }
193 }, 193 },
194; 194;
195 195

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines