parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -98,8 +98,7 @@ namespace Server.Gumps
|
|||
}
|
||||
|
||||
from.SendLocalizedMessage(1062436,
|
||||
totalItems + "\t" +
|
||||
inventory.Gold); // The vendor you selected had ~1_COUNT~ items in its inventory, and ~2_AMOUNT~ gold in its account.
|
||||
$"{totalItems}\t{inventory.Gold}"); // The vendor you selected had ~1_COUNT~ items in its inventory, and ~2_AMOUNT~ gold in its account.
|
||||
|
||||
int givenGold = Banker.DepositUpTo(from, inventory.Gold);
|
||||
inventory.Gold -= givenGold;
|
||||
|
|
@ -107,8 +106,7 @@ namespace Server.Gumps
|
|||
from.SendLocalizedMessage(1060397,
|
||||
givenGold.ToString()); // ~1_AMOUNT~ gold has been deposited into your bank box.
|
||||
from.SendLocalizedMessage(1062437,
|
||||
givenToBackpack + "\t" +
|
||||
givenToBankBox); // ~1_COUNT~ items have been removed from the shop inventory and placed in your backpack. ~2_BANKCOUNT~ items were removed from the shop inventory and placed in your bank box.
|
||||
$"{givenToBackpack}\t{givenToBankBox}"); // ~1_COUNT~ items have been removed from the shop inventory and placed in your backpack. ~2_BANKCOUNT~ items were removed from the shop inventory and placed in your bank box.
|
||||
|
||||
if (inventory.Gold > 0 || inventory.Items.Count > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue