An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

MNKR TM Item Restriction MZ - MNKR_TMItemRestrictionMZ.js

Plugin desc : Adds constraints on the target actors for the item.

License : MIT License

Author : munokura

Website : http://x.com/munokura

Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMItemRestrictionMZ.js

File name : MNKR_TMItemRestrictionMZ.js

Help of plugin :

@target MZ
@url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMItemRestrictionMZ.js
@plugindesc Adds constraints on the target actors for the item.
@author munokura
@license MIT License

@help
# Usage
By adding a tag to an item’s memo field, you can limit the actors that can be
selected as targets.

# Memo Field Tag (Item)
<justOnce>
Items with this tag in the memo field can only be used once with the same
actor.

<targetActor:1 2>
Items with this tag in the memo field can only be used with actors 1 and 2.

# Plugin Command
clearItemRestriction 1
Resets the item usage history for actor 1, making items with the <justOnce>
tag usable again.

# Contact Information
This is a plugin originally created for RPG Maker MV that has been adapted for
use with MZ.
Please contact the original author for any inquiries.

# Terms of Use
MIT License.
http://opensource.org/licenses/mit-license.php
You may modify and redistribute this without permission from the author, and
there are no restrictions on its use (commercial, R18, etc.).

@command clearItemRestriction
@text Item usage history initialization
@desc Initializes the actor’s item usage history.
@arg actorId
@text Actor ID
@desc The actor to initialize the usage history for.
@type actor
@default 0

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2025 All Rights Reserved.