Equip Slots Cannot Be Empty

By default, players can change equips all they want unless the slot is sealed or fixed.

However, what if you want to allow players to change equips all they want, but they can’t remove their equip?

This plugin allows you to designate certain slots that cannot be empty. That is, players are unable to unequip them, but they can change them as long as it’s not empty.

Download

Plugin: download here (right-click, save as)

Installation

Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_EquipSlotsCannotBeEmpty plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

Note-tag actors with

<equip slot cannot be empty: SLOT_NUMBER />

Where the SLOT_NUMBER is the order that your slots appear for the actor, from top to bottom, starting from 1.

So for example, by default, Weapon is the first slot, so if you want to prevent actors from not holding a weapon, you can write

<equip slot cannot be empty: 1 />

You may also like...

Leave a Reply

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

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax