Quest Creation guide
Each quest has it's own individual conversation. There is a template setup to create a copy of q_template and then make a new one.
Quest tag/resref start with q_
Quest writs have the exact same tag/resref as the quest tag.
ex: q_ransackedretre
Each lodge sponsor has their own dialogue tree, limited by a starting conditional on the speaker tag. Their dialogues are modified to fit their own personalities and motivations. This is already set in the template.
GlorianaMorilla – Sovereign Court
AaqiralHakam – The Exchange
ColsonMaldris – Liberty's Edge
Each sponsor tree is divided into three parts.
- Player has not yet started or completed the quest.
- Conditional on (NOWRIT) resref of the quest writ is not in their inventory
- Quest in personal player database is not already completed
- Option to accept the quest after hearing information about it
- (GIVEITEM) resref of the writ to give the player when they start the quest quest writ resref matches the quest
- (GIVEITEM2) optional resref of a second item to give them.
- Player is currently on the quest
- Conditional on (HASWRIT) resref of the quest writ is in their inventory
- option to ask about the quest details again
- option to complete the quest because they already have the relevant quest items.
- (HASITEM) resref of the quest item required in their inventory order to complete the quest
- (HASITEMCOUNT) number of the above item required in their inventory for the quest to be completed
- (REMOVE) resref if item to remove when completing the quest (the required quest item)
- (QUESTWRIT) resref of the quest writ to remove it from the player after they complete the quest
- (REWARDXP) amount of experience rewarded to player on completing the quest
- (REWARDITEM) resref of item to reward the player when they complete the quest
- Player has already completed the quest, this text is what the npc says if the player asks about the quest after already completing it
- Conditional on them already having the quest completed.