Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
NUUN Stealable Items - NUUN_StealableItems.js
Plugin desc : Stealing skills, items
License : MIT License
Author : NUUN
Website : https://github.com/munokura/NUUN-MZ-plugins/blob/master/NUUN_StealableItems.js
Desc page : https://github.com/nuun888/MZ
Download Page : https://raw.githubusercontent.com/munokura/NUUN-MZ-plugins/master/NUUN_StealableItems.js
File name : NUUN_StealableItems.js
Help of plugin :
@target MZ @url https://github.com/nuun888/MZ @plugindesc Stealing skills, items @author NUUN @license MIT License @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/NUUN-MZ-plugins ). Original plugin by NUUN. Please check the latest official version at: https://github.com/nuun888/MZ ----- You can create skills that allow you to steal items or money from enemies, or have items or money stolen from you. To create a skill that allows you to steal items, write the following in the skill or item's memo field. This tag can be used on both actors and enemies. <stealSkill:[rate]> [rate]: Success rate Example: <stealSkill:80> Setting a stealing skill. To create a skill that allows you to steal money from enemies, write the following in the skill or item's memo field. This tag is for actors only. <goldStealSkill:[rate], [gold], [variance]> [rate]: Success rate [gold]: Amount stolen per steal [variance]: Variance ± <goldStealSkill:50> To create a skill that allows you to steal money from enemies, write the following in the skill or item's memo field. The following tags are for enemies only. <goldStealSkill:[rate],[gold]> [rate]: Success rate, [gold]: Amount stolen <goldStealSkillRate:[gold],[goldRate]> [rate]: Success rate, [goldRate]: Amount stolen (percentage) Example <goldStealSkill:100, 400> There is a 100% chance of stealing 400G. <goldStealSkillRate:70, 30> There is a 70% chance of stealing 30% of your gold. To set the items that can be stolen from an enemy, enter the following in the enemy's memo field: <steal [itemType]:[id], [rate], [condTag], [condMode]> [itemType]: Item type I, Item W, Weapon A, Armor M, Price [id]: Item, weapon, or armor ID [rate]: Probability (percentage) The following settings require the Conditional Base plugin. If no conditions are specified, they can be omitted. [condTag]: Condition tag (Optional; Conditional Base required). [condMode]: Condition mode (Optional; Conditional Base required). 0: Partial match 1: Full match <steal I: Item ID, Probability> Sets the items that can be stolen. <steal W: Weapon ID, Probability> Sets the weapons that can be stolen. <steal A: Armor ID, Probability> Sets the armor that can be stolen. <steal M: Price, Probability> Sets the price that can be stolen. Conditionally Stealable Items <Steal[condTag]:[id],[id],[id]...> Steals when the stealer meets the specified ID conditions. <TargetSteal[condTag]:[id],[id],[id]...> Steals when the target meets all of the specified ID conditions. <PartySteal[condTag]:[id],[id],[id]...> Steals when all of the party members' specified ID conditions are met. <TroopSteal[condTag]:[id],[id],[id]...> Steals when all of the enemy group's specified ID conditions are met. [mode]: Condition mode 0: Partial match 1: Full match [id]: Condition list ID <StealCond1:1,14,15> Enemy Memo <Steal_[itemType]_[itemId]: [Steal count], [Dispersion]> [itemType]: I: Item W: Weapon A: Armor [itemId]: Item ID [Steal count]: Maximum number of steals [Dispersion]: ± Dispersion To set the items stolen by enemies, use the "Enemy Items Stolen" plugin parameter. Actor, Class, Weapon, Armor, State, and Enemy Memo <steal_sr: [± Additional Chance]> Add/Decrease <steal_sr_Percent: [% Additional Chance]> Percentage Increase/Decrease Changes the steal success rate for memo fields with special features. <stealResist: [% probability]> Sets the steal resistance rate in the memo field with the feature. <stealResist: 50> Reduces the chance of being stolen by 50%. The following variables and functions are available to reference the number of times you have stolen items. $gameSystem._stealCount $gameSystem.getBattleSteal() Total amount of money stolen. $gameSystem._stealGoldSum $gameSystem.getBattleStealGold() Number of times items have been stolen. $gameSystem._stolenCount $gameSystem.getBattleStolen() Total amount of money stolen. $gameSystem._stolenGoldSum $gameSystem.getBattleStolenGold() Stealing Probability Calculation Skill/Item Success Probability * (Success Rate Modifier % + Success Rate Modifier +) When displaying the adjusted probability for Success Rate Modifier % and Success Rate Modifier + on the status screen, the calculated probability may differ from the displayed probability depending on the skill or item success rate. Terms of Use This plugin is distributed under the MIT License. Update History 2025/4/25 Ver. 1.5.3 Fixed an error when displaying stolen items in the Monster Encyclopedia. 2025/2/2 Ver. 1.5.2 Fixed popup processing. 2024/9/7 Ver. 1.5.1 Added the ability to specify the number of steals allowed. Fixed the ability to display a message when a member has no money. Fixed an issue where the stolen amount was displayed as more than the member's money. September 1, 2024 Ver. 1.5.0 Added an effect that boosts enemy steal chance. Fixed the ability to apply luck to steal chance. May 11, 2024 Ver. 1.4.2 Fixed stealing from allies. Fixed phase. July 2, 2022 Ver. 1.4.1 Added processing to display stolen items in the results. June 14, 2022 Ver. 1.4.0 Supports popups. (Requires NUUN_popUp) Removed unused plugin parameters. January 25, 2022 Ver. 1.3.2 Fixed processing of probability and resistivity. November 13, 2021 Ver. 1.3.1 Supports conditional stealing. October 24, 2021 Ver. 1.3.0 Changed message format. Added the ability to steal the same item multiple times. Added the ability to steal by lottery from all stealable items. 2021/6/18 Ver 1.2.0 Fixed an issue where boost calculations were not working properly. Added a feature to display a message when you do not have any items or money. Added a feature to play a sound effect when a steal is successful. 2021/2/20 Ver 1.1.1 Fixed an issue where the percentage increase or decrease in the steal success rate was not being properly acquired. 2021/2/5 Ver 1.1.0 Implemented steal resistance. 2021/1/24 Ver 1.0.1 Fixed an issue where parameters such as the number of times items stolen were not being properly acquired. 2020/11/21 Ver 1.0.0 First version @param StealMode @text Money Steal Mode @desc Stolen money will not be reclaimed. @type boolean @default true @param StealCount @text Number of items that can be stolen @desc Number of times you can steal one item. 0 means unlimited @type number @default 1 @param StealProcess @text What to do when stealing @desc Specifies the steal action. @type select @default 0 @option First matching item @value 0 @option All stealable items and money will be selected @value 1 @param NotStealName @text Message when you can't steal @desc Message displayed when an item cannot be stolen from an enemy. %1 User %2 Target @default %2から何も盗めなかった! @param NonStealName @text Message when there are no items to steal @desc Message displayed when there are no items to steal. %1 User %2 Target @default %2は何も持っていない! @param NonStealGoldName @text A message for when you have no money to steal @desc Message when there is no money to steal. %1 user %2 target @default %2は何も持っていない! @param GetStealName @text Message when you steal an item from an enemy @desc Message displayed when stealing an item from an enemy. %1 User %2 Target %3 Stolen item or amount @default %2から%3を盗んだ! @param StolenName @text Message when an item is stolen by an enemy @desc Message when an item is stolen from an enemy. %1 User %2 Target %3 Stolen item or amount @default %2から%3を盗み取った! @param StolenItemDrop @text Recovering stolen items @desc Will stolen items be dropped after defeating an enemy? @type boolean @default false @param StolenGoldDrop @text Recovering stolen money @desc Will stolen money from enemies be dropped after defeating them? @type boolean @default false @param stolenItems @text Setting items stolen from enemies @desc This is the setting for items that can be stolen from enemies. @type struct<stolenItems>[] @default [] @param SuccessSE @text Item Stealing Sound Effects @default ------------------------------ @param StealSuccessSE @text Sound effect when stealing is successful @desc Sound effect when stealing is successful @type file @dir audio/se/ @parent SuccessSE @param volume @desc volume. @type number @default 90 @parent SuccessSE @param pitch @desc pitch. @type number @default 100 @parent SuccessSE @param pan @text phase @desc phase. @type number @default 0 @min -100 @max 100 @parent SuccessSE @param GoldSuccessSE @text Sound effects when stealing money successfully @default ------------------------------ @param StealGoldSuccessSE @text Sound effect when money is stolen successfully @desc Sound effect when money is stolen successfully @type file @dir audio/se/ @parent GoldSuccessSE @param G_volume @text volume @desc volume. @type number @default 90 @parent GoldSuccessSE @param G_pitch @text pitch @desc pitch. @type number @default 100 @parent GoldSuccessSE @param G_pan @text phase @desc phase. @type number @default 0 @min -100 @max 100 @parent GoldSuccessSE