
Originally Posted by
Haborym
It would be cool if you could specify what you want moved, sort of like an LL profile. I'm not really worried about where they get sorted to, but rather that they get moved out of active inventory.
I just quickly modified my dropitems script to move items instead.... It works. The only thing is I have my dropitems setup by itemid instead of name, so you would have to look them up. But its better than nothing. It will check for items to move everytime you load the addon, and everytime you obtain a new item.
Code:
_addon = {}
_addon.name = 'moveitems'
_addon.version = '1.000'
require 'sets'
windower.register_event('load',function ()
items = S{
'19773', --hagneia stone
'4102', --light crystal
'4096', --fire crystal
'4098', --wind crystal
'4101', --water crystal
'843', --giant bird plume
'842', --giant bird feather
'6227', -- pshard i
'926', --lizard tail
'852', --lizard skin
'4362', --lizard egg
'853', --raptor skin
'3930', --twitherym wing
'3931', --twitherym scale
'4370', --honey
'846', --insect wing
'912', --beehive chip
}
checkinventory()
end)
function checkinventory()
for _,item in pairs(windower.ffxi.get_items().inventory) do
if items[tostring(item.id)] then
local satchel = windower.ffxi.get_items(5)
local sack = windower.ffxi.get_items(6)
local case = windower.ffxi.get_items(7)
if satchel.max - satchel.count > 1 then
windower.ffxi.put_item(5, item.slot)
elseif sack.max - sack.count > 1 then
windower.ffxi.put_item(6, item.slot)
elseif case.max - case.count > 1 then
windower.ffxi.put_item(7, item.slot)
end
end
end
end
windower.register_event('incoming chunk',function(id,original,modified,is_injected,is_blocked)
if id == 0x020 or id == 0x01E then
checkinventory()
end
end)