A downloadable asset pack

Download NowName your own price

Hello all, A while back I released a Steal Plugin for MZ that was usable but not very user friendly under the name AMMZ_Steal.js. There is a thread about it here if you want to look at it. As part of that process I got some great feedback from Trihan and ATT_Turan that was encouraging but honestly above my head at the time. Since then I have gotten better with js and much better at deciphering the MZ code base. I have also decided on a name to use for my plugins and tutorials going forward, AutMouse Labs. I am excited to present this far easier to use successor to that plugin here.
The new version is fully integrated into MZ's plugin command system and only requires a few parameters be set up in the plugin itself and one state to be reserved for marking enemies as already stolen from.

----Instructions----
Use the plugin command 'Steal" in a common event that is ran by a skill or item.
Create an inventory list in an enemies notetags using the following format: <stealList:X Y>

X and Y are item id numbers and must be separated by spaces. There needs to be no spaces before or after the items. There is no limited to the number of items you can add to the inventory in this way (e.g. <stealList:X Y Z>

Reserve a state for when an enemy has already been stolen from and set that state id in the plugin parameter.

Set a steal success chance in the plugin parameter.

I will be updating this post with a video outlining how to use the plugin later this week.

Thanks!


----Version----

1.0.1

----License----
This plugin is distributed under the MIT license.
Feel free to use it modify it in any project.
Credit is appreciated as AUTMOUSE

Download

Download NowName your own price

Click download now to get access to the following files:

AUTMOUSE_Steal.js 4 kB

Development log

Comments

Log in with itch.io to leave a comment.

(1 edit)

Hi, I seem to be getting an error after a few steal attempts in battle.
The error is <cannot read property "enemyID" of undefined>. I'm a total noob in js. So I'm wondering if this is something you're aware of? It doesn't seem to depend on which enemy, or which item or anything. It's just like after 4 steals in the same battle. Thanks!

(1 edit)

Thanks for the heads up. I will see if I can figure out what might be causing that. I was able to recreate the error using your steps. Now I just have to figure out what is causing it. Thanks again!

Nice! Happy to help. Hope you figure it out :) Cheers!