Can anyone or their friend who has a non-English client run this with ammo quiver, pouches or soul bags and report back if it correctly identifies which are normal bags?
/script local i,id,s,b for i=20,23 do _,_,id = string.find(GetInventoryItemLink("player",i) or "","item:(%d+)") _,_,_,_,_,s=GetItemInfo(id) b=(s==INVTYPE_BAG) and " is" or " is not" DEFAULT_CHAT_FRAME:AddMessage("Bag "..(i-19)..b.." a normal bag.") end
It will say something like:
Bag 1 is a normal bag.
Bag 2 is not a normal bag.
Bag 3 is a normal bag.
Bag 4 is a normal bag.
(Bag 0 is always a normal bag--it's the Backpack and treated specially)
I think comparing INVTYPE_BAG with the 6th return of GetItemInfo on any client will report whether a bag can contain normal items or not. But have no way to test and would like to be sure.
edit: sigh. *(@#(@ emoticons should be banned from sites that deal with macros.
Anyone on a deDE or frFR client able to run this script with either normal bags or especially if you have a quiver/ammo pouch/soul bag:
/script local c,i,id,v5,v6=DEFAULT_CHAT_FRAME c:AddMessage(INVTYPE_BAG) for i=20,23 do _,_,id=string.find(GetInventoryItemLink("player",i) or "","item:(%d+)") _,_,_,_,v5,v6 = GetItemInfo(id or "") c:AddMessage("v5="..tostring(v5).." v6="..tostring(v6))end
and post its result?
It should say something like:
Bag
v5=Container v6=Bag
v5=Quiver v6=Ammo Pouch
v5=Container v6=Bag
v5=Container v6=Bag
It looks like the easiest way to check if a container can store normal items is to check if the 6th return of GetItemInfo is "Bag" on enUS, "Beh\195\164lter" on deDE and "Conteneur" on frFR clients.