mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Ul'dah npcs completed.
This commit is contained in:
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
|
@@ -12,7 +12,6 @@ function onEventStarted(player, npc, triggerName)
|
|||||||
else
|
else
|
||||||
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function onEventUpdate(player, npc, step, menuOptionSelected)
|
function onEventUpdate(player, npc, step, menuOptionSelected)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithBaterich_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithBATERICH_100", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithClaroise_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuildleveClientU_002", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithFlamelieutenantsombermeadow_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithSomber_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGunnulf_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithMaginfred_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithHeibert_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithOrisic_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithIpaghlo_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithKlamahni_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithKokobi_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "downTownTalk", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithMammet_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll005_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithRoarich_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuildleveClientU_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDariustel_001", nil, nil, nil);
|
player:sendMessage(0x20, "", "This Actorhas no dialog. Actor Class Id: " .. tostring(npc:getActorClassId()));
|
||||||
|
player:endEvent();
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithFruhybolg_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithFhruybolg_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuencen_001", nil, nil, nil);
|
player:sendMessage(0x20, "", "This Actorhas no dialog. Actor Class Id: " .. tostring(npc:getActorClassId()));
|
||||||
|
player:endEvent();
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithHcidjaa_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithHCidjaa_001", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
function onEventStarted(player, npc)
|
||||||
|
defaultWil = getStaticActor("DftWil");
|
||||||
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll004_001", nil, nil, nil);
|
||||||
|
end
|
||||||
|
|
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
function onEventStarted(player, npc)
|
||||||
|
defaultWil = getStaticActor("DftWil");
|
||||||
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll001_001", nil, nil, nil);
|
||||||
|
end
|
||||||
|
|
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
function onEventStarted(player, npc)
|
||||||
|
defaultWil = getStaticActor("DftWil");
|
||||||
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll002_001", nil, nil, nil);
|
||||||
|
end
|
||||||
|
|
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
function onEventStarted(player, npc)
|
||||||
|
defaultWil = getStaticActor("DftWil");
|
||||||
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll003_001", nil, nil, nil);
|
||||||
|
end
|
||||||
|
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithUwilsyng_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuildleveClientU_003", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
function onEventStarted(player, npc)
|
function onEventStarted(player, npc)
|
||||||
defaultWil = getStaticActor("DftWil");
|
defaultWil = getStaticActor("DftWil");
|
||||||
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithVavaki_001", nil, nil, nil);
|
player:runEventFunction("delegateEvent", player, defaultWil, "tribeTalk", nil, nil, nil);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user