Lua scripts allow to do that. There are examples in "PromotionTopics.lua" in "...Scripts\Global" folder, most of them - just corrections of existing quests. Jadamean sorcerer promotion is simpliest example of new one, it uses Grayface's Quest function, which makes process a lot easier:Phobos wrote:I'm very curious about the prospect of new promotions. I wonder what program could be used to create such a promotion quest?
Code: Select all
Quest{
NPC = *Index of NPC who will have quest topic*,
Branch = "", -- used for branched dialogs
Slot = *index of topic's slot (0-5)*,
CanShow = function - should return true if player allowed to see topic,
CheckDone = function - should return true, when player have completed quest,
Done = function - fires once quest completed (rewards and other effects),
After = function - what happens when player clicks topic again after quest completion,
Texts = { Topic = *name of topic*,
Give = *text when NPC gives quest,
Undone = *text to show, when quest given but have not been completed*,
Done = *text to show when player claims quest's rewards*,
After = *text to show after quest completion*}
}