Results 1 to 3 of 3

Thread: Stack BP / Non Stack BP

  1. #1
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3

    Stack BP / Non Stack BP

    I have this action who organize my BP automaticaly.


    but i need to change the lootBP into: StackLootBP/Non StackLootBP
    - And the names of stackable and non stackable itens can be changed.

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by vital900 View Post
    I have this action who organize my BP automaticaly.


    but i need to change the lootBP into: StackLootBP/Non StackLootBP
    - And the names of stackable and non stackable itens can be changed.
    Stackable loot goes in one BP
    Nonstackable loot goes in one BP
    Gold goes in one BP

    Youre welcome

    local stackBp = "Green Backpack"
    local rareBp = "Blue Backpack"
    local goldBp = "Golden Backpack"

    local lootItemsArray = getlootitems()
    for i = 0, lootItemsArray.count-1 do
    if lootItemsArray[i].id == 3031 then -- These are gold coins
    setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", goldBp)
    elseif lootItemsArray[i].iscumulative then
    setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", stackBp)
    else
    setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", rareBp)
    end
    end

  3. #3
    iBot User
    Join Date
    Jan 2014
    Posts
    118
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    14
    Rep Power
    3
    Quote Originally Posted by Drakke View Post
    Stackable loot goes in one BP
    Nonstackable loot goes in one BP
    Gold goes in one BP

    Youre welcome

    local stackBp = "Green Backpack"
    local rareBp = "Blue Backpack"
    local goldBp = "Golden Backpack"

    local lootItemsArray = getlootitems()
    for i = 0, lootItemsArray.count-1 do
    if lootItemsArray[i].id == 3031 then -- These are gold coins
    setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", goldBp)
    elseif lootItemsArray[i].iscumulative then
    setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", stackBp)
    else
    setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", rareBp)
    end
    end
    perfect!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •