Item Stack Sizes

This script allows you to set the “stack” size for an item. By default,
you can only have 99 instances of an item per stack. You can now set the
stack size higher or lower than 99. For example, maybe you can only carry
10 potions at a time.

itemStackSize

Download

Script: download here

Installation

In the script editor, place this script below Materials and above Main

Usage

Tag items, weapons, armors with

<stack size: n>

Where n is some integer

You may also like...

9 Responses

  1. WesdrasLink says:

    Hi Hime, can you port this script to a plugin in RPG Maker MV with the same work funcionality?

  2. Arsist says:

    Oh, I don’t have a script, I was wondering if you had posted an item uses script somewhere. That’s all.

  3. Arsist says:

    Didn’t you have something where you can use an item multiple times before one is depleted? I swore you did but that I can’t find it.
    It would suck to have players, if not near a town, have to go find a container and the ingredients just for 500 HP. Well that is, unless it hits multiple times and/or hits multiple/random allies, but then that reduces a factor of strategy.
    I think what it was, was, the multiple uses thing was harder to use event-wise because since the engine isn’t built like Zelda with individual items, it would be quirky. There is an individual items script but it doesn’t work with different things like storage or crafting scripts.

    • Arsist says:

      Although most games have all the items you need in random places or constant access to towns where you just fight monsters for money and use the money to buy potions. But if you have a game where areas are meant to be visited more than once or you’re out in the field far from a town, then, not all night spiders are going to drop potions XD

      • Hime says:

        Check my Instance Items script to see if it works with your script. I don’t know about others’ scripts, but I’m planning to use mine for all item/equip related stuff, including multiple uses.

        It does not support stacks, but I don’t think stacks are that important if you need them to be individually tracked.

  4. WCouillard says:

    Is it possible to have, say, two full stacks of the same item?

    Like…

    Potion: 5 (max)
    Potion: 3

    And are items, weapons and armors with a max of 1 per stack still showing a “:1” next to them because that would be redundant.

    • Hime says:

      No, this script assumes the default inventory system where you only have one stack anyways. It actually means “the max number of that item you can have” regardless of how many stacks you put it in. If you had a script that allows you to have multiple stacks of the same item, the name of this script does not actually reflect its function.

      No, it does not provide any graphic modifications, as not every game designer feels that it is actually redundant.

Leave a Reply

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