MinerGurgin.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/EnchantedLands/MinerGurgin.lua
  3. Script Purpose : Miner Gurgin
  4. Script Author : Cynnar
  5. Script Date : 2015.02.24
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/miner_gurgin/enchanted/miner_gurgin/miner_gurgin001.mp3", "", "", 675328757, 614757128, Spawn)
  22. AddConversationOption(conversation, "Here you go, then.", "dlg_5_1")
  23. StartConversation(conversation, NPC, Spawn, "What is it, eh? What have you got there? Are them our supplies? Fantastic! What with the density of the rock increasing and these vile beasts blocking our exit, I wasn't sure what we were going to do.")
  24. end
  25. function dlg_5_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "voiceover/english/miner_gurgin/enchanted/miner_gurgin/miner_gurgin002.mp3", "", "", 1561858323, 3223241483, Spawn)
  29. AddConversationOption(conversation, "All right.", "dlg_5_2")
  30. StartConversation(conversation, NPC, Spawn, "Hah! This will work just fine. Take this message to Seher and let her know we'll continue working this section, or at least until these beasts move on. Say! I found these. Why don't you take them for bringing us our supplies? ")
  31. end