DwarvenWorkBoots.lua 817 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : ItemScripts/DwarvenWorkBoots.lua
  3. Script Author : Premierio015
  4. Script Date : 2023.04.22 07:04:14
  5. Script Purpose :
  6. :
  7. --]]
  8. local DwarvenWorkBootsID = 146379
  9. local TheLegendaryDwarvenWorkBootsID = 66088
  10. function examined(Item, Player)
  11. conversation = CreateConversation()
  12. AddConversationOption(conversation, "Place the mounting on the item. (This will remove any adornments and reforging)", "mount")
  13. AddConversationOption(conversation, "Leave the item as is", "CloseItemConversation")
  14. StartDialogConversation(conversation, 2, Item, Player, "The Dwarven Work Boots can be mounted and placed on the surface.")
  15. end
  16. function mount(Item, Player)
  17. RemoveItem(Player, DwarvenWorkBootsID)
  18. SummonItem(Player, TheLegendaryDwarvenWorkBootsID)
  19. end