9
3

aledger.lua 1003 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/Rogue_IrontoeInn/aledger.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.12.03 04:12:48
  5. Script Purpose :
  6. :
  7. --]]
  8. function casted_on(NPC, Spawn, SpellName)
  9. if SpellName == 'Read' then
  10. local con = CreateConversation()
  11. AddConversationOption(con, "Quickly scan the recent pages.", "Entry")
  12. AddConversationOption(con, "Leave the ledger.","Exit")
  13. StartDialogConversation(con, 1, NPC, Spawn, "This ledger is one of many records for the movement of goods in the Qeynos Harbor Cache.")
  14. end
  15. end
  16. function Entry(NPC, Spawn)
  17. local con = CreateConversation()
  18. AddConversationOption(con, "Leave the ledger.","Exit")
  19. StartDialogConversation(con, 1, NPC, Spawn, "A note scribbled in the margins amongst recent arrivals. \'The lieutenant wants the new orders kept upstairs. For his eyes only!\' ")
  20. end
  21. function Exit(NPC, Spawn)
  22. CloseConversation(NPC,Spawn)
  23. end