Difference between revisions of "Quest Documentation"
Line 1: | Line 1: | ||
back to [[Project Phoenix#Quests]] | back to [[Project Phoenix#Quests]] | ||
− | |||
==Functions== | ==Functions== | ||
+ | CustomQuests.Helpers.<FunctionName>(Args) | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Function Name !! Description | ||
+ | |- | ||
+ | | AddSlayTask|| Adds a slay task to the quest table | ||
+ | |- | ||
+ | | AddHarvestTask || Adds a harvest task to the quest table | ||
+ | |- | ||
+ | | AddCraftTask || Adds a craft quest to the quest table | ||
+ | |- | ||
+ | | AddTameTask || Adds a tame quest to the quest table | ||
+ | |- | ||
+ | | CanGetQuest || Checks to see if the player can get the quest | ||
+ | |- | ||
+ | | HasQuest || Checks to see if the player has the quest | ||
+ | |- | ||
+ | | GiveQuest || Give the player a quest and toss it in the quest log | ||
+ | |- | ||
+ | | RemoveQuest || Remove a quest by name from the player | ||
+ | |- | ||
+ | | IsQuestComplete || Checks if the quest tasks are completed or not | ||
+ | |- | ||
+ | | CheckQuestObjectives || Checks to see if the player completed a part of the objective | ||
+ | |- | ||
+ | | CheckDelay|| Checks to see if the player an pick the quest up again (daily,hourly) or what other interval | ||
+ | |} | ||
==Quest Giver== | ==Quest Giver== | ||
==Quest Table== | ==Quest Table== | ||
==Quest Objectives== | ==Quest Objectives== | ||
==Quest Rewards== | ==Quest Rewards== |
Revision as of 12:56, 20 June 2018
back to Project Phoenix#Quests
Functions
CustomQuests.Helpers.<FunctionName>(Args)
Function Name | Description |
---|---|
AddSlayTask | Adds a slay task to the quest table |
AddHarvestTask | Adds a harvest task to the quest table |
AddCraftTask | Adds a craft quest to the quest table |
AddTameTask | Adds a tame quest to the quest table |
CanGetQuest | Checks to see if the player can get the quest |
HasQuest | Checks to see if the player has the quest |
GiveQuest | Give the player a quest and toss it in the quest log |
RemoveQuest | Remove a quest by name from the player |
IsQuestComplete | Checks if the quest tasks are completed or not |
CheckQuestObjectives | Checks to see if the player completed a part of the objective |
CheckDelay | Checks to see if the player an pick the quest up again (daily,hourly) or what other interval |