Files
NGECore2/scripts/commands/activatequest.py
T
Waverunner b581118ad3 Added implementation of parsing data from quest files
Added methods for checking if a quest is completed and if they have a
quest.
Updated SWGList to account for the special format of Quest list deltas.
Added method that shows a quest in a window
2014-08-12 19:03:19 -04:00

13 lines
481 B
Python

import sys
def setup():
return
def run(core, actor, target, commandString):
if core.questService.adminActivateQuest(actor, commandString) is False:
actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF ActivateQuest: You entered a quest that does not exist or forgot to enter one!', 0)
return
core.questService.sendQuestWindow(actor, commandString)
actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF ActivateQuest: Command completed successfully.', 0)
return