Way to permanently increase gold drop?

So, I have this idea on an event that permanently increase gold drop rate. Is there a way to achieve this using either plugins
or the base software? At least a way that doesn't mean I'll have to make custom enemies for each and every level of bonus gold drop rate the player collects.
the default ways to change the gold rate are in the "other" traits for the party.
However, that is very limited and you would have to have it either permanently or on equipment.

for a more diverse handling, you'll need a plugin.
Or maybe run a common event with a variable that gives extra gold after certain conditions are met? I am not very knowledgeable about any of this stuff. Maybe that helps.
The only function I find while editing characters is a "gold double" which is far too much for what I am going for. Basically, I have a "looting skill" if you will, that when it levels up, increase gold drop from enemies. It would be grand if there was a plugin for that, but so far I haven't found any.
If you are looking for a plugin to do this, I found Alistair's Gold & Drop Rate plugin.

EDIT: Yay! You are! You kinda ninja'd me there. 🙂
If you are looking for a plugin to do this, I found Alistair's Gold & Drop Rate plugin.

EDIT: Yay! You are! You kinda ninja'd me there. 🙂

That's great, but the instructions he provides is a bit obscure to me. Perhaps you could help me out? 🙂 I'd like the gold drop to increase depending on a variable, so that I don't just have a flat bonus but a bonus that could vary over time (ie. when i increase/decrease the variable through an event, it then increase/decrease gold drop).

EDIT 1: I think I got it, hold on...

EDIT 2: I got it.
Sure no problem! I followed the link from that post to his blog and in the parameters it has this instruction:

Gold Rate Formula: A custom gold rate formula for you to define. Use v[x] for variables and s[x] for switches. The default n refers to the Default Gold Rate. Default: n

So, let's say you wanted Variable 32 to store your "looting skill level", and for each level in looting skill you get an extra 10% gold drop rate. The formula you'd put in the Gold Rate Formula parameter would be:
Code:
n + v[32] * 0.10

This means your looting skill level 1 will get 110% gold drops. You might have to make sure the "looting skill level" is manually set at the beginning of the game to 0...sometimes variables are a little finicky if they don't get manually set up first

If you wanted to do the same thing but you wanted to start at "looting skill level" of 1 with a standard 100% drop rate, you could still use that formula, but change the parameter "Default Gold Rate" (which is n in the above formula) to 0.90. Again, make sure your variable is set to 1 at the beginning of the game.
Sure no problem! I followed the link from that post to his blog and in the parameters it has this instruction:

Gold Rate Formula: A custom gold rate formula for you to define. Use v[x] for variables and s[x] for switches. The default n refers to the Default Gold Rate. Default: n

So, let's say you wanted Variable 32 to store your "looting skill level", and for each level in looting skill you get an extra 10% gold drop rate. The formula you'd put in the Gold Rate Formula parameter would be:
Code:
n + v[32] * 0.10

This means your looting skill level 1 will get 110% gold drops. You might have to make sure the "looting skill level" is manually set at the beginning of the game to 0...sometimes variables are a little finicky if they don't get manually set up first

If you wanted to do the same thing but you wanted to start at "looting skill level" of 1 with a standard 100% drop rate, you could still use that formula, but change the parameter "Default Gold Rate" (which is n in the above formula) to 0.90. Again, make sure your variable is set to 1 at the beginning of the game.

Doesn't seem to work. I get 0 gold now xD Using just the v [31] (thats the variable i store the gold level in, remarkably close to your suggested 32) i get a multiplier of whatever, but it's still in flat numbers, so I'd really like that multiplier to work 🙂 If it's not to much to ask, here's how I set it up, could you check if I'm being stupid or what? xD

EDIT: Also, after the battle, the party gold level changes to NaN
Try this:
n + $gameVariables.value(32) * 0.10

v[x] only works in the damage formula for skills. It may work in some plugins but only if the developer has told you they develop the plugin to read it in else it won't work.

By default use $gameVariables.value(x) to be safe, since as long as the the formula or plugin parameter can read javascript it'll work.
Open your rpg_objects.js in your project/data folder
search for this code:
Game_Troop.prototype.goldTotal = function() {

return this.deadMembers().reduce(function(r, enemy) {

return r + enemy.gold();

}, 0) * this.goldRate();

};

add * this.goldRate() * $gameVariables.value(999);
Also these lines:
Game_Party.prototype.gainGold = function(amount) {

this._gold = (this._gold + amount).clamp(0, this.maxGold());

};

change this._gold = (this._gold + amount).clamp(0, this.maxGold()); to
this._gold = ($gameVariables.value(999)*(this._gold + amount)).clamp(0, this.maxGold());

that should do it i think? Now change variable 999 to whatever number you want in RPGMV 🙂
Try this:
n + $gameVariables.value(32) * 0.10

v[x] only works in the damage formula for skills. It may work in some plugins but only if the developer has told you they develop the plugin to read it in else it won't work.

By default use $gameVariables.value(x) to be safe, since as long as the the formula or plugin parameter can read javascript it'll work.

The plugin author indicated that v[x] should be used for variables, however, I agree that this would be a good step to try. Apparently the formula is not evaluating to a number currently.
The plugin author indicated that v[x] should be used for variables, however, I agree that this would be a good step to try. Apparently the formula is not evaluating to a number currently.

Tried that as well. Total gold still ends up "NaN" after battle. Even tried reverting to the v[31] i had first, just to try it out, see if it was an issue with number rounding, still ends up NaN after battle. Could it be a conflict with yanfly's plugins?
Entirely possible it's a conflict. That's always a good starting point for troubleshooting plugins; turn off all your other plugins and see if it works. If it does, there's a conflict. You can turn the plugins back on one by one, testing between each one, to determine which one causes the conflict.

EDIT: If that still doesn't work, try opening your console with F8 and see if you get any error messages. If so, please take a screenshot.
Doing the "disable plugins one by one" route, it seems yanfly's item core is the culprit in this drama. I really don't want to disable that for my game tho... I wonder if it's something with the settings that can be fiddled with...
Try changing the plugin postion, ie place Alistairs plugin above Yanfly's if it's below. Or place it below Yanfly's if it's above.
So, I'm stupid. I realized the issue was something else entirely, not even yanfly's item core. There was another issue, with the order I had put the Victory Aftermath and Victory Aftermath level up plugins. After correcting that, it works as it should. I also played around a bit with the "Enemy Levels" plugin, since I wondered if it was some kind of issue there, since both handle gold drop rates. I managed to sort it out, at least 🙂

Thanks all of you for taking time out of your day to help me with this. The game-making can finally resume 😀

Original thread: https://forums.rpgmakerweb.com/threads/way-to-permanently-increase-gold-drop.90469/