mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Ul'dah npcs completed.
This commit is contained in:
parent
f5619ff800
commit
c612b885dd
22 changed files with 64 additions and 17 deletions
11
data/scripts/base/chara/npc/object/BookShelf.lua
Normal file
11
data/scripts/base/chara/npc/object/BookShelf.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
player:runEventFunction("bookTalk");
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected)
|
||||
player:endEvent();
|
||||
end
|
11
data/scripts/base/chara/npc/object/MateriaBook.lua
Normal file
11
data/scripts/base/chara/npc/object/MateriaBook.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
player:runEventFunction("materiabookTalk");
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected)
|
||||
player:endEvent();
|
||||
end
|
|
@ -11,8 +11,7 @@ function onEventStarted(player, npc, triggerName)
|
|||
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskUldah", nil, nil, nil);
|
||||
else
|
||||
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil);
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue