CarpenterGoroop.lua 1017 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Castleview/CarpenterGoroop.lua
  3. Script Purpose : Carpenter Goroop <Bowyer>
  4. Script Author : Scatman
  5. Script Date : 2009.10.03
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  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. if GetFactionAmount(Spawn,11) <0 then
  17. FactionChecking(NPC, Spawn, faction)
  18. else
  19. conversation = CreateConversation()
  20. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1018.mp3", 0, 0, Spawn)
  21. -- PlayFlavor(NPC, "voiceover/english/tutorial_revamp/carpenter_goroop/qey_village04/newbie_path_froglok/carpentergoroop007.mp3", "", "", 437901215, 87177442)
  22. AddConversationOption(conversation, "Indeed. I hope you enjoy it!")
  23. AddConversationOption(conversation, "I have no time to talk, as I am on a task.")
  24. StartConversation(conversation, NPC, Spawn, "Hail! 'Tis a great day!")
  25. end
  26. end