Crossfire Server, Trunk
questdone.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 #questdone.py
3 # This is one of the files that can be called by an npc_dialog,
4 # The following code runs when a dialog has a pre rule of 'questdone'
5 # The syntax is ["questdone", "questname"]
6 # All arguments are required, questname must be a quest that is
7 # defined by one of the .quests files.
8 # To deliver a True verdict, the player must have completed at least once the quest.
9 
14 
15 
16 questname = args[0]
17 verdict = character.QuestWasCompleted(questname)