EbbTide.lua 670 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/EbbTide.lua
  3. Script Purpose : Ebb Tide
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,2)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "", "Got any goods for sale from your adventures?", "", 1689589577, 4560189, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "", "Welcome to Ebb Tide's Alehouse.", "", 1689589577, 4560189, Spawn)
  15. else
  16. PlayFlavor(NPC, "", "If you can trade it, I can buy it.", "", 1689589577, 4560189, Spawn)
  17. end
  18. end