mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Forgot to add script for quest abandon.
This commit is contained in:
parent
9a2a79095c
commit
9c2cdf9b5d
16
data/scripts/commands/JournalCommand.lua
Normal file
16
data/scripts/commands/JournalCommand.lua
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user