Certain Loot Pickup

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
BeyondNames
Posts: 104
Joined: Thu Jun 27, 2013 7:39 pm

Certain Loot Pickup

#1 Post by BeyondNames »

What is the easiest way to pick up only 1 item from mobs loot and nothing else.
If thats not possible could i make the bot pick up everything and then delete the other items it picked up except the 1 I want to keep?
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Certain Loot Pickup

#2 Post by rock5 »

Get a loot filter addon such as lootomatic http://rom.curseforge.com/addons/lootomatic/
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: Certain Loot Pickup

#3 Post by kuripot »

Code: Select all

	function CleanBag()
		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("Weapons") or item:isType("Armor") ) and 1 > item.Quality then
					item:delete()
				end
				if item:isType("Production Runes") then
					item:delete()
				end
				if item:isType("Runes") then
					item:delete()
				end
			         if item:isType("Arrows") then
			            item:delete()
			         end
			         if item:isType("Projectiles") then
			            item:delete()
			         end
				if item.Name  == "Regeneration Mixture" then
			            item:delete()
			         end			
			end
		end
	end
delete by category or by individual item
Post Reply