Dynamic Stack Size

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.

Download

Script: download here
Required: Item Stack Sizes

Installation

In the script editor, place this script below Item Stack Size and above Main

Usage

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.

You may also like...

10 Responses

  1. Blue says:

    Found another broken link. This time, I can get this script, but not the required script to use it.

    • Blue says:

      Oh, wait, the script is available on this site (found as I scrolled through some more) It’s just that the link on this particular page doesn’t go there.

    • Hime says:

      Thanks for the report. The link has been updated.

  2. Ben says:

    So I could use this script to basically add, say… for example, a bomb bag, like how they have it in Zelda, (Ex: You cannot carry bombs without a bomb bag.) Which could be acquired later in the game?

    • Hime says:

      Yes, you can increase the stack using script calls, which would increase the upper limit on how many bombs you can carry.

Leave a Reply

Your email address will not be published. Required fields are marked *