This script allows you to adjust an item’s stack size during the game. If you decrease the party’s stack size below the current number of items for that stack, the items are not deleted. Instead, you won’t be able to obtain more.
For example, maybe initially you can’t carry any hi-potions, which means you can’t buy any either. Then at some point, you can carry hi-potions.
In the script editor, place this script below Item Stack Size and above Main
Make the following script calls to change an item’s stack size:
increase_item_stack(id, count) increase_weapon_stack(id, count) increase_armor_stack(id, count) decrease_item_stack(id, count) decrease_weapon_stack(id, count) decrease_armor_stack(id, count)
Where you pass in the appropriate database ID and the amount you want to
increase or decrease it by.
For those using the Party Manager, by default, it modifies the current party’s stack sizes. You can pass in the party ID as a third argument if you want to specify which party’s item stack you are modifying.