InnkeeperTMel.lua 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/InnkeeperTMel.lua
  3. Script Purpose : Innkeeper T`Mel <Housing>
  4. Script Author : John Adams
  5. Script Date : 2008.09.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. conversation = CreateConversation()
  16. PlayFlavor(NPC, "innkeep_t_mel/fprt_hood05/innkeeper010.mp3", "", "", 2340348153, 751626447, Spawn)
  17. AddConversationOption(conversation, "Please.", "dlg_9_1")
  18. AddConversationOption(conversation, "No thanks.")
  19. StartConversation(conversation, NPC, Spawn, "Hello .. GetName(Spawn) .. . 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?")
  20. end
  21. function dlg_9_1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "innkeep_t_mel/fprt_hood05/innkeeper001.mp3", "", "", 1604544073, 412984361, Spawn)
  25. AddConversationOption(conversation, "How can I place an item in my house?", "dlg_9_2")
  26. AddConversationOption(conversation, "What kind of housing is available to me?")
  27. AddConversationOption(conversation, "What is the marketboard for?")
  28. AddConversationOption(conversation, "What is my house for?")
  29. AddConversationOption(conversation, "Nothing right now.")
  30. StartConversation(conversation, NPC, Spawn, "What would you like to know?")
  31. end
  32. function dlg_9_2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper002.mp3", "", "", 2240470987, 2600508927, Spawn)
  36. AddConversationOption(conversation, "What kind of housing is available to me?", "dlg_9_3")
  37. AddConversationOption(conversation, "What is the marketboard for?")
  38. AddConversationOption(conversation, "What is my house for?")
  39. AddConversationOption(conversation, "That's enough for now, thanks.")
  40. StartConversation(conversation, NPC, Spawn, "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.")
  41. end
  42. function dlg_9_3(NPC, Spawn)
  43. FaceTarget(NPC, Spawn)
  44. conversation = CreateConversation()
  45. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper003.mp3", "", "", 3084973441, 655607663, Spawn)
  46. AddConversationOption(conversation, "Is any other housing available?", "dlg_9_4")
  47. AddConversationOption(conversation, "How can I place an item in my house?")
  48. AddConversationOption(conversation, "What is the marketboard for?")
  49. AddConversationOption(conversation, "What is my house for?")
  50. AddConversationOption(conversation, "That's enough for now, thanks.")
  51. StartConversation(conversation, NPC, Spawn, "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.")
  52. end
  53. function dlg_9_4(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper004.mp3", "", "", 3828782678, 3247840746, Spawn)
  57. AddConversationOption(conversation, "How can I place an item in my house?", "dlg_9_5")
  58. AddConversationOption(conversation, "What is the marketboard for?")
  59. AddConversationOption(conversation, "What is my house for?")
  60. AddConversationOption(conversation, "That’s enough for now, thanks.")
  61. StartConversation(conversation, NPC, Spawn, "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.")
  62. end
  63. function dlg_9_5(NPC, Spawn)
  64. FaceTarget(NPC, Spawn)
  65. conversation = CreateConversation()
  66. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper002.mp3", "", "", 2240470987, 2600508927, Spawn)
  67. AddConversationOption(conversation, "What kind of housing is available to me?", "dlg_9_6")
  68. AddConversationOption(conversation, "What is the marketboard for?")
  69. AddConversationOption(conversation, "What is my house for?")
  70. AddConversationOption(conversation, "That's enough for now, thanks.")
  71. StartConversation(conversation, NPC, Spawn, "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.")
  72. end
  73. function dlg_9_6(NPC, Spawn)
  74. FaceTarget(NPC, Spawn)
  75. conversation = CreateConversation()
  76. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper005.mp3", "", "", 3482692093, 3042315270, Spawn)
  77. AddConversationOption(conversation, "How do I sell items using my marketboard?")
  78. AddConversationOption(conversation, "How can I place an item in my house?", "dlg_9_7")
  79. AddConversationOption(conversation, "What kind of housing is available to me?")
  80. AddConversationOption(conversation, "What is my house for?")
  81. AddConversationOption(conversation, "That’s enough for now, thanks.")
  82. StartConversation(conversation, NPC, Spawn, "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.")
  83. end
  84. function dlg_9_7(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper006.mp3", "", "", 2103390575, 2406130630, Spawn)
  88. AddConversationOption(conversation, "I can sell things through a broker?", "dlg_9_8")
  89. AddConversationOption(conversation, "How can I place an item in my house?")
  90. AddConversationOption(conversation, "What kind of housing is available to me?")
  91. AddConversationOption(conversation, "What is my house for?")
  92. AddConversationOption(conversation, "That’s enough for now, thanks.")
  93. StartConversation(conversation, NPC, Spawn, "Selling through your market board works the same way as directly selling through a broker, it just allows you to do it from the comfort of your home.")
  94. end
  95. function dlg_9_8(NPC, Spawn)
  96. FaceTarget(NPC, Spawn)
  97. conversation = CreateConversation()
  98. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  99. AddConversationOption(conversation, "How can I place an item in my house?", "dlg_9_9")
  100. AddConversationOption(conversation, "What kind of housing is available to me?")
  101. AddConversationOption(conversation, "What is the marketboard for?")
  102. AddConversationOption(conversation, "That’s enough for now, thanks.")
  103. StartConversation(conversation, NPC, Spawn, "Yes. For a fee, brokers are willing to post the goods you are willing to sell to other adventurers. Brokers can be found in all primary districts of the city as well as in the Tradeskill wholesalers.")
  104. end
  105. function dlg_9_9(NPC, Spawn)
  106. FaceTarget(NPC, Spawn)
  107. conversation = CreateConversation()
  108. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper005.mp3", "", "", 3482692093, 3042315270, Spawn)
  109. AddConversationOption(conversation, "How do I sell items using my marketboard?")
  110. AddConversationOption(conversation, "How can I place an item in my house?")
  111. AddConversationOption(conversation, "What kind of housing is available to me?", "dlg_9_10")
  112. AddConversationOption(conversation, "What is my house for?")
  113. AddConversationOption(conversation, "That’s enough for now, thanks.")
  114. StartConversation(conversation, NPC, Spawn, "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.")
  115. end
  116. function dlg_9_10(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. conversation = CreateConversation()
  119. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper007.mp3", "", "", 3903539507, 2186966695, Spawn)
  120. AddConversationOption(conversation, "Anything else?")
  121. AddConversationOption(conversation, "How can I place an item in my house?")
  122. AddConversationOption(conversation, "What kind of housing is available to me?")
  123. AddConversationOption(conversation, "What is the marketboard for?", "dlg_9_11")
  124. AddConversationOption(conversation, "That’s enough for now, thanks.")
  125. StartConversation(conversation, NPC, Spawn, "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.")
  126. end
  127. function dlg_9_11(NPC, Spawn)
  128. FaceTarget(NPC, Spawn)
  129. conversation = CreateConversation()
  130. PlayFlavor(NPC, "innkeeper_uglar_splinterthumb/fprt_hood05/innkeeper008.mp3", "", "", 3708157773, 1757079976, Spawn)
  131. AddConversationOption(conversation, "How can I place an item in my house?", "dlg_9_12")
  132. AddConversationOption(conversation, "What kind of housing is available to me?")
  133. AddConversationOption(conversation, "What is the marketboard for?")
  134. AddConversationOption(conversation, "That’s enough for now, thanks.")
  135. StartConversation(conversation, NPC, Spawn, "Yes, houses have what we call vaults; these are extra storage within your house, the larger your house is, the more storage space available. By placing items in this house vault and using your marketboard, you can sell these items to other citizens of Freeport without being in your room.")
  136. end