agnomeobserver.lua 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/agnomeobserver.lua
  3. Script Purpose : a gnome observer <Smuggler's Den>
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  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. local choice = math.random(1,1)
  22. if choice == 1 then
  23. PlayFlavor(NPC, "", "Like I said before, get out there and hold onto those blood-soaked islets.", "", 1689589577, 4560189, Spawn)
  24. else
  25. end
  26. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1023.mp3", "", "", 0, 0, Spawn)
  27. AddConversationOption(conversation, "What do you mean?", "dlg_32_1")
  28. AddConversationOption(conversation, "You shouldn't use words you can't pronounce.")
  29. StartConversation(conversation, NPC, Spawn, "The Far Seas Trading Company won't rest until they've seizified full control of that collection of spiny rock, and neither will the Smugglers. There's far too much at stake for either side to up'n give up. And this, mate, is where we come in.")
  30. if convo==33 then
  31. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1023.mp3", "", "", 0, 0, Spawn)
  32. AddConversationOption(conversation, "What do you mean?", "dlg_33_1")
  33. AddConversationOption(conversation, "You shouldn't use words you can't pronounce.")
  34. StartConversation(conversation, NPC, Spawn, "The Far Seas Trading Company won't rest until they've seizified full control of that collection of spiny rock, and neither will the Smugglers. There's far too much at stake for either side to up'n give up. And this, mate, is where we come in.")
  35. end
  36. if convo==34 then
  37. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1023.mp3", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "What do you mean?", "dlg_34_1")
  39. AddConversationOption(conversation, "You shouldn't use words you can't pronounce.")
  40. StartConversation(conversation, NPC, Spawn, "The Far Seas Trading Company won't rest until they've seizified full control of that collection of spiny rock, and neither will the Smugglers. There's far too much at stake for either side to up'n give up. And this, mate, is where we come in.")
  41. end
  42. if convo==35 then
  43. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1023.mp3", "", "", 0, 0, Spawn)
  44. AddConversationOption(conversation, "What do you mean?", "dlg_35_1")
  45. AddConversationOption(conversation, "You shouldn't use words you can't pronounce.")
  46. StartConversation(conversation, NPC, Spawn, "The Far Seas Trading Company won't rest until they've seizified full control of that collection of spiny rock, and neither will the Smugglers. There's far too much at stake for either side to up'n give up. And this, mate, is where we come in.")
  47. end
  48. end
  49. --[[ raw_conversations
  50. PlayFlavor(NPC, "", "Like I said before, get out there and hold onto those blood-soaked islets.", "", 1689589577, 4560189, Spawn)
  51. --]]