Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _addon = {}
- _addon.name = 'itemdropper'
- _addon.version = '1.000'
- require 'sets'
- windower.register_event('load',function ()
- items = S{
- '2150', --colibri feather
- '2171', --colibri beak
- '868', --pugil scales
- '3928', --velk necklace
- '3929', --velk mask
- '858', --wolf hide
- '940', --revival root
- '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
- '3297', --flame geode
- '3298', --snow geode
- '3299', --breeze geode
- '3300', --soil geode
- '3301', --thunder geode
- '3302', --aqua geode
- '3303', --light geode
- '3304', --shadow geode
- --'3520', --ifrite
- --'3521', --shivite
- --'3522', --garudaite
- --'3523', --titanite
- --'3524', --ramuite
- --'3525', --leviatite
- --'3526', --carbite
- --'3527', --fenrite
- }
- checkinventory()
- end)
- function checkinventory()
- for _,item in pairs(windower.ffxi.get_items().inventory) do
- if items[tostring(item.id)] then
- windower.packets.inject_outgoing(0x28,string.char(0x28,6,0,0,item.count,0,0,0,0,item.slot,0,0))
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement