KargIcemoore.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/Graystone/KargIcemoore.lua
  3. Script Purpose : Karg Icemoore
  4. Script Author : John Adams
  5. Script Date : 2008.09.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. local TheMotleyMerchantManifest = 5368
  9. function spawn(NPC)
  10. SetInfoStructString(NPC, "action_state", "drinking_idle")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "voiceover/english/icemoore/qey_village03/icemoore000.mp3", "", "no", 2067185427, 1499529819, Spawn)
  19. if GetQuestStep(Spawn, TheMotleyMerchantManifest) == 5 then
  20. AddConversationOption(conversation, "I believe you need to sign this manifest. ", "Option1")
  21. end
  22. AddConversationOption(conversation, "I'll look around.")
  23. StartConversation(conversation, NPC, Spawn, "Welcome to the Frozen Tundra, finest brewhall in all of Qeynos--no--finest brewhall in all of Norrath!! Belly up to Coppershot. He'll get yer order.")
  24. end
  25. function Option1(NPC, Spawn)
  26. SetStepComplete(Spawn, TheMotleyMerchantManifest, 5)
  27. FaceTarget(NPC, Spawn)
  28. local conversation = CreateConversation()
  29. PlayFlavor(NPC, "voiceover/english/icemoore/qey_village03/icemoore001.mp3", "", "frustrated", 3923754329, 1864701403, Spawn)
  30. AddConversationOption(conversation, "I will be leaving now.")
  31. StartConversation(conversation, NPC, Spawn, "Brell save me! Keep that book lowered. I don't need the Guard marchin' in and findin' me doing business with yer type. ")
  32. end