aGigglegibberGoblinGamblinGameVendor.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : AGigglegibberGoblinGamblinGameVendor.lua
  3. Script Purpose : a Gigglegibber Goblin Gamblin' Game Vendor
  4. Script Author : Jabantiz
  5. Script Date : 08/29/2019
  6. Script Notes : Auto-Generated from a chat log using SpawnScriptDesigner
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. Dialog.New(NPC, Spawn)
  17. Dialog.AddDialog("Buy ticket, you! Only ten shiny coins! You give just ten shiny coins and maybe you get um... many shinier coins!")
  18. Dialog.AddOption("How did a goblin get in here? Don't you kill people?", "dlg_2")
  19. Dialog.AddOption("I think I'd rather keep my money, thanks.")
  20. Dialog.Start()
  21. --[[ Say() from this NPC
  22. Orphaned PlayFlavors
  23. --]]
  24. end
  25. function dlg_2(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. Dialog.New(NPC, Spawn)
  28. Dialog.AddDialog("Gigglegibber goblins not kill people! War no fun at all. Gigglegibber goblins like shiny coins and funny things! We like frogs, fluffy kittens, potatoes... You have potatoes?")
  29. Dialog.AddOption("Why are potatoes funny?", "dlg_3")
  30. Dialog.AddOption("On second thought, I'll be going now.")
  31. Dialog.Start()
  32. end
  33. function dlg_3(NPC, Spawn)
  34. FaceTarget(NPC, Spawn)
  35. Dialog.New(NPC, Spawn)
  36. Dialog.AddDialog("They tasty! Not funny!... though Gribbik carved funny face in a potato once. That was funny until he eated it. Hey! No try to tricks me with talk about potatoes. You still pays ten shiny coins for ticket! Buy many tickets! If you buys more maybe you win more than many shiny coins!")
  37. Dialog.AddOption("I'll think about it.")
  38. Dialog.Start()
  39. end