#W# MLQuests: Escortable quests are now working. I just need to add more of them. Added moongate to Shiver Island.

This commit is contained in:
WarrentyExpired 2026-10-14 08:31:58 -04:00
parent ac47317723
commit b23e5fdd52
17 changed files with 167 additions and 127 deletions

View file

@ -0,0 +1,20 @@
namespace Server.Engines.MLQuests.Definitions
{
// Base class for escorts providing the AwardHumanInNeed option
public class BaseEscort : MLQuest
{
public BaseEscort() => CompletionNotice = CompletionNoticeShort;
public virtual bool AwardHumanInNeed => true;
public override void GetRewards(MLQuestInstance instance)
{
if (AwardHumanInNeed)
{
HumanInNeed.AwardTo(instance.Player);
}
base.GetRewards(instance);
}
}
}