FoorogGallantblade.lua 950 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Castleview/FoorogGallantblade.lua
  3. Script Purpose : Foorog Gallantblade
  4. Script Author : Scatman
  5. Script Date : 2009.10.03
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. dofile("SpawnScripts/Generic/GenericVoiceOvers.lua")
  10. function spawn(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. if GetFactionAmount(Spawn,11) <0 then
  18. FactionChecking(NPC, Spawn, faction)
  19. else
  20. GenericHail(NPC, Spawn)
  21. conversation = CreateConversation()
  22. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/foorog_gallantblade/qey_village04/newbie_path_froglok/fooroggallantblade005.mp3", "", "", 4022799450, 3509477944, Spawn)
  23. AddConversationOption(conversation, "Enjoy the day!")
  24. StartConversation(conversation, NPC, Spawn, "Glory to Marr, and a hearty welcome to you, mighty traveler!")
  25. end
  26. end