Initial commit
Initial commit. Updated release archive.
This commit is contained in:
26
_module/nss/qdb_newquest.nss
Normal file
26
_module/nss/qdb_newquest.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "qdb_include"
|
||||
|
||||
void main()
|
||||
{
|
||||
string sTalk = GetLocalString(OBJECT_SELF, "Stack");
|
||||
|
||||
string sQuest;
|
||||
|
||||
SetNewQuestNumber();
|
||||
SetQuestString("Name",sTalk);
|
||||
SetQuestInt("MinLevel",1);
|
||||
SetQuestInt("MaxLevel",40);
|
||||
SetQuestInt("NPCType",1);
|
||||
SetQuestInt("Frequency",2);
|
||||
SetStepNumber(1);
|
||||
SetLineNumber(1);
|
||||
SetLine("Hello.");
|
||||
SetLineNumber(100);
|
||||
SetLine("May I help you?");
|
||||
SetResponseNumber(1);
|
||||
SetResponse("Not right now, thanks.");
|
||||
|
||||
sQuest=GetQuestInfo();
|
||||
|
||||
SetCustomToken(100,sQuest);
|
||||
}
|
||||
Reference in New Issue
Block a user