StableHandVerdantus.lua 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/WestFreeport/StableHandVerdantus.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.26 08:10:12
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. RandomGreeting(NPC, Spawn)
  15. end
  16. function RandomGreeting(NPC, Spawn)
  17. local choice = MakeRandomInt(1,3)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/optional4/eco_human_male_petretailer_1/dj_hmpre_hail_gm2-mp3_64.mp3", "This isn't a petting zoo. Either buy something or get lost.", "scold", 1673782204, 664569941, Spawn, 0)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "voiceover/english/optional4/eco_human_male_petretailer_1/dj_hmpre_hail_gm3-mp3_64.mp3", "Yeah, that particular one was, uh, bred to have three legs.", "ponder", 101661289, 3669829351, Spawn, 0)
  22. elseif choice == 3 then
  23. PlayFlavor(NPC, "voiceover/english/optional4/eco_human_male_petretailer_1/dj_hmpre_hail_gm1-mp3_64.mp3", "\"House trained?\" What's that mean?", "confused", 2399426249, 2846389365, Spawn, 0)
  24. end
  25. end