Ul'dah npcs completed.

This commit is contained in:
Filip Maj 2016-06-14 21:47:54 -04:00
parent f5619ff800
commit c612b885dd
22 changed files with 64 additions and 17 deletions

View 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

View 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

View File

@ -12,7 +12,6 @@ function onEventStarted(player, npc, triggerName)
else
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil);
end
end
function onEventUpdate(player, npc, step, menuOptionSelected)

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithBaterich_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithBATERICH_100", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithClaroise_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuildleveClientU_002", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithFlamelieutenantsombermeadow_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithSomber_001", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGunnulf_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithMaginfred_001", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithHeibert_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithOrisic_001", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithIpaghlo_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithKlamahni_001", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithKokobi_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "downTownTalk", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithMammet_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll005_001", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithRoarich_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuildleveClientU_001", nil, nil, nil);
end

View File

@ -1,6 +1,7 @@
function onEventStarted(player, npc)
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

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithFruhybolg_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithFhruybolg_001", nil, nil, nil);
end

View File

@ -1,6 +1,7 @@
function onEventStarted(player, npc)
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

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithHcidjaa_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithHCidjaa_001", nil, nil, nil);
end

View File

@ -0,0 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll004_001", nil, nil, nil);
end

View File

@ -0,0 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll001_001", nil, nil, nil);
end

View File

@ -0,0 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll002_001", nil, nil, nil);
end

View File

@ -0,0 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithDoll003_001", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithUwilsyng_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithGuildleveClientU_003", nil, nil, nil);
end

View File

@ -1,6 +1,6 @@
function onEventStarted(player, npc)
defaultWil = getStaticActor("DftWil");
player:runEventFunction("delegateEvent", player, defaultWil, "defaultTalkWithVavaki_001", nil, nil, nil);
player:runEventFunction("delegateEvent", player, defaultWil, "tribeTalk", nil, nil, nil);
end