Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -5,14 +5,7 @@ namespace Server.Engines.Quests.Ambitious
{
public class KillQueensObjective : QuestObjective
{
public override object Message
{
get
{
// Kill 5 red/black solen queens.
return ((AmbitiousQueenQuest)System).RedSolen ? 1054062 : 1054063;
}
}
public override object Message => ((AmbitiousQueenQuest)System).RedSolen ? 1054062 : 1054063;
public override int MaxProgress => 5;
@ -73,16 +66,7 @@ namespace Server.Engines.Quests.Ambitious
public class ReturnAfterKillsObjective : QuestObjective
{
public override object Message
{
get
{
/* You've completed your task of slaying solen queens. Return to
* the ambitious queen who asked for your help.
*/
return 1054067;
}
}
public override object Message => 1054067;
public ReturnAfterKillsObjective()
{
@ -96,16 +80,7 @@ namespace Server.Engines.Quests.Ambitious
public class GatherFungiObjective : QuestObjective
{
public override object Message
{
get
{
/* Gather zoogi fungus until you have 50 of them, then give them
* to the ambitious queen you are helping.
*/
return 1054069;
}
}
public override object Message => 1054069;
public GatherFungiObjective()
{
@ -119,22 +94,21 @@ namespace Server.Engines.Quests.Ambitious
public class GetRewardObjective : QuestObjective
{
public override object Message
{
get
{
// Return to the ambitious solen queen for your reward.
return 1054148;
}
}
public override object Message => 1054148;
private bool m_BagOfSending;
private bool m_PowderOfTranslocation;
private bool m_Gold;
public bool BagOfSending{ get{ return m_BagOfSending; } set{ m_BagOfSending = value; } }
public bool PowderOfTranslocation{ get{ return m_PowderOfTranslocation; } set{ m_PowderOfTranslocation = value; } }
public bool Gold{ get{ return m_Gold; } set{ m_Gold = value; } }
public bool BagOfSending{ get => m_BagOfSending;
set => m_BagOfSending = value;
}
public bool PowderOfTranslocation{ get => m_PowderOfTranslocation;
set => m_PowderOfTranslocation = value;
}
public bool Gold{ get => m_Gold;
set => m_Gold = value;
}
public GetRewardObjective( bool bagOfSending, bool powderOfTranslocation, bool gold)
{