9
3

GrullSilverstump.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/GrullSilverstump.lua
  3. Script Purpose : Grull Silverstump <Mender>
  4. Script Author : John Adams
  5. Script Date : 2009.02.05
  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. choice = math.random(1,3)
  21. if choice == 1 then
  22. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/mender_grull_silverstump/_exp03/exp03_rgn_greater_faydark/quest/nursery_mender_grull_silverstump_hello_ea00152d.mp3", "Ah used to be an adventurer like ye, but ah lost me leg ta a cranky bugbear and had ta give up the profession. Luckily, ah could fall back on me smithy skills for a new stomper and livelihood! Haha!", "converse_male01", 42384471, 1863204866, Spawn)
  23. elseif choice == 2 then
  24. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/mender_grull_silverstump/_exp03/exp03_rgn_greater_faydark/quest/nursery_mender_grull_silverstump_hello_5c10e9eb.mp3", "Ah'll be takin' care o' any dings 'r dents ye get in yer gear. Just bring 'em ta me!", "hello", 441968040, 2307457527, Spawn)
  25. elseif choice == 3 then
  26. PlayFlavor(NPC, "voiceover/english/exp03_questvo2/mender_grull_silverstump/_exp03/exp03_rgn_greater_faydark/quest/nursery_mender_grull_silverstump_hello_8d3b3b74.mp3", "The wee fae are pretty acceptin' o' outsiders if ye be respectful to 'em. They really dunnae like the orcs, tho', which is jus' fine by me!", "hello", 1095614171, 2889548526, Spawn)
  27. else
  28. end
  29. end