When you got several chars running through mini games, each char is filled with a lot of items. You need to cleanup your inventory, otherwise you run out of space when doing mini games the next day. I thought it would be good idea to ask, if anybody already wrote a script to cleanup the inventory after doing mini games?
My current collection of todo's:
material-package-for-magical-instruments 203635 => use item
arcane transmutor charge 203487 => use item
master's-simple-repair-hammer 201014 => put item shop bag
simple Repair Hammer 201967 => send mail
horse-rental-ticket 203033 => send mail
Fusion Stone with Stamina and two random attributes 203001 => send mail
wood / herb / ore from instrument package => send mail
Ghost Card 205792 => put bank
phirius-shell 240181 => put bank
goblin champion badge 205037 => put bank
sell white, green, blue loot - except blue items with lvl > 54 => make mana stone => send mail
bag cleanup after doing mini games
Re: bag cleanup after doing mini games
Code: Select all
inventory:useItem(203487);
inventory:useItem(203487);
inventory:useItem(203487);
item = inventory:findItem("Master's Simple Repair Hammer")
if item then
item:moveTo("itemshop")
end
regards
Re: bag cleanup after doing mini games
Code: Select all
function CleanBagDOD()
for i, item in pairs(inventory.BagSlot) do
if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT + 60 and
settings.profile.options.INV_AUTOSELL_TOSLOT + 60 >= item.SlotNumber then
if item:isType("Materials") then
item:delete()
end
if item:isType("Arrows") then
item:delete()
end
if item:isType("Projectiles") then
item:delete()
end
if ( item:isType("Weapons") or item:isType("Armor") ) and (1000 > item.Worth and 5 > item.Quality)then
item:delete()
end
if item:isType("Equipment Enhancement") then
item:delete()
end
if item.Name == "Wild Boar Meat" then
item:delete()
end
if item:isType("Potions") then
item:delete()
end
end
end
end
Re: bag cleanup after doing mini games
Thx for your suggestions. I don't want to drop all of the stuff, so I also started to write my own functions using the CleanBagsKS. Still no time to test it, but I will post them if they are working.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest