oasis-b

Docs / Menus and items

LW_UniqueItems

Menus and items
RPG Maker MV and MZ unique items and random stats plugin

One of a kind items with their own stats and names, random stats, and a new item menu with a big icon, info and actions.

Story & World Essentials ($9.99)Full Collection ($19.99)

Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.

LW_UniqueItems in a test project

Two Iron Swords that are not the same.

Highlights

Ideas for your game

Works well with

LW_EquipSlotsLW_StorageLW_Crafting

Introduction

Requires LW_Core. Works with LW_Storage, LW_ItemTabs, LW_Currency and LW_EquipSlots.

Unique items: set "Unique Weapons" to 50, and every sword the party gets becomes its own entry with its own stats, name and boost level. Two Iron Swords from a chest can roll different attack. The number is also how many of them fit into the bag.

Events still know the copies: "party has Iron Sword", "Iron Sword is equipped" and Change Equipment work with every unique Iron Sword. Starting equipment becomes unique at the start of the game. In battle tests unique items are off.

Only the differences to the database are saved, so save files stay small. Copies nobody owns any more are dropped when you save.

New Item Menu

One list on the left, a big icon with stats or effects on the right and an info window below. OK opens a small menu: use, discard, discard all and entries from other plugins. Shift (Square with LW_Gamepad) sorts the list by name or by number.

Item, Weapon and Armor Notetags

<LW Variance: 5>          variance of this item
<LW Stackable>            stacks as usual, even if its kind is unique
<LW Fixed Name>           always keeps the database name
<LW Name Color: 3>        name in text color 3
<LW On Create Code>
item.price += Math.randomInt(100);
</LW On Create Code>      item = the new copy, baseItem = database entry
<LW Info Top>
Forged in the north.
</LW Info Top>            text on top of the info window, text codes work
<LW Info Bottom> ... </LW Info Bottom>
<LW Info Code> ... </LW Info Code>   runs before the info window draws
<LW Item Picture: Potion_Art>   a picture from img/pictures instead of
                                the big icon, square works best

Plugin Commands

LW_UniqueItems variance off   no random stats from now on (saved)
LW_UniqueItems variance on

Script Calls

LW.itemCore.base(item)               database entry of a unique copy
LW.itemCore.boost(item, 1)           boost +1, the name follows
LW.itemCore.setPrefix(item, 'Fire')
LW.itemCore.setSuffix(item, 'of Dawn')
LW.itemCore.addAction(name, symbol, enabled, handler)
    one more entry in the action menu. enabled(item) returns true or
    false, handler(item, scene) runs when it is picked.

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - 2026-11-21 - First release.

Plugin commands in MZ

In MZ these come as Plugin Command in the event editor, with fields to fill in. Old MV text commands from copied events keep working.

Random Stats

Turns random stats for new unique weapons and armor off or on. Saved with the game.

  • Random stats (boolean) Default: true.

Introduction

Requires LWZ_Core. Works with LWZ_Storage, LWZ_ItemTabs, LWZ_Currency and LWZ_EquipSlots.

Unique items: set "Unique Weapons" to 50, and every sword the party gets becomes its own entry with its own stats, name and boost level. Two Iron Swords from a chest can roll different attack. The number is also how many of them fit into the bag.

Events still know the copies: "party has Iron Sword", "Iron Sword is equipped" and Change Equipment work with every unique Iron Sword. Starting equipment becomes unique at the start of the game. In battle tests unique items are off.

Only the differences to the database are saved, so save files stay small. Copies nobody owns any more are dropped when you save.

New Item Menu

One list on the left, a big icon with stats or effects on the right and an info window below. OK opens a small menu: use, discard, discard all and entries from other plugins. Shift (Square with LWZ_Gamepad) sorts the list by name or by number.

Item, Weapon and Armor Notetags

<LW Variance: 5>          variance of this item
<LW Stackable>            stacks as usual, even if its kind is unique
<LW Fixed Name>           always keeps the database name
<LW Name Color: 3>        name in text color 3
<LW On Create Code>
item.price += Math.randomInt(100);
</LW On Create Code>      item = the new copy, baseItem = database entry
<LW Info Top>
Forged in the north.
</LW Info Top>            text on top of the info window, text codes work
<LW Info Bottom> ... </LW Info Bottom>
<LW Info Code> ... </LW Info Code>   runs before the info window draws
<LW Item Picture: Potion_Art>   a picture from img/pictures instead of
                                the big icon, square works best

Plugin Commands

Random Stats (Variance)   turns random stats for new copies off or on,
                          saved with the game

Events copied from MV keep working: LW_UniqueItems variance off/on, EnableVarianceStock and DisableVarianceStock.

Script Calls

LW.itemCore.base(item)               database entry of a unique copy
LW.itemCore.boost(item, 1)           boost +1, the name follows
LW.itemCore.setPrefix(item, 'Fire')
LW.itemCore.setSuffix(item, 'of Dawn')
LW.itemCore.addAction(name, symbol, enabled, handler)
    one more entry in the action menu. enabled(item) returns true or
    false, handler(item, scene) runs when it is picked.

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - First release for MZ.

Get it

LW_UniqueItems is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.

Story & World Essentials ($9.99)Full Collection ($19.99)
← LW_ItemTabsLW_EquipSlots →