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

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

MZ plugins

Dark Plasma Common Event By Discard Item - DarkPlasma_CommonEventByDiscardItem.js

Plugin desc : Execute a common event when an item is dropped

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_CommonEventByDiscardItem.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_CommonEventByDiscardItem.js

File name : DarkPlasma_CommonEventByDiscardItem.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Execute a common event when an item is dropped
@author DarkPlasma
@license MIT

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 1.0.0
When an item is discarded using the DarkPlasma_DiscardItemCommand discard
command,
this executes a common event.

This plugin requires the following plugin:
DarkPlasma_DiscardItemCommand version: 1.0.0

@param itemDiscardCommonEvent
@text Item Common Event
@desc Sets a common event to be executed when an item is dropped.
@type common_event
@default 0

@param weaponDiscardCommonEvent
@text Weapon Common Event
@desc Sets a common event to be executed when a weapon is dropped.
@type common_event
@default 0

@param armorDiscardCommonEvent
@text Armor Common Event
@desc Sets a common event to be executed when armor is discarded.
@type common_event
@default 0

@param discardItemVariable
@text Discarded item variable
@desc The ID of the discarded item will be saved in the specified variable.
@type variable
@default 0

スポンサードリンク

-MZ plugins

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