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...

9 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.

  1. February 19, 2024

    … [Trackback]

    […] Find More to that Topic: himeworks.com/2013/11/dynamic-stack-size/ […]

  2. February 25, 2024

    … [Trackback]

    […] Find More on that Topic: himeworks.com/2013/11/dynamic-stack-size/ […]

  3. February 28, 2024

    … [Trackback]

    […] Read More Info here on that Topic: himeworks.com/2013/11/dynamic-stack-size/ […]

  4. March 19, 2024

    … [Trackback]

    […] Read More on on that Topic: himeworks.com/2013/11/dynamic-stack-size/ […]

Leave a Reply

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