--- deliantra/server/ext/rent.ext 2007/05/22 10:42:48 1.8 +++ deliantra/server/ext/rent.ext 2007/06/26 04:56:10 1.10 @@ -59,11 +59,11 @@ cf::db_put rent => balance => $deduct + cf::db_get rent => "balance"; $pl->ob->{bank_balance} -= $deduct; $pl->{rent}{balance} -= $deduct; - $pl->ob->reply (undef, "Something whispers into your ear:\n" - . "Sir, we deducted your apartment rent ($deduct_string) from your bank account."); + $pl->ob->reply (undef, "Something whispers into your ear: " + . "Your highness, we deducted your apartment rent ($deduct_string) from your bank account."); } else { - $pl->ob->reply (undef, "Something whispers into your ear:\n" - . "Sir, we want to deduct the apartment rent ($deduct_string), but the bank informed us that they cannot perform the transaction. " + $pl->ob->reply (undef, "Something whispers into your ear: " + . "Your highness, we want to deduct the apartment rent ($deduct_string), but the bank informed us that they cannot perform the transaction. " . "Please even out your balance so we can deduct the fees, otherwise we will be forced to shut down your access to the apartment."); } } @@ -92,7 +92,7 @@ my $type = exists $pl->{rent}{apartment}{$k} ? 1 : 2; $pl->ob->reply (undef, "model \"$v->[2]\", situated in $v->[1] (" - . (cf::cost_string_from_value $v->[0]) . "/hr)") + . (cf::cost_string_from_value $v->[0]) . "/hr)\n") if $type & $types; } }; @@ -117,7 +117,7 @@ $pl->{rent}{apartment}{$apartment} = undef; - $pl->ob->reply (undef, "Wonderful decision, sir! " + $pl->ob->reply (undef, "Wonderful decision, your highness! " . "We told the proprietor in $apartment{$apartment}[1] to expect you and let you in. " . "We are sure you will be satisfied!"); }; @@ -167,9 +167,9 @@ if ($map->path eq $path) { if (check_balance $pl) { - $pl->ob->reply (undef, "Welcome to your apartment, sir!"); + $pl->ob->reply (undef, "Welcome to your apartment, your highness!"); } else { - $pl->ob->reply (undef, "We are sorry, sir, you have to pay your rent first."); + $pl->ob->reply (undef, "We are sorry, your highness, you have to pay your rent first."); reject_entry $pl; } @@ -177,7 +177,7 @@ } } - $pl->ob->reply (undef, "Sir, you have to rent this apartment in The Apartment Shop in Scorn first!"); + $pl->ob->reply (undef, "Your highness, you have to rent this apartment in The Apartment Shop in Scorn first!"); reject_entry $pl; } },