TheLegendaryDwarvenWorkBoots.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : ItemScripts/TheLegendaryDwarvenWorkBoots.lua
  3. Script Author : Premierio015
  4. Script Date : 2023.04.22 07:04:52
  5. Script Purpose :
  6. :
  7. --]]
  8. function examined(Item, Player)
  9. conversation = CreateConversation()
  10. AddConversationOption(conversation, "Remove stone from the mounting)", "removemount")
  11. AddConversationOption(conversation, "Leave the stone alone", "CloseItemConversation")
  12. StartDialogConversation(conversation, 2, Item, Player, "Dwarven Work Boots. Given to me by Hwal Ruksif after performing many work tasts for him... including having a new pair of boots made for him!")
  13. end
  14. function removemount(Item, Player)
  15. if HasItem(Player, 66088) then
  16. RemoveItem(Player, 66088)
  17. SummonItem(Player , 146379)
  18. elseif HasItem(Player, 66089) then
  19. RemoveItem(Player, 66089)
  20. SummonItem(Player, 146378)
  21. elseif HasItem(Player, 66091) then
  22. RemoveItem(Player, 66091)
  23. SummonItem(Player, 146381)
  24. elseif HasItem(Player, 66090) then
  25. RemoveItem(Player, 66090)
  26. SummonItem(Player, 146380)
  27. end
  28. end