- Enabled quests that were locked due to issues.
- Added a CompletionNotice setting to MLQuest to replace the OnComplete overrides. - MLQuest.CanOffer now recursively checks NextQuest for OneTimeOnly/HasRestartDelay as well. - Implemented quest restart delays and enabled them on the crafting quests. - Questers offering multiple quests will no longer randomly offer quests for which CanOffer is false, as long as there are other quests for which CanOffer is true. - Added a manual Register method to MLQuestSystem for registering quests without using MLQuests.cfg (to be used in Configure). - Misc quest tweaks. - Corrected typo in cove.cfg deco file.
This commit is contained in:
parent
741e8a3301
commit
3b94a24a9a
24 changed files with 320 additions and 409 deletions
|
|
@ -19,23 +19,18 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public UnfadingMemoriesPartOne()
|
||||
{
|
||||
Activated = true;
|
||||
OneTimeOnly = true; // TODO: Similar issue as Aemaeth, part one may be taken while part three is not finished
|
||||
Title = 1075355; // Unfading Memories
|
||||
Description = 1075356; // Aargh! It’s just not right! It doesn’t capture the unique color of her hair at all! If only I had some Prismatic Amber. That would be perfect. They used to mine it in Malas, but alas, those veins ran dry some time ago. I hear it may have been found in the Prism of Light. Oh, if only there were a bold adventurer within earshot who would go to the Prism of Light and retrieve some for me!
|
||||
RefusalMessage = 1075358; // Is there no one who can help a humble artist pursue his Muse?
|
||||
InProgressMessage = 1075359; // You can find Prismatic Amber in the Prism of Light, located just north of the city of Nujel'm.
|
||||
CompletionMessage = 1075360; // I knew it! See, it’s just the color I needed! Look how it brings out the highlights of her wheaten tresses!
|
||||
CompletionNotice = CompletionNoticeShort;
|
||||
|
||||
Objectives.Add( new CollectObjective( 1, typeof( PrismaticAmber ), "Prismatic Amber" ) );
|
||||
|
||||
Rewards.Add( new DummyReward( 1075357 ) ); // The joy of contributing to a noble artistic effort, however paltry the end product.
|
||||
}
|
||||
|
||||
public override void OnComplete( MLQuestInstance instance )
|
||||
{
|
||||
instance.Player.SendLocalizedMessage( 1046258, "", 0x23 ); // Your quest is complete.
|
||||
}
|
||||
|
||||
public override void Generate()
|
||||
{
|
||||
base.Generate();
|
||||
|
|
@ -58,16 +53,12 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1075370; // Alright then, you have already helped me more than I deserved. I shall find someone else to undertake this task.
|
||||
InProgressMessage = 1075371; // The wedding is taking place in the palace in Nujel'm. You will likely find her there.
|
||||
CompletionMessage = 1075372; // I’m sorry, I’m getting ready to be married. I don’t have time to . . . what’s that you say?
|
||||
CompletionNotice = CompletionNoticeShort;
|
||||
|
||||
Objectives.Add( new DeliverObjective( typeof( PortraitOfTheBride ), 1, "Portrait of the Bride", typeof( Thalia ), "Bride" ) );
|
||||
Objectives.Add( new DeliverObjective( typeof( PortraitOfTheBride ), 1, "Portrait of the Bride", typeof( Thalia ), "Thalia (Nujel'm)" ) ); // OSI's description is "Bride"
|
||||
|
||||
Rewards.Add( new DummyReward( 1075369 ) ); // The Artist’s gratitude.
|
||||
}
|
||||
|
||||
public override void OnComplete( MLQuestInstance instance )
|
||||
{
|
||||
instance.Player.SendLocalizedMessage( 1046258, "", 0x23 ); // Your quest is complete.
|
||||
}
|
||||
}
|
||||
|
||||
public class UnfadingMemoriesPartThree : MLQuest
|
||||
|
|
@ -77,22 +68,19 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public UnfadingMemoriesPartThree()
|
||||
{
|
||||
Activated = true;
|
||||
OneTimeOnly = true;
|
||||
Title = 1075373; // Unfading Memories
|
||||
Description = 1075374; // Emilio painted this? It is absolutely wonderful! I used to love looking at his paintings, but I don’t remember him creating anything like this before. Would you be so kind as to carry a letter to him? Fate may have it that I am to marry another, yet I am compelled to reveal to him that his love was not entirely unrequited.
|
||||
RefusalMessage = 1075376; // Very well, then. If you will excuse me, I need to get ready.
|
||||
InProgressMessage = 1075377; // Take the letter back to the Artist’s Guild in Britain, if you would do me this kindness.
|
||||
CompletionMessage = 1075378; // She said what? She thinks what of me? I . . . I can’t believe it! All this time, I never knew how she truly felt. Thank you, my friend. I believe now I will be able to paint once again. Here, take this bleach. I was going to use it to destroy all of my works. Perhaps you can find a better use for it now.
|
||||
CompletionNotice = CompletionNoticeShort;
|
||||
|
||||
Objectives.Add( new DeliverObjective( typeof( BridesLetter ), 1, "Bride's Letter", typeof( Emilio ), "Artist" ) );
|
||||
Objectives.Add( new DeliverObjective( typeof( BridesLetter ), 1, "Bride's Letter", typeof( Emilio ), "Emilio (Britain)" ) ); // OSI's description is "Artist"
|
||||
|
||||
Rewards.Add( new ItemReward( 1075375, typeof( Bleach ) ) ); // Bleach
|
||||
}
|
||||
|
||||
public override void OnComplete( MLQuestInstance instance )
|
||||
{
|
||||
instance.Player.SendLocalizedMessage( 1046258, "", 0x23 ); // Your quest is complete.
|
||||
}
|
||||
|
||||
public override void Generate()
|
||||
{
|
||||
base.Generate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue