Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -106,7 +106,7 @@ namespace Server.Engines.Quests.Necro
|
|||
new QuestItemInfo( 1048032, 3702 ) // a bag
|
||||
};
|
||||
|
||||
public override QuestItemInfo[] Info{ get{ return m_Info; } }
|
||||
public override QuestItemInfo[] Info => m_Info;
|
||||
|
||||
public ReanimateMaabusConversation()
|
||||
{
|
||||
|
|
@ -157,7 +157,7 @@ namespace Server.Engines.Quests.Necro
|
|||
new QuestItemInfo( 1026153, 6178 ) // teleporter
|
||||
};
|
||||
|
||||
public override QuestItemInfo[] Info{ get{ return m_Info; } }
|
||||
public override QuestItemInfo[] Info => m_Info;
|
||||
|
||||
public MaabasConversation()
|
||||
{
|
||||
|
|
@ -282,7 +282,7 @@ namespace Server.Engines.Quests.Necro
|
|||
new QuestItemInfo( 1023643, 8787 ) // spellbook
|
||||
};
|
||||
|
||||
public override QuestItemInfo[] Info{ get{ return m_Info; } }
|
||||
public override QuestItemInfo[] Info => m_Info;
|
||||
|
||||
public VaultOfSecretsConversation()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ namespace Server.Engines.Quests.Necro
|
|||
typeof( Necro.HorusRewardConversation )
|
||||
};
|
||||
|
||||
public override Type[] TypeReferenceTable{ get{ return m_TypeReferenceTable; } }
|
||||
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
|
||||
|
||||
public override object Name
|
||||
{
|
||||
|
|
@ -99,10 +99,10 @@ namespace Server.Engines.Quests.Necro
|
|||
}
|
||||
}
|
||||
|
||||
public override TimeSpan RestartDelay{ get{ return TimeSpan.MaxValue; } }
|
||||
public override TimeSpan RestartDelay => TimeSpan.MaxValue;
|
||||
public override bool IsTutorial => true;
|
||||
|
||||
public override int Picture{ get{ return 0x15B5; } }
|
||||
public override int Picture => 0x15B5;
|
||||
|
||||
public DarkTidesQuest( PlayerMobile from ) : base( from )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public class KronusScroll : QuestItem
|
||||
{
|
||||
public override int LabelNumber { get { return 1060149; } } // Calling of Kronus
|
||||
public override int LabelNumber => 1060149; // Calling of Kronus
|
||||
|
||||
[Constructible]
|
||||
public KronusScroll() : base( 0x227A )
|
||||
|
|
@ -163,4 +163,4 @@ namespace Server.Engines.Quests.Necro
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Engines.Quests.Necro
|
|||
private Point3D m_SpawnLocation;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Maabus Maabus { get { return m_Maabus; } }
|
||||
public Maabus Maabus => m_Maabus;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public Point3D SpawnLocation { get { return m_SpawnLocation; } set { m_SpawnLocation = value; } }
|
||||
|
|
@ -155,4 +155,4 @@ namespace Server.Engines.Quests.Necro
|
|||
m_EmptyItemID = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public class ScrollOfAbraxus : QuestItem
|
||||
{
|
||||
public override int LabelNumber { get { return 1028827; } } // Scroll of Abraxus
|
||||
public override int LabelNumber => 1028827; // Scroll of Abraxus
|
||||
|
||||
[Constructible]
|
||||
public ScrollOfAbraxus() : base( 0x227B )
|
||||
|
|
@ -105,42 +105,42 @@ namespace Server.Engines.Quests.Necro
|
|||
AddImage( 340, 255, 9005 );
|
||||
|
||||
/* Security at the Crystal Cave<BR><BR>
|
||||
*
|
||||
*
|
||||
* We have taken great measuresto ensure the safety of the
|
||||
* Scroll of Calling, which we have so valiantly taken from
|
||||
* the Necromancer Maabus during the battle of the wood
|
||||
* nearly 200 years ago.<BR><BR>
|
||||
*
|
||||
*
|
||||
* The scroll must never fall into the hands of the
|
||||
* Necromancers again, lest they use it to summon the ancient
|
||||
* daemon Kronus. The scroll of calling is a necessity in the
|
||||
* series of dark rites the Necromancers must perform to once again
|
||||
* re-awaken Kronus.<BR><BR>
|
||||
*
|
||||
*
|
||||
* Should Kronus ever rise again, the days of the Paladins, and
|
||||
* indeed humanity as we know it will be numbered.<BR><BR>
|
||||
*
|
||||
*
|
||||
* For this reason, we have posted the honorable Horus, former
|
||||
* General of the Northern Legions to guard the entrance of the
|
||||
* Crystal Cave where we keep the Scroll of Calling. Horus was
|
||||
* infused with magical life from the tree Urywen during his last
|
||||
* battle. The power gave him eternal life, but it also,
|
||||
* unfortunately, took his eye sight.<BR><BR>
|
||||
*
|
||||
*
|
||||
* Since Horus cannot see those he admits to the Crystal Cave,
|
||||
* he will only allow those that know the secret password to enter.
|
||||
* Speak the following word to Horus and he shall grant you passage
|
||||
* to the Crystal Cave:<BR><BR>
|
||||
*
|
||||
*
|
||||
* <I>Urywen</I><BR><BR>
|
||||
*
|
||||
*
|
||||
* Do not speak this password anywhere except when seeking passage
|
||||
* into the Crystal Cave, as our adversaries are lurking in the
|
||||
* shadows – they are everywhere.<BR><BR>Go with the light, friend.<BR><BR>
|
||||
*
|
||||
* shadows <EFBFBD> they are everywhere.<BR><BR>Go with the light, friend.<BR><BR>
|
||||
*
|
||||
* <I>- Frater Melkeer</I>
|
||||
*/
|
||||
AddHtmlLocalized( 25, 36, 350, 210, 1060116, 1, false, true );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,9 +54,9 @@ namespace Server.Engines.Quests.Necro
|
|||
return base.IsHarmfulCriminal( target );
|
||||
}
|
||||
|
||||
public override bool ClickTitle{ get { return false; } }
|
||||
public override bool ClickTitle => false;
|
||||
|
||||
public override bool PlayerRangeSensitive{ get { return false; } }
|
||||
public override bool PlayerRangeSensitive => false;
|
||||
|
||||
public override void OnThink()
|
||||
{
|
||||
|
|
@ -238,4 +238,4 @@ namespace Server.Engines.Quests.Necro
|
|||
Delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ namespace Server.Engines.Quests.Necro
|
|||
new QuestItemInfo( 1023643, 8787 ) // spellbook
|
||||
};
|
||||
|
||||
public override QuestItemInfo[] Info{ get{ return m_Info; } }
|
||||
public override QuestItemInfo[] Info => m_Info;
|
||||
|
||||
public AnimateMaabusCorpseObjective()
|
||||
{
|
||||
|
|
@ -188,7 +188,7 @@ namespace Server.Engines.Quests.Necro
|
|||
new QuestItemInfo( 1023676, 3679 ) // glowing rune
|
||||
};
|
||||
|
||||
public override QuestItemInfo[] Info{ get{ return m_Info; } }
|
||||
public override QuestItemInfo[] Info => m_Info;
|
||||
|
||||
public FindVaultOfSecretsObjective()
|
||||
{
|
||||
|
|
@ -307,7 +307,7 @@ namespace Server.Engines.Quests.Necro
|
|||
new QuestItemInfo( 1026153, 6178 ) // teleporter
|
||||
};
|
||||
|
||||
public override QuestItemInfo[] Info{ get{ return m_Info; } }
|
||||
public override QuestItemInfo[] Info => m_Info;
|
||||
|
||||
public ReturnToCrystalCaveObjective()
|
||||
{
|
||||
|
|
@ -639,4 +639,4 @@ namespace Server.Engines.Quests.Necro
|
|||
System.AddConversation( new BankerConversation() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue