Formatting #2 (#59)

This commit is contained in:
Kamron Batman 2019-10-05 00:37:03 -07:00 • committed by GitHub
parent 096d39609e
commit 8e9221bb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 3688 additions and 5969 deletions

View file

@ -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)
{