9
3

GrimplySniffwistle.lua 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/GrimplySniffwistle.lua
  3. Script Purpose : Grimply Sniffwistle
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  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, "grimply_sniffwistle/_exp03/exp03_rgn_greater_faydark/grimply_sniffwistle/grimply_001.mp3", "", "", 1393243277, 1476468337, Spawn)
  22. AddConversationOption(conversation, "What are you doing out here?", "dlg_21_1")
  23. AddConversationOption(conversation, "Yeah you are small.")
  24. StartConversation(conversation, NPC, Spawn, "Everything here is so huge isn't it? I feel even smaller than normal. It's beautiful.")
  25. end
  26. function dlg_21_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "grimply_sniffwistle/_exp03/exp03_rgn_greater_faydark/grimply_sniffwistle/grimply_002.mp3", "", "", 4190695975, 702857219, Spawn)
  30. AddConversationOption(conversation, "Is there anything I can do to help? ", "dlg_21_2")
  31. AddConversationOption(conversation, "Sounds like you need professional help.")
  32. StartConversation(conversation, NPC, Spawn, "Well I was... I mean I am an inventor, I make most marvelous things, or I will make them once I can get my thinker thinking.")
  33. end
  34. function dlg_21_2(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "grimply_sniffwistle/_exp03/exp03_rgn_greater_faydark/grimply_sniffwistle/grimply_003.mp3", "", "", 3838489501, 105443085, Spawn)
  38. AddConversationOption(conversation, "So... You need fresh cut treant wood?", "dlg_21_3")
  39. AddConversationOption(conversation, "Okay, sounds like you just need your space.")
  40. StartConversation(conversation, NPC, Spawn, "Well let's see, I was working on a woodle fandoogler, to bring me more fresh cut treant wood, but if I remember correctly it ended up just bringing back fish, so I pushed it off the cliff. If I wanted fish, I would make a fishing Fooper.")
  41. end
  42. function dlg_21_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "grimply_sniffwistle/_exp03/exp03_rgn_greater_faydark/grimply_sniffwistle/grimply_004.mp3", "", "", 2812110834, 1230803512, Spawn)
  46. AddConversationOption(conversation, "Treant chopping I go.", "dlg_21_4")
  47. StartConversation(conversation, NPC, Spawn, "Yes, fresh cut treant wood, thanks. You can stack it up over there when you bring it back. Don't just pick up any log off the ground though, go cut it off a tree yourself, that makes for better fires. As a matter of fact treants give the best smokey smell to just about anything. Oh and if you see my woodle fandoogler kick it for me would you?")
  48. end