I found some sort of ... bug. If you use the library function to add/set charges on an item it works correctly, but if you use the function to show the number of charges left on the item whose charges you just modified it will return its old number of charges. However if the item is used, even one time, the number of charges will be returned correctly.
This has also implications over the stack item function. If you stack some items, not use their charges, gather another item of that type and stack again the result will be bugged.
My items have different max,start charges so that shouldn`t be the issue.
Modifying the charges of items that are in an inventory works without problems, however when I try to set charges on an item that is on the ground this bug occurs (the item is set to max charges and won`t decrement charges when used)
I found some sort of ... bug. If you use the library function to add/set charges on an item it works correctly, but if you use the function to show the number of charges left on the item whose charges you just modified it will return its old number of charges. However if the item is used, even one time, the number of charges will be returned correctly. This has also implications over the stack item function. If you stack some items, not use their charges, gather another item of that type and stack again the result will be bugged.
@A52BcE: Go
Added two test triggers to the Item Harvest Map, that should illustrate the issue.
uploaded the map here : http://www.megaupload.com/?d=4ZTHSPDC
My items have different max,start charges so that shouldn`t be the issue. Modifying the charges of items that are in an inventory works without problems, however when I try to set charges on an item that is on the ground this bug occurs (the item is set to max charges and won`t decrement charges when used)
I`m having the exact same issue