Container in Storage Area stacking weirdness
Posted: Mon Aug 29, 2011 5:58 am
Merchant containers are in Storage Area. These containers seems to support stacking items also if the item normally is not stackable.
For example, take this entry from a Mage merchant, for the Heating Stand, which isn't stackable:
If I try to CreateItemInContainer(), a new item stack is created, but not added to the already existing stack.
I would like to be able to add items to the merchant stacks, as items in containers in storage areas seems to support this. Some way to do this exists?
For example, take this entry from a Mage merchant, for the Heating Stand, which isn't stackable:
But, if I try to AddAmount() to it, I get the usually error "That item type is not stackable"....
Item
{
ObjType 0x1849
Graphic 0x1849
...
Amount 20
...
}
If I try to CreateItemInContainer(), a new item stack is created, but not added to the already existing stack.
I would like to be able to add items to the merchant stacks, as items in containers in storage areas seems to support this. Some way to do this exists?