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

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

MZ plugins

NRP Original Rewards - NRP_OriginalRewards.js

Plugin desc : v1.00 Add original battle rewards.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (https://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_OriginalRewards.js

Desc page : https://newrpg.seesaa.net/article/499770382.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_OriginalRewards.js

File name : NRP_OriginalRewards.js

Help of plugin :

Add the original battle rewards and store them in a variable.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Set the original reward in the "RewardList" plugin parameters.
 * You can set rewards for each enemy in the following two ways
 * 
 * 1. Set the MetaName.
 *    Describe the MetaName and value in the note of the enemy.
 *    Example: If MetaName is TestReward, then <TestReward:100>.
 * 
 * 2. Set the DefaultValue.
 *    For example, if "a.gold() / 10", then 1/10 of the enemy's gold
 *    will be obtained as original rewards.
 *    This is recommended when it is troublesome to set one by one.
 * 
 * The above can be used in combination.
 * If MetaName is specified, it takes precedence over MetaName,
 * so it is possible to use fixed values only for bosses.
 * 
 * -------------------------------------------------------------------
 * [Rated Value]
 * -------------------------------------------------------------------
 * Rate after MetaName specifies a magnification factor
 * for the default value.
 * For example, if MetaName is TestReward,
 * 
 * <TestRewardRate:200>
 * 
 * would get a original rewards of twice the default value.
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @-----------------------------------------------------
 * @ [Plugin Parameters]
 * @-----------------------------------------------------
 * 
 * @param RewardList
 * @type struct<Reward>[]
 * @default ["{¥"Name¥":¥"Test Stone¥",¥"MetaName¥":¥"TestReward¥",¥"GainMessage¥":¥"%1 %2 received!¥",¥"GainMessagePosition¥":¥"gold¥",¥"Variable¥":¥"1¥",¥"DefaultValue¥":¥"¥",¥"MaxValue¥":¥"999999¥",¥"Switch¥":¥"¥"}"]
 * @desc Define additional rewards.

スポンサードリンク

-MZ plugins

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