mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-24 11:28:22 +02:00
Added new scripts, implemented some old ones.
This commit is contained in:
parent
62484e2f87
commit
4e39b082f1
3 changed files with 50 additions and 8 deletions
|
@ -0,0 +1,26 @@
|
|||
--[[
|
||||
|
||||
PopulaceBranchVendor Script
|
||||
|
||||
Functions:
|
||||
|
||||
eventTalkWelcome(player) - Starts talk turn and
|
||||
eventSearchItemAsk(nil, stopSearchingItemId) -
|
||||
eventTalkStepBreak() - Finishes the talk turn.
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
||||
callClientFunction(player, "eventTalkWelcome", player);
|
||||
callClientFunction(player, "eventSearchItemAsk", nil, 0);
|
||||
callClientFunction(player, "eventTalkStepBreak", player);
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue