MZ Wondering if anyone can make me a "drop currency on escape" plugin

k no worries then
I think it goes against the forum rules here to post code made with chatgpt.

Even if it's not, I'm fairly certain very few coders will help you here.
K updated OP. I don't get the hate for AI when it's basically just doing the same thing computers did when they first came out, automating processes and still needing human intervention. I wouldn't use it for any art generation, but code I'm finding I'm able to get most stuff working now. And some of my posts on here get no responses and then AI has had the solution.
K updated OP. I don't get the hate for AI when it's basically just doing the same thing computers did when they first came out, automating processes and still needing human intervention. I wouldn't use it for any art generation, but code I'm finding I'm able to get most stuff working now. And some of my posts on here get no responses and then AI has had the solution.
Because people come here with ChatGPT generated code then ask actual programmers to fix it. Often the code is full of nonsense and has to be rewritten from scratch or takes more time to fix it than writing from scratch in the first place. Even code that "works" on the surface has superfluous junk or starts breaking under stress testing.

That said this request is pretty simple. Alias Game_System.prototype.onBattleEscape to call $gameParty.loseGold(amount) or $gameParty.gainGold(-amount)
k well I'll repost my info, there are a few plugins I'm after now. I'll post a screenshot of my current plugin list with this as well, in case there's compatibility issues. And I am willing to tip a few bucks for each of these if they work as intended:

1. "Drop gold on escape" plugin that drops % of party's current gold, with a customizable escape message (and also doesn't display the original message of "started to escape"). I also want the % dropped to be customizable in case I decide I want to tweak it.

2. VisuStella's "command remember" feature isn't working correctly. When it's off it still acts as though it's on in all menus that it would apply to.

3. A plugin to change color of all numerical values in submenus, and to change all text in submenus. With the option to change the color of each.

Again I'm willing to tip for each of these if they function as desired. If $ amount is a concern then let me know how much you'd expect and I'll decide if I still think it's worth it.

Screenshots of plugin list attached.
1736354277617.png
1. You have your chatGPT plugin for that. I know you removed the mention of it, but I know you use it and will invite you to continue using it with the understanding that you won't get too much direct help from most coders here.

2. That is a VS issue and would need to be taken up with them.

3. This is technically a menu plugin request which can get VERY complex depending on the other plugins you will use. It would potentially need updates for most menu changing plugins including the VS ones, which is very difficult due to the way they are produced.


Good luck with your project.
In regards to 1, if the code is more professional for a human to do it I'm willing to tip for a properly coded plugin. Also with the ChatGPT one I have to edit the js file to edit the % drop and custom message values, which granted isn't hard but removing the extra step and having it as a public plugin would be fine with me.

2 I'll see if I can get them to fix it. I've gotten used to it but I want my game to have as few bugs as possible.

3 k, I did get it working for some values but not all and I didn't want to have more than 1 plugin to do what I felt should be able to be done with 1. So will probably just drop it if it is too complex then.

Thanks for the luck. It's my first project, mainly made it cuz I wanted a game with my own music in it for years, and saw RPG Maker MZ was on sale last week so decided to give it a go... been tens of hours since then. And it doesn't really feel like work most of the time.
chat gpt cant code by itself.. it just does what other AI do - auto complete the code, if you don't have good prompts, or don't know how to code yourself like know the flow of what you want, you wont get results of what you want. the only reason people think chatgpt generated an original code is because they are unaware chatgpt just fetched some codes from its training data and slammed it into a "new code"
RE: command remember not working when setting command remember off. VisuStella already got back to me and said it isn't a bug, it's just that they didn't code it to disable in all menus, and since they don't view it as a bug they aren't going to fix it.

So if anyone can make a plugin that disables command remember completely when it's off, both in menus accessed from the map and menus accessed while in battle, that would be great. Again I will tip for it, if that helps motivate anyone...
You can see if this fixes the "command remember" problem. The plugin file has English instructions
That's still doing cursor memory unfortunately, but thanks for the suggestion.

EDIT: Should I share the "drop % of party gold on escape" plugin ChatGPT made? I am fine to since people have helped me with stuff here. And had already shared it before, but don't want to have it up if it'll just get me modded.
That's still doing cursor memory unfortunately, but thanks for the suggestion.

EDIT: Should I share the "drop % of party gold on escape" plugin ChatGPT made? I am fine to since people have helped me with stuff here. And had already shared it before, but don't want to have it up if it'll just get me modded.
It's against forum rules to post AI assets including plugins. That was also the easiest of your requests by far and could be done with a common event on escape plugin or aliasing Game_System.prototype.onBattleEscape to call $gameParty.loseGold(amount) or $gameParty.gainGold(-amount) as I said earlier. If you don't know how to alias a function there's even a plugin that will do it for you
I got the drop % currency on escape plugin working with customizable % and escape message in RPG Maker, so don't need that anymore. The problem I was having is I renamed the .js file and I found out through someone helping me elsewhere that can break stuff. So reverted that and now it's working.

I got command remember disabled, but couldn't get it working with the VisuStella toggle option (it would always be off even if set to on), so opposite problem. And I would have to get it verified for use anyway through VisuStella. But since I couldn't get that to work I just gave up on that front.

Original thread: https://forums.rpgmakerweb.com/threads/wondering-if-anyone-can-make-me-a-drop-currency-on-escape-plugin.174524/