9
3

UmliGrayfist.lua 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/UmliGrayfist.lua
  3. Script Purpose : Umli Grayfist <Bartender>
  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. PlayFlavor(NPC, "voiceover/english/merchant_umli_grayfist/qey_harbor/umligrayfist.mp3", "", "", 3286861103, 2387698452, Spawn)
  22. AddConversationOption(conversation, "I'd say the deal's already been struck, Gretta sent me to fetch her order.", "dlg_0_1")
  23. AddConversationOption(conversation, "Thank you but I'm not interested right this second, perhaps some other time.")
  24. StartConversation(conversation, NPC, Spawn, "Have I got a bargain for you! Come now, step up, I don't bite. Check my goods and see if we can't make a whale of a deal! Ha ha ha ha ...Whale of a deal, get it?")
  25. if convo==6 then
  26. PlayFlavor(NPC, "voiceover/english/merchant_umli_grayfist/qey_harbor/umligrayfist.mp3", "", "", 3286861103, 2387698452, Spawn)
  27. AddConversationOption(conversation, "Thank you but I'm not interested right this second, perhaps some other time.", "dlg_6_1")
  28. StartConversation(conversation, NPC, Spawn, "Have I got a bargain for you! Come now, step up, I don't bite. Check my goods and see if we can't make a whale of a deal! Ha ha ha ha ...Whale of a deal, get it?")
  29. end
  30. if convo==8 then
  31. PlayFlavor(NPC, "voiceover/english/merchant_umli_grayfist/qey_harbor/umligrayfist.mp3", "", "", 3286861103, 2387698452, Spawn)
  32. AddConversationOption(conversation, "Thank you but I'm not interested right this second, perhaps some other time.", "dlg_8_1")
  33. StartConversation(conversation, NPC, Spawn, "Have I got a bargain for you! Come now, step up, I don't bite. Check my goods and see if we can't make a whale of a deal! Ha ha ha ha ...Whale of a deal, get it?")
  34. end
  35. if convo==9 then
  36. PlayFlavor(NPC, "voiceover/english/merchant_umli_grayfist/qey_harbor/umligrayfist.mp3", "", "", 3286861103, 2387698452, Spawn)
  37. AddConversationOption(conversation, "Thank you but I'm not interested right this second, perhaps some other time.", "dlg_9_1")
  38. StartConversation(conversation, NPC, Spawn, "Have I got a bargain for you! Come now, step up, I don't bite. Check my goods and see if we can't make a whale of a deal! Ha ha ha ha ...Whale of a deal, get it?")
  39. end
  40. if convo==10 then
  41. PlayFlavor(NPC, "voiceover/english/merchant_umli_grayfist/qey_harbor/umligrayfist.mp3", "", "", 3286861103, 2387698452, Spawn)
  42. AddConversationOption(conversation, "Thank you but I'm not interested right this second, perhaps some other time.", "dlg_10_1")
  43. StartConversation(conversation, NPC, Spawn, "Have I got a bargain for you! Come now, step up, I don't bite. Check my goods and see if we can't make a whale of a deal! Ha ha ha ha ...Whale of a deal, get it?")
  44. end
  45. end
  46. function dlg_0_1(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. PlayFlavor(NPC, "voiceover/english/merchant_umli_grayfist/qey_harbor/umligrayfist000.mp3", "", "", 4224571781, 125811953, Spawn)
  50. AddConversationOption(conversation, "I'll make sure she hears about your plans... by the way, she says you're uglier than a female troll. I guess that's how dwarves flirt.", "dlg_0_2")
  51. AddConversationOption(conversation, "Ugh! These smell horrible! If this is the freshest you've got, then I'll be avoiding Irontoes tonight for sure!")
  52. StartConversation(conversation, NPC, Spawn, "Oh, Gretta, she's a feisty little lass! Did you see her nose? And those eye brows! Yow! Some day she and I will have some mighty fine lookin' little dwarves, but don't go telling her I said so! I'll just put it on her account. There. And here's her fish.")
  53. end