Equippable Limits

This script allows you to limit how many instances of item any actor can equip at the same time. For example, if you have three accessory slots, you might disallow equipping more than one exp bonus accessory at any given time.

equippableLimits1
(item disabled for illustration only)

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

equippableLimits2

Note-tag equips with

<equippable limit: x>

An actor cannot equip more than x instances of those equips.

You can also limit equips by the item’s type, by typing the word “type” after

<equippable limit: x type>

For example, suppose you can only equip at most one katana at any given time (meaning, you can’t equip two katana). You can tag every katana type weapon with

<equippable limit: 1 type>

And then whenever you equip a katana, all of the other katana can no longer be equipped until you remove it.

You may also like...

14 Responses

  1. Eon says:

    This is just what I needed! The protagonist of my current project uses two different weapon types, and I needed some way to prevent players from equipping two of the same type.

  2. TiagoMS says:

    it's possible used in a state?

  3. Axel says:

    Hi!
    It is possible to make this works with Instance Items?
    So when you equip an instance of an item you with '<equippable limit: 1>' on its template, you are unable to equip any other instance of this item

  4. Animebryan says:

    Stupid dropbox won’t load. I just get that stupid box with the spinning circle that says loading. It never loads!

  5. RogueDeus says:

    This became necessary for me with the addition of the dynamic equipment slots mechanic. 🙂

Leave a Reply to TiagoMS Cancel reply

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