mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-01 02:16:15 -04:00
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
13 lines
481 B
Python
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 |