function CItem:moveTo(bag) not working properly
Posted: Wed Aug 10, 2022 8:01 am
Hello;
I use this function to clear the bag, send all considered items from the store to the shop item bag.
The function sends the objects to their destination, but does not stack them. Before, it was done.
I was wondering if this stack action could be brought back, as it is very useful to keep the space clean.
Thanks a lot
I use this function to clear the bag, send all considered items from the store to the shop item bag.
Code: Select all
for slot = 61, 240 do
item = inventory.BagSlot[slot]
if item and item.ItemShopItem then
item:moveTo("itemshop")
end;
end
I was wondering if this stack action could be brought back, as it is very useful to keep the space clean.
Thanks a lot