9
3

ZipiffClamorclang.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/ZipiffClamorclang.lua
  3. Script Purpose : Zipiff Clamorclang
  4. Script Author : Dorbin
  5. Script Date : 2022.01.21
  6. Script Notes :
  7. --]]
  8. local Delivery = 5446
  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 GetQuestStep (Spawn, Delivery) == 1 then
  18. AddConversationOption(conversation, "I'm checking on Lolla Cotgrove's kegs.", "TheOrder")
  19. end
  20. PlayFlavor(NPC, "voiceover/english/zipiff_clamorclang/qey_village06/zipiffclamorclang000.mp3", "", "", 2450977341, 1936083009, Spawn)
  21. AddConversationOption(conversation, "I think I'll move back. It sounds like I really don't want to crimp a cog.")
  22. StartConversation(conversation, NPC, Spawn, "Careful where you walk! I don't want you bending a sprocket or tweaking a spring, and you mustn't crimp a cog! If I have to uncrimp just one more cog...")
  23. end
  24. function TheOrder(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. conversation = CreateConversation()
  27. PlayFlavor(NPC, "voiceover/english/zipiff_clamorclang/qey_village06/zipiffclamorclang001.mp3", "", "yes", 776820733, 1890824744, Spawn)
  28. AddConversationOption(conversation, "Sounds like sorcery. How does it work?", "Clockwork")
  29. AddConversationOption(conversation, "I will let her know. Thank you.", "UpdateDelivery")
  30. StartConversation(conversation, NPC, Spawn, "Ah, yes! Wonderful things. I am finishing the kegs right now. I've got the Freezorators working, or at least to the point where they don't cover the kegs in ice. Let Lolla know the kegs are on schedule and will be ready soon.")
  31. end
  32. function Clockwork(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "voiceover/english/zipiff_clamorclang/qey_village06/zipiffclamorclang002.mp3", "", "no", 2356722587, 1174004626, Spawn)
  36. AddConversationOption(conversation, "A Freeze-or...what?", "Clockwork2")
  37. AddConversationOption(conversation, "Anyway, I'll let Lolla know about the kegs. Thank you.", "UpdateDelivery")
  38. StartConversation(conversation, NPC, Spawn, "Sorcery? I stopped that silliness a long time ago. Though it had a solid foundation, sorcery isn't as effective as clockworks! Take my Freezorator for example.")
  39. end
  40. function Clockwork2(NPC, Spawn)
  41. FaceTarget(NPC, Spawn)
  42. conversation = CreateConversation()
  43. PlayFlavor(NPC, "voiceover/english/zipiff_clamorclang/qey_village06/zipiffclamorclang003.mp3", "", "", 260712735, 3045244120, Spawn)
  44. AddConversationOption(conversation, "Nope, I'll let Lolla know about the kegs.", "UpdateDelivery")
  45. StartConversation(conversation, NPC, Spawn, "A Freezor-ator! Rather than using ice spells to keep something cold, my device works all day. Yes yes, I know it's not as good as a sub-arctic ice storm spell... or as effective as lobbing shards of ice at hungry gnolls... or even freezing the skin off of a... Oh, well it's just better! Alright?! Is there anything else?")
  46. end
  47. function UpdateDelivery(NPC, Spawn)
  48. SetStepComplete(Spawn, Delivery, 1)
  49. end