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

@ -55,10 +55,7 @@ namespace Server.Engines.Quests.Hag
{
private Point3D m_ImpLocation;
public ImpDeathConversation(Point3D impLocation)
{
m_ImpLocation = impLocation;
}
public ImpDeathConversation(Point3D impLocation) => m_ImpLocation = impLocation;
public ImpDeathConversation()
{
@ -213,10 +210,7 @@ namespace Server.Engines.Quests.Hag
{
private bool m_FirstMet;
public BlackheartPirateConversation(bool firstMet)
{
m_FirstMet = firstMet;
}
public BlackheartPirateConversation(bool firstMet) => m_FirstMet = firstMet;
public BlackheartPirateConversation()
{

View file

@ -3,10 +3,7 @@ namespace Server.Items
public class Cauldron : Item
{
[Constructible]
public Cauldron() : base(0x9ED)
{
Weight = 1.0;
}
public Cauldron() : base(0x9ED) => Weight = 1.0;
public Cauldron(Serial serial) : base(serial)
{

View file

@ -35,10 +35,7 @@ namespace Server.Engines.Quests.Hag
return apprentice;
}
private static List<Item> GetEquipment()
{
return new List<Item>();
}
private static List<Item> GetEquipment() => new List<Item>();
public override void AddNameProperty(ObjectPropertyList list)
{

View file

@ -5,10 +5,7 @@ namespace Server.Engines.Quests.Hag
public class MagicFlute : Item
{
[Constructible]
public MagicFlute() : base(0x1421)
{
Hue = 0x8AB;
}
public MagicFlute() : base(0x1421) => Hue = 0x8AB;
public MagicFlute(Serial serial) : base(serial)
{

View file

@ -3,10 +3,7 @@ namespace Server.Engines.Quests.Hag
public class MoonfireBrew : Item
{
[Constructible]
public MoonfireBrew() : base(0xF04)
{
Weight = 1.0;
}
public MoonfireBrew() : base(0xF04) => Weight = 1.0;
public MoonfireBrew(Serial serial) : base(serial)
{

View file

@ -19,10 +19,7 @@ namespace Server.Engines.Quests.Hag
Body = 0x4A;
}
public override bool CanTalkTo(PlayerMobile to)
{
return false;
}
public override bool CanTalkTo(PlayerMobile to) => false;
public override void OnTalk(PlayerMobile player, bool contextMenu)
{

View file

@ -189,10 +189,7 @@ namespace Server.Engines.Quests.Hag
public class FindZeefzorpulObjective : QuestObjective
{
public FindZeefzorpulObjective(Point3D impLocation)
{
ImpLocation = impLocation;
}
public FindZeefzorpulObjective(Point3D impLocation) => ImpLocation = impLocation;
public FindZeefzorpulObjective()
{