Loria.lua 1.0 KB

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/Sprawl/Loria.lua
  3. Script Purpose : Loria <Provisions>
  4. Script Author : Scatman
  5. Script Date : 2009.07.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, 4)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "", "Only traitors to the Overlord would pass up a bargain like this. You're not a traitor are you?", "scold", 1689589577, 4560189, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "", "Are you going to buy anything today or am I just wasting my time? This isn't a museum display you know!", "glare", 1689589577, 4560189, Spawn)
  20. elseif choice == 3 then
  21. PlayFlavor(NPC, "", "The stuff's over there. Just let me know if you find anything you like.", "ponder", 1689589577, 4560189, Spawn)
  22. elseif choice == 4 then
  23. PlayFlavor(NPC, "", "Hello there, kind adventurer. My merchandise carries the seal of the Overlord himself! Go ahead, take a look!", "salute_freeport", 1689589577, 4560189, Spawn)
  24. end
  25. end