AssistantJalan.lua 1.3 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Graystone/AssistantJalan.lua
  3. Script Purpose : Assistant Jalan
  4. Script Author : John Adams
  5. Script Date : 2008.09.21
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetInfoStructString(NPC, "action_state", "ponder")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. choice = math.random(1,3)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/banker/barbarian_banker_service_good_1_hail_gf_1772a0df.mp3", "Has anyone told you about our new retirement savings programs?", "nod", 598649185, 1528614376, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/banker/barbarian_banker_service_good_1_hail_gf_17a9b8f6.mp3", "Are you interested in qualifying for an equity line of coin on your livestock?", "shrug", 3636052598, 303778763, Spawn)
  21. elseif choice == 3 then
  22. PlayFlavor(NPC, "voiceover/english/barbarian_eco_good_1/ft/service/banker/barbarian_banker_service_good_1_hail_gf_ca4ce94.mp3", "Greetings, would you like to open an account or is there something else I can help with?", "hello", 2950142669, 2951966236, Spawn)
  23. else
  24. end
  25. end