From 9c2cdf9b5dd368a866134916032904feeeaba970 Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Sat, 15 Apr 2017 16:37:14 -0400 Subject: [PATCH] Forgot to add script for quest abandon. --- data/scripts/commands/JournalCommand.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 data/scripts/commands/JournalCommand.lua diff --git a/data/scripts/commands/JournalCommand.lua b/data/scripts/commands/JournalCommand.lua new file mode 100644 index 00000000..8f5c3c8a --- /dev/null +++ b/data/scripts/commands/JournalCommand.lua @@ -0,0 +1,16 @@ +require ("global") + +--[[ + +JournalCommand Script + +Fired when you try to abandon a quest + +--]] + +function onEventStarted(player, command, triggerName, questId) + + player:AbandonQuest(questId); + player:EndEvent(); + +end \ No newline at end of file