arestingsoldier.lua 727 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : <script-name>
  3. Script Purpose : <purpose>
  4. Script Author : <author-name>
  5. Script Date : <date>
  6. Script Notes : <special-instructions>
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. choice = math.random(1, 4)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "", "Spirocs? Hah!", "", 0, 0, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "", "To Gorowyn.", "", 0, 0, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "", "The field is rough today, which is just how we like it.", "", 0, 0, Spawn)
  19. else
  20. PlayFlavor(NPC, "", "Test yourself daily, or your enemies will do it for you.", "", 0, 0, Spawn)
  21. end
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end