public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MVCustom Item Types and Choices (now with demo!)

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Custom Item Types and Choices (now with demo!)
  • Original author: LadyBaskerville
  • Original date: November 22, 2021
  • Source thread: https://forums.rpgmakerweb.com/threads/custom-item-types-and-choices-now-with-demo.142373/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Custom Item Choices v1.1.1 LadyBaskerville​ (This plugin was originally posted in my JS Snippets thread along with the rest of my small plugins, but even though this plugin is still short in terms of code, I feel like it deserves its own thread for the functionality it can provide.) Introduction

Archived First Post

Custom Item Choices v1.1.1

LadyBaskerville

(This plugin was originally posted in my JS Snippets thread along with the rest of my small plugins, but even though this plugin is still short in terms of code, I feel like it deserves its own thread for the functionality it can provide.)

Introduction
This plugin allows you to designate any item as belonging to one or more custom types. It also lets you show only items of one specific custom type in the Select Item window, for when the Item Type distinction in the database isn't enough.

With some creativity, you can use this plugin to event a full crafting system / cooking system with variable ingredients. (This was part of my motivation for writing it in the first place - a demo can be found at the end of the post.)

ItemChoice.png


How to use

To specify a custom item type, add a notetag of the format
<type:X>
to the item, where X is the custom item type (can be any string that does not contain spaces).

You can change the brackets in the plugin parameters, e.g. set prefix to [ and postfix to ] to only write [X] in the item note field in order to specify custom type X. If you leave both parameters empty, an item will belong to custom type X if the string X appears anywhere in the note field.

Items can have multiple custom types. Simply add more notetags, e.g.
<type:food> <type:fish> <type:cooked>

Plugin commands

Before using the Select Item command in an event, use the plugin command
SetSelectItemType X
to only show items of the type X in the Select Item window.

Use the plugin command
SetSelectItemType 0
to return to the default behavior (showing all items in the selection window).


Script calls (advanced)

These script calls will probably be most useful in the Script fields of the Change Variables and Conditional Branch event commands.

Use the script call
$gameParty.customItemTypeCount('X')
to get the number of items from custom type X in the party's inventory.

The script call
DataManager.isItemCustomType($dataItems[n], 'X')
returns true if the item with ID n has the custom type X, otherwise false.

This is the event from the picture above (both the "Common Fish" and "Rare Fish" items are tagged with <type:fish> in the database):
1637597899527.png

Here's an bare-bones example for how this plugin can be used to select seeds for planting as part of a simple farming game:
ItemChoice1.png

ItemChoice2.png

Terms of use
- Free for use in both non-commercial and commercial games.
- Please credit me as LadyBaskerville if you use this plugin (version 1.1.0 and higher).
- You may edit this plugin.
- You may redistribute this plugin and edits of it. In that case, please give credit and, if possible, link back to the original plugin thread.

Download
LB_CustomItemChoices.js
Plugin Demo (7.5 MB )

Version 1.1.1
- Fixed a bug where the item selection screen would come up empty if no select item type was set.

Version 1.1.0
- Added parameters for prefix and postfix.
- Added support for more than one custom type per item.
- Added script calls for advanced functionality

Version 1.0.0
- Finished the plugin.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Terms of use - Free for use in both non-commercial and commercial games. - Please credit me as LadyBaskerville if you use this plugin (version 1.1.0 and higher). - You may edit this plugin.

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar