AssistantDeldry.lua 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/ButcherblockMountains/AssistantDeldry.lua
  3. Script Purpose : Assistant Deldry
  4. Script Author : jakejp
  5. Script Date : 2018.06.04
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local NecessaryPrecautions = 273
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. conversation = CreateConversation()
  17. if HasQuest(Spawn, NecessaryPrecautions) == true and GetQuestStep(Spawn, NecessaryPrecautions) == 1 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1003.mp3", "", "", 0, 0, Spawn)
  19. AddConversationOption(conversation, "Forgiving your tone, I do have a message to you from the camp. They wish to establish some manner of cooperation with you and your kin.", "dlg_15_1")
  20. StartConversation(conversation, NPC, Spawn, "Ach! What is this? Come from the walking lizards, have you? I thought those things were keeping to their shanties over on the far side of the beach!")
  21. else
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1009.mp3", "", "", 0, 0, Spawn)
  23. PlayFlavor(NPC, "", "There are plenty of duties to tend to around here, and I aim to see they all get done.", "", 1689589577, 4560189, Spawn)
  24. end
  25. end
  26. function dlg_15_1(NPC, Spawn)
  27. SetStepComplete(Spawn, NecessaryPrecautions, 1)
  28. FaceTarget(NPC, Spawn)
  29. conversation = CreateConversation()
  30. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  31. AddConversationOption(conversation, "Thanks, I guess. Farewell.", "dlg_15_2")
  32. StartConversation(conversation, NPC, Spawn, "I can't see how we would need any help from the likes of them - things seem to be more or less well in hand for us. But I suppose this isn't really about what we need. Very well, I'll look over this proposal and see what they have to offer. In the meantime, you might as well make yourself useful around here. I'm sure you can find plenty to do if you look hard enough.")
  33. end
  34. --[[ raw_conversations
  35. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1009.mp3", "", "", 0, 0, Spawn)
  36. PlayFlavor(NPC, "", "There are plenty of duties to tend to around here, and I aim to see they all get done.", "", 1689589577, 4560189, Spawn)
  37. --]]