… | |
… | |
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 | |