-- Made by Borges
--DO NOT EDIT BELOW
setlootingdestination('mainbp', mainbp)
setlootingdestination('lootbp', lootbp)
setlootingdestination('goldbp', goldbp)
foreach lootingitem m do
if m.name ~= 'gold coin' and m.name ~= 'platinum coin' and m.name ~= 'crystal coin' then
if iteminfo(m.name).iscumulative then
setsetting('Looting/LootList/'..m.name..'/Category', stack)
setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'lootbp')
else
setsetting('Looting/LootList/'..m.name..'/Category', nostack)
setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'lootbp')
end
elseif m.name == 'gold coin' then
setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'goldbp')
elseif m.name == 'platinum coin' or m.name == 'crystal coin' then
setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'mainbp')
end
end
-- set looting categories
setlootingdestination('mainbp', mainbp)
setlootingdestination('lootbp', lootbp)
setlootingdestination('goldbp', goldbp)
foreach lootingitem i do
setsetting('Looting/LootList/'..i.name..'/UseLootingDestination', 'yes')
if i.name == "gold coin" then
setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'goldbp')
elseif i.name == "platinum coin" then
setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'mainbp')
elseif itemproperty(i.id, ITEM_STACKABLE) then
setsetting('Looting/LootList/'..i.name..'/Category', stack)
setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'lootbp')
else
setsetting('Looting/LootList/'..i.name..'/Category', nonstack)
setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'lootbp')
end
end
anyway gj
05-08-2015, 03:27 PM
Imba
Quote:
Originally Posted by borges
Nice try, but you miss one "end" and don't setting categories :p
Thanks for tip:
tbh no, i missed one 'esle' because i wasnt making it in bot, so didnt pay attention when coping from my script
and what do you mean with "don't setting categories"?
05-08-2015, 04:24 PM
Imba
i just added "else" in line 19
08-04-2015, 10:18 AM
laxantezsk
haahaha nice man
08-04-2015, 11:49 AM
Borges
Quote:
Originally Posted by laxantezsk
haahaha nice man
Thanks
12-06-2015, 06:20 AM
akademiksi
would this solve my looting problem?
im looking if someone can make me looter script in nightmare isles. complete loot list and set destinations, like this -> stackable loot to blue backpack and item loots to orange backpack
12-06-2015, 08:58 AM
Imba
Quote:
Originally Posted by akademiksi
would this solve my looting problem?
im looking if someone can make me looter script in nightmare isles. complete loot list and set destinations, like this -> stackable loot to blue backpack and item loots to orange backpack
No it wont. And please, i alredy told you on chat where to post your request, so just do it and wait.
12-06-2015, 09:14 AM
akademiksi
Quote:
Originally Posted by Imba
No it wont. And please, i alredy told you on chat where to post your request, so just do it and wait.
maybe look around? i did it already...
12-06-2015, 09:17 AM
Imba
Quote:
Originally Posted by akademiksi
maybe look around? i did it already...
Ye i noticed, and even u alredy got answer, so just wait till mistgun wake up and i am pretty sure he will help you.