9
3

Boomba.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/WestFreeport/Boomba.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.21 09:10:54
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. Dialog3(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("I'm from a proud line of Boombas. My greatest grand-sire sold pickles at this spot more than five hundreds years ago. Every generation of Boomba has given their firstborn the name of Boomba to honor our greatest ancestor. When I die, my daughter, Boomba, will take my place. I'm tired of talking. Purchase a pickle or leave!")
  21. Dialog.AddVoiceover("voiceover/english/boomba/fprt_west/quests/boomba/boomba_flavor2.mp3", 2578978332, 1737212586)
  22. PlayFlavor(NPC,"","","sniff",0,0,Spawn)
  23. Dialog.AddOption("I think I'll take a look!")
  24. Dialog.Start()
  25. end
  26. function Dialog2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("You dare insult me! Thank your gods a guard is over there. Once he stops looking at us, I plan on cleaving your skull in two.")
  30. Dialog.AddVoiceover("voiceover/english/boomba/fprt_west/quests/boomba/boomba_flavor.mp3", 542505696, 1791956842)
  31. PlayFlavor(NPC,"","","shakefist",0,0,Spawn)
  32. Dialog.AddOption("Then I'll use this chance to get out of here.")
  33. Dialog.AddOption("I meant no offense, Boomba. I was just curious. How long have you been selling pickles?", "Dialog1")
  34. Dialog.Start()
  35. end
  36. function Dialog3(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. Dialog.New(NPC, Spawn)
  39. Dialog.AddDialog("I am Boomba, and I sell pickles. If you want to talk, find a Teir'Dal.")
  40. Dialog.AddVoiceover("voiceover/english/boomba/fprt_west/mer_boomba.mp3", 3778038268, 407693409)
  41. Dialog.AddOption("Fine. I'll take a look at your pickles, I guess.")
  42. Dialog.AddOption("What's an Ogre selling pickles for? Shouldn't you be destroying something?", "Dialog2")
  43. Dialog.Start()
  44. end