Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 • committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -63,10 +63,7 @@ namespace Server.Mobiles
{
private PlayerBarkeeper m_Barkeeper;
public ChangeTipMessagePrompt(PlayerBarkeeper barkeeper)
{
m_Barkeeper = barkeeper;
}
public ChangeTipMessagePrompt(PlayerBarkeeper barkeeper) => m_Barkeeper = barkeeper;
public override void OnCancel(Mobile from)
{
@ -185,10 +182,7 @@ namespace Server.Mobiles
public override VendorShoeType ShoeType => Utility.RandomBool() ? VendorShoeType.ThighBoots : VendorShoeType.Boots;
protected override List<SBInfo> SBInfos => m_SBInfos;
public override bool GetGender()
{
return false; // always starts as male
}
public override bool GetGender() => false;
public override void InitOutfit()
{
@ -215,10 +209,7 @@ namespace Server.Mobiles
pack?.Delete();
}
public override bool HandlesOnSpeech(Mobile from)
{
return InRange(from, 3) || base.HandlesOnSpeech(from);
}
public override bool HandlesOnSpeech(Mobile from) => InRange(from, 3) || base.HandlesOnSpeech(from);
private void ShoutNews_Callback(TownCrierEntry tce, int index)
{
@ -922,10 +913,7 @@ namespace Server.Mobiles
AddItem(580, 46, 4030);
}
private int GetButtonID(int type, int index)
{
return 1 + index * 6 + type;
}
private int GetButtonID(int type, int index) => 1 + index * 6 + type;
private void RenderMessageManagement_Tip_AddOrChange()
{