9
3

adistraughtfarmer.lua 731 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/Sprawl/adistraughtfarmer.lua
  3. Script Purpose : a distraught farmer
  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, "", "Please brave one, drive them away!", "", 1689589577, 4560189, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "", "Help me, I beg you!", "", 1689589577, 4560189, Spawn)
  20. elseif choice == 3 then
  21. Say(NPC, "They defile my land and steal my crops!", Spawn)
  22. elseif choice == 4 then
  23. Say(NPC, "They may be bad, but the walking rats are worse...", Spawn)
  24. end
  25. end