Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MinionSender.AE.ActionDropDimension()
- local items = Inspect.Item.Detail(Utility.Item.Slot.Inventory())
- if items ~= nil then
- for k, v in pairs(items) do
- if v.category ~= nil and string.find(v.category, "dimension") ~= nil and MinionSenderUISettings.flags["dropDimension" .. (v.rarity or "common")] and
- (string.find(v.category, "key") == nil or MinionSenderUISettings.flags.dropDimensionKey) and
- (v.lootable ~= true or MinionSenderUISettings.flags.dropDimensionLootable) then
- if Inspect.Queue.Status("global") then
- pcall(Command.Item.Destroy, v.id)
- return
- end
- end
- -- if v.category ~= nil and string.find(v.category, "recipe") ~= nil and MinionSenderUISettings.flags["dropDimension" .. (v.rarity or "common")] and
- -- (string.find(v.category, "key") == nil or MinionSenderUISettings.flags.dropDimensionKey) and
- -- (v.lootable ~= true or MinionSenderUISettings.flags.dropDimensionLootable) then
- -- if Inspect.Queue.Status("global") then
- -- pcall(Command.Item.Destroy, v.id)
- -- return
- -- end
- -- end
- --
- -- if v.category ~= nil and string.find(v.category, "pet") ~= nil and MinionSenderUISettings.flags["dropDimension" .. (v.rarity or "common")] and
- -- (string.find(v.category, "key") == nil or MinionSenderUISettings.flags.dropDimensionKey) and
- -- (v.lootable ~= true or MinionSenderUISettings.flags.dropDimensionLootable) then
- -- if Inspect.Queue.Status("global") then
- -- pcall(Command.Item.Destroy, v.id)
- -- return
- -- end
- -- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement