Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
Binary file not shown.
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
// Base class for escorts providing the AwardHumanInNeed option
|
||||
public class BaseEscort : MLQuest
|
||||
{
|
||||
public virtual bool AwardHumanInNeed { get { return true; } }
|
||||
public virtual bool AwardHumanInNeed => true;
|
||||
|
||||
public BaseEscort()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class VilePoison : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( ARockAndAHardPlace ); } }
|
||||
public override Type NextQuest => typeof( ARockAndAHardPlace );
|
||||
|
||||
public VilePoison()
|
||||
{
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class ARockAndAHardPlace : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( SympatheticMagic ); } }
|
||||
public override Type NextQuest => typeof( SympatheticMagic );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public ARockAndAHardPlace()
|
||||
|
|
@ -64,7 +64,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class SympatheticMagic : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( AlreadyDead ); } }
|
||||
public override Type NextQuest => typeof( AlreadyDead );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public SympatheticMagic()
|
||||
|
|
@ -84,7 +84,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class AlreadyDead : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( Eureka ); } }
|
||||
public override Type NextQuest => typeof( Eureka );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public AlreadyDead()
|
||||
|
|
@ -114,7 +114,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class Eureka : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( SubContracting ); } }
|
||||
public override Type NextQuest => typeof( SubContracting );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public Eureka()
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class Aemaeth1 : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( Aemaeth2 ); } }
|
||||
public override Type NextQuest => typeof( Aemaeth2 );
|
||||
|
||||
public Aemaeth1()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class HonestBeggar : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( ReginasThanks ); } }
|
||||
public override Type NextQuest => typeof( ReginasThanks );
|
||||
|
||||
public HonestBeggar()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public class BatteredBucket : TransientQuestGiverItem
|
||||
{
|
||||
// Original label, doesn't fit the expiration message well
|
||||
//public override int LabelNumber { get { return 1073129; } } // A battered bucket.
|
||||
//public override int LabelNumber => 1073129; // A battered bucket.
|
||||
|
||||
public override string DefaultName { get { return "battered bucket"; } }
|
||||
public override string DefaultName => "battered bucket";
|
||||
|
||||
[Constructible]
|
||||
public BatteredBucket()
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class MistakenIdentity : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( YouScratchMyBack ); } }
|
||||
public override Type NextQuest => typeof( YouScratchMyBack );
|
||||
|
||||
public MistakenIdentity()
|
||||
{
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class YouScratchMyBack : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( FoolingAernya ); } }
|
||||
public override Type NextQuest => typeof( FoolingAernya );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public YouScratchMyBack()
|
||||
|
|
@ -72,7 +72,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class FoolingAernya : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( NotQuiteThatEasy ); } }
|
||||
public override Type NextQuest => typeof( NotQuiteThatEasy );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public FoolingAernya()
|
||||
|
|
@ -93,7 +93,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class NotQuiteThatEasy : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( ConvinceMe ); } }
|
||||
public override Type NextQuest => typeof( ConvinceMe );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public NotQuiteThatEasy()
|
||||
|
|
@ -126,7 +126,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class ConvinceMe : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TuitionReimbursement ); } }
|
||||
public override Type NextQuest => typeof( TuitionReimbursement );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public ConvinceMe()
|
||||
|
|
|
|||
|
|
@ -1383,7 +1383,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class GustarShroud : BaseOuterTorso
|
||||
{
|
||||
public override string DefaultName{ get{ return " "; } }
|
||||
public override string DefaultName => " ";
|
||||
[Constructible]
|
||||
public GustarShroud() : base( 0x2684 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class MougGuurMustDie : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( LeaderOfThePack ); } }
|
||||
public override Type NextQuest => typeof( LeaderOfThePack );
|
||||
|
||||
public MougGuurMustDie()
|
||||
{
|
||||
|
|
@ -412,7 +412,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class LeaderOfThePack : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( SayonaraSzavetra ); } }
|
||||
public override Type NextQuest => typeof( SayonaraSzavetra );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public LeaderOfThePack()
|
||||
|
|
@ -522,7 +522,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class Marauders : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TheBrainsOfTheOperation ); } }
|
||||
public override Type NextQuest => typeof( TheBrainsOfTheOperation );
|
||||
|
||||
public Marauders()
|
||||
{
|
||||
|
|
@ -540,7 +540,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class TheBrainsOfTheOperation : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TheBrawn ); } }
|
||||
public override Type NextQuest => typeof( TheBrawn );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public TheBrainsOfTheOperation()
|
||||
|
|
@ -559,7 +559,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class TheBrawn : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TheBiggerTheyAre ); } }
|
||||
public override Type NextQuest => typeof( TheBiggerTheyAre );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public TheBrawn()
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class Patience : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( NeedsOfTheManyHeartwood1 ); } }
|
||||
public override Type NextQuest => typeof( NeedsOfTheManyHeartwood1 );
|
||||
|
||||
public Patience()
|
||||
{
|
||||
|
|
@ -74,7 +74,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class NeedsOfTheManyHeartwood1 : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( NeedsOfTheManyHeartwood2 ); } }
|
||||
public override Type NextQuest => typeof( NeedsOfTheManyHeartwood2 );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public NeedsOfTheManyHeartwood1()
|
||||
|
|
@ -94,7 +94,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class NeedsOfTheManyHeartwood2 : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( MakingAContributionHeartwood ); } }
|
||||
public override Type NextQuest => typeof( MakingAContributionHeartwood );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public NeedsOfTheManyHeartwood2()
|
||||
|
|
@ -114,7 +114,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class MakingAContributionHeartwood : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( UnnaturalCreations ); } }
|
||||
public override Type NextQuest => typeof( UnnaturalCreations );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public MakingAContributionHeartwood()
|
||||
|
|
@ -168,7 +168,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class Discipline : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( NeedsOfTheManySanctuary ); } }
|
||||
public override Type NextQuest => typeof( NeedsOfTheManySanctuary );
|
||||
|
||||
public Discipline()
|
||||
{
|
||||
|
|
@ -195,7 +195,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class NeedsOfTheManySanctuary : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( MakingAContributionSanctuary ); } }
|
||||
public override Type NextQuest => typeof( MakingAContributionSanctuary );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public NeedsOfTheManySanctuary()
|
||||
|
|
@ -215,7 +215,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class MakingAContributionSanctuary : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( SuppliesForSanctuary ); } }
|
||||
public override Type NextQuest => typeof( SuppliesForSanctuary );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public MakingAContributionSanctuary()
|
||||
|
|
@ -235,7 +235,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class SuppliesForSanctuary : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TheHumanBlight ); } }
|
||||
public override Type NextQuest => typeof( TheHumanBlight );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public SuppliesForSanctuary()
|
||||
|
|
@ -288,7 +288,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class FriendOfTheFey : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TokenOfFriendship ); } }
|
||||
public override Type NextQuest => typeof( TokenOfFriendship );
|
||||
|
||||
public FriendOfTheFey()
|
||||
{
|
||||
|
|
@ -316,7 +316,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class TokenOfFriendship : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( Alliance ); } }
|
||||
public override Type NextQuest => typeof( Alliance );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public TokenOfFriendship()
|
||||
|
|
@ -367,7 +367,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class FiendishFriends : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( CrackingTheWhipI ); } }
|
||||
public override Type NextQuest => typeof( CrackingTheWhipI );
|
||||
|
||||
public FiendishFriends()
|
||||
{
|
||||
|
|
@ -396,7 +396,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
// TODO: Verify
|
||||
public class CrackingTheWhipI : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( CrackingTheWhipII ); } }
|
||||
public override Type NextQuest => typeof( CrackingTheWhipII );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public CrackingTheWhipI()
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class TheAncientWorld : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TheGoldenHorn ); } }
|
||||
public override Type NextQuest => typeof( TheGoldenHorn );
|
||||
|
||||
public TheAncientWorld()
|
||||
{
|
||||
|
|
@ -41,7 +41,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class TheGoldenHorn : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( Bullish ); } }
|
||||
public override Type NextQuest => typeof( Bullish );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public TheGoldenHorn()
|
||||
|
|
@ -61,7 +61,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class Bullish : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( LostCivilization ); } }
|
||||
public override Type NextQuest => typeof( LostCivilization );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public Bullish()
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class UnfadingMemoriesPartOne : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( UnfadingMemoriesPartTwo ); } }
|
||||
public override Type NextQuest => typeof( UnfadingMemoriesPartTwo );
|
||||
|
||||
public UnfadingMemoriesPartOne()
|
||||
{
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class UnfadingMemoriesPartTwo : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( UnfadingMemoriesPartThree ); } }
|
||||
public override Type NextQuest => typeof( UnfadingMemoriesPartThree );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public UnfadingMemoriesPartTwo()
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
{
|
||||
public class WarriorsOfTheGemkeeper : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( CloseEnough ); } }
|
||||
public override Type NextQuest => typeof( CloseEnough );
|
||||
|
||||
public WarriorsOfTheGemkeeper()
|
||||
{
|
||||
|
|
@ -31,7 +31,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class CloseEnough : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( TakingTheBullByTheHorns ); } }
|
||||
public override Type NextQuest => typeof( TakingTheBullByTheHorns );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public CloseEnough()
|
||||
|
|
@ -51,7 +51,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public class TakingTheBullByTheHorns : MLQuest
|
||||
{
|
||||
public override Type NextQuest { get { return typeof( EmissaryToTheMinotaur ); } }
|
||||
public override Type NextQuest => typeof( EmissaryToTheMinotaur );
|
||||
public override bool IsChainTriggered => true;
|
||||
|
||||
public TakingTheBullByTheHorns()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue