Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -3,10 +3,7 @@
|
|||
// Base class for escorts providing the AwardHumanInNeed option
|
||||
public class BaseEscort : MLQuest
|
||||
{
|
||||
public BaseEscort()
|
||||
{
|
||||
CompletionNotice = CompletionNoticeShort;
|
||||
}
|
||||
public BaseEscort() => CompletionNotice = CompletionNoticeShort;
|
||||
|
||||
public virtual bool AwardHumanInNeed => true;
|
||||
|
||||
|
|
|
|||
|
|
@ -131,10 +131,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override bool ShowDetailed => false;
|
||||
|
||||
public override bool CheckItem(Item item)
|
||||
{
|
||||
return item is Pitcher pitcher && pitcher.Content == BeverageType.Water && pitcher.Quantity > 0;
|
||||
}
|
||||
public override bool CheckItem(Item item) => item is Pitcher pitcher && pitcher.Content == BeverageType.Water && pitcher.Quantity > 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -413,20 +410,11 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
{
|
||||
}
|
||||
|
||||
public override int GetAttackSound()
|
||||
{
|
||||
return 0x82;
|
||||
}
|
||||
public override int GetAttackSound() => 0x82;
|
||||
|
||||
public override int GetHurtSound()
|
||||
{
|
||||
return 0x83;
|
||||
}
|
||||
public override int GetHurtSound() => 0x83;
|
||||
|
||||
public override int GetDeathSound()
|
||||
{
|
||||
return 0x84;
|
||||
}
|
||||
public override int GetDeathSound() => 0x84;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
@ -446,10 +434,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public class BravehornsMate : Hind
|
||||
{
|
||||
[Constructible]
|
||||
public BravehornsMate()
|
||||
{
|
||||
Tamable = false;
|
||||
}
|
||||
public BravehornsMate() => Tamable = false;
|
||||
|
||||
public BravehornsMate(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -38,10 +38,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
{
|
||||
[Constructible]
|
||||
public BatteredBucket()
|
||||
: base(0x2004, TimeSpan.FromMinutes(10))
|
||||
{
|
||||
: base(0x2004, TimeSpan.FromMinutes(10)) =>
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
|
||||
public BatteredBucket(Serial serial)
|
||||
: base(serial)
|
||||
|
|
|
|||
|
|
@ -1510,10 +1510,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public class GustarShroud : BaseOuterTorso
|
||||
{
|
||||
[Constructible]
|
||||
public GustarShroud() : base(0x2684)
|
||||
{
|
||||
Hue = 0x479;
|
||||
}
|
||||
public GustarShroud() : base(0x2684) => Hue = 0x479;
|
||||
|
||||
public GustarShroud(Serial serial) : base(serial)
|
||||
{
|
||||
|
|
@ -1988,10 +1985,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
m_SBInfos.Add(new SBNinja());
|
||||
}
|
||||
|
||||
public override bool GetGender()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool GetGender() => false;
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
|
|
@ -2235,10 +2229,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
m_SBInfos.Add(new SBSamurai());
|
||||
}
|
||||
|
||||
public override bool GetGender()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool GetGender() => false;
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -175,10 +175,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
{
|
||||
}
|
||||
|
||||
public override bool CheckItem(Item item)
|
||||
{
|
||||
return item.ItemID == 6585; // Only large pieces count
|
||||
}
|
||||
public override bool CheckItem(Item item) => item.ItemID == 6585;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue