9
3

GertaFrostbeard.lua 683 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/GertaFrostbeard.lua
  3. Script Purpose : Gerta Frostbeard <Bartender>
  4. Script Author : theFoof
  5. Script Date : 2013.09.26
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. local choice = math.random(1,3)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "", "What'll it be, citizen?", "nod", 1689589577, 4560189, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "", "Sit a spell and have yarself a frothing brew or two!", "nod",0, 0, Spawn)
  20. elseif choice == 3 then
  21. PlayFlavor(NPC, "", "I got a drink that'll hit the spot for ya!", "nod", 0, 0, Spawn)
  22. end
  23. end