Boomba.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/Freeport/Boomba.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.11 07:08:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. conversation = CreateConversation()
  13. PlayFlavor(NPC, "voiceover/english/boomba/fprt_west/mer_boomba.mp3", "", "", 3778038268, 407693409, Spawn)
  14. AddConversationOption(conversation, "Fine. I'll take a look at your pickles, I guess.")
  15. AddConversationOption(conversation, "What's an Ogre selling pickles for? Shouldn't you be destroying something?", "dlg1")
  16. StartConversation(conversation, NPC, Spawn, "I am Boomba, and I sell pickles. If you want to talk, find a Teir'Dal.")
  17. end
  18. function dlg1(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/boomba/fprt_west/quests/boomba/boomba_flavor.mp3", "", "", 542505696, 1791956842, Spawn)
  22. AddConversationOption(conversation, "Then I'll use this chance to get out of here.")
  23. AddConversationOption(conversation, "I meant no offense, Boomba. I was just curious. How long have you been selling pickles?", "dlg2")
  24. StartConversation(conversation, NPC, Spawn, "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.")
  25. end
  26. function dlg2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "voiceover/english/boomba/fprt_west/quests/boomba/boomba_flavor2.mp3", "", "", 2578978332, 1737212586, Spawn)
  30. AddConversationOption(conversation, "I think I'll take a look!")
  31. StartConversation(conversation, NPC, Spawn, "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!")
  32. end
  33. function respawn(NPC)
  34. end