InnkeeperUglarSplinterthumb.lua 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. --[[
  2. Script Name : SpawnScripts/BigBend/InnkeeperUglarSplinterthumb.lua
  3. Script Purpose : Innkeeper Uglar Splinterthumb
  4. Script Author : torsten
  5. Script Date : 2022.07.13
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  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. Dialog7(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("You will find that your house has many uses, the first of which is the ability to store house items. Each house has a limit to the number of house items you can place in it, so as you gain more possessions you wish to display you will need larger houses to do so.")
  21. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper007.mp3", 165358524, 606709445)
  22. Dialog.AddOption("Anything else?")
  23. Dialog.AddOption("How can I place an item in my house?")
  24. Dialog.AddOption("What kind of housing is available to me?")
  25. Dialog.AddOption("What is the marketboard for?", "Dialog6")
  26. Dialog.AddOption("That’s enough for now, thanks.")
  27. Dialog.Start()
  28. end
  29. function Dialog2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. Dialog.New(NPC, Spawn)
  32. Dialog.AddDialog("Hello XXXXXXXXXXX, I am the Innkeeper for this district. We have received word of your arrival and have a room prepared for you. Would you like to know more about housing?")
  33. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper010.mp3", 509145626, 3189630299)
  34. Dialog.AddOption("Yes.", "Dialog7")
  35. Dialog.AddOption("No, thanks.")
  36. Dialog.Start()
  37. end
  38. function Dialog3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. Dialog.New(NPC, Spawn)
  41. Dialog.AddDialog("Many different kinds of housing are available in the city of Freeport. In reward for your services, the Overlord has awarded you a one bedroom house for free at this time.")
  42. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper003.mp3", 3914812209, 3311263507)
  43. Dialog.AddOption("Is any other housing available?", "Dialog5")
  44. Dialog.AddOption("How can I place an item in my house?", "Dialog4")
  45. Dialog.AddOption("What is the marketboard for?")
  46. Dialog.AddOption("What is my house for?")
  47. Dialog.AddOption("That's enough for now, thanks.")
  48. Dialog.Start()
  49. end
  50. function Dialog4(NPC, Spawn)
  51. FaceTarget(NPC, Spawn)
  52. Dialog.New(NPC, Spawn)
  53. Dialog.AddDialog("To place an item in your house you must first find the item in your inventory, once you have done so right-click on the item and select the ‘place’ option. You will then see a tinted outline of your item in your house, when the item is highlighted green you may place it in that location, if it is highlighted red you cannot.")
  54. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper002.mp3", 69025377, 62732733)
  55. Dialog.AddOption("What kind of housing is available to me?", "Dialog3")
  56. Dialog.AddOption("What is the marketboard for?")
  57. Dialog.AddOption("What is my house for?")
  58. Dialog.AddOption("That's enough for now, thanks.")
  59. Dialog.Start()
  60. end
  61. function Dialog5(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. Dialog.New(NPC, Spawn)
  64. Dialog.AddDialog("Yes, the grand city of Freeport has houses ranging from the basic one bedroom model on up to 5 bedroom apartments, although the most ostentatious of these are only available to the most prestigious citizens of the city.")
  65. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper004.mp3", 6221364, 3117243418)
  66. Dialog.AddOption("How can I place an item in my house?")
  67. Dialog.AddOption("What is the marketboard for?")
  68. Dialog.AddOption("What is my house for?")
  69. Dialog.AddOption("That’s enough for now, thanks.")
  70. Dialog.Start()
  71. end
  72. function Dialog6(NPC, Spawn)
  73. FaceTarget(NPC, Spawn)
  74. Dialog.New(NPC, Spawn)
  75. Dialog.AddDialog("The marketboard is a house item, similar to books, beds, pets and other such items. What sets the marketboard apart from the rest however is that once your marketboard is mounted on a wall in your home you can use it to sell items to other citizens of Freeport. These items can be purchased by your fellow citizens at a Broker. Brokers can be found in all primary districts of the city as well as in the Tradeskill wholesalers.")
  76. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper005.mp3", 1914262799, 3417655076)
  77. Dialog.AddOption("How do I sell items using my marketboard?")
  78. Dialog.AddOption("How can I place an item in my house?")
  79. Dialog.AddOption("What kind of housing is available to me?", "Dialog3")
  80. Dialog.AddOption("What is my house for?")
  81. Dialog.AddOption("That’s enough for now, thanks.")
  82. Dialog.Start()
  83. end
  84. function Dialog7(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. Dialog.New(NPC, Spawn)
  87. Dialog.AddDialog("What would you like to know?")
  88. Dialog.AddVoiceover("innkeeper_uglar_splinterthumb/fprt_hood01/innkeeper001.mp3", 1390147787, 2337688028)
  89. Dialog.AddOption("How can I place an item in my house?")
  90. Dialog.AddOption("What kind of housing is available to me?")
  91. Dialog.AddOption("What is the marketboard for?")
  92. Dialog.AddOption("What is my house for?", "Dialog1")
  93. Dialog.AddOption("Nothing right now.")
  94. Dialog.Start()
  95. end