MV Post Combat Looting screen. Plugin or similar.

Hello all! Was wondering if there is already a plugin out there for a post combat loot screen that lets the player choose what loot they get from combat victories. The game I am trying to make is more scavenging based where you need to gather materials for some of player's skills for stronger effects. So I don't necessarily want players to be screwed by rng for item drops. But I also don't want to flood player's inventories with a slew of items. I haven't seen anything in my forum viewings and when I try to use google it makes it sound like I want loot tables for some reason?

Example: Goblin drops = Metal Shards, Cloth, and Thread. Players beats a goblin in battle, they may choose to get Metal Shards because they want to make bullets.
If you can't find anyone to do your plugin you could try an event that shows a picture and uses the "Show Choices" editor command. As you are using MV, you could try investigating Sum Random Dude's Picture Choices to use pictures for your choices:

http://sumrndm.site/picture-choices/

[I couldn't get the picture choices to work with MZ, but have taken notice of it in case I start another project in MV.]
Don't know if it'll be useful to you, but I use Hime's extra items drops and tie drops to states upon defeat.

So if you have a slime and beat it with a fire spell, Red Slime Gem. Ice spell, Blue Slime Gem. While poisoned, Corroded Material. And I HATE RNG regarding drops, so this all happens with 100% certainty so long as the state is applied.

Just something to consider.
If you can't find anyone to do your plugin you could try an event that shows a picture and uses the "Show Choices" editor command. As you are using MV, you could try investigating Sum Random Dude's Picture Choices to use pictures for your choices:

http://sumrndm.site/picture-choices/

[I couldn't get the picture choices to work with MZ, but have taken notice of it in case I start another project in MV.]
I have seen somerandomdude plugins before. This would be a good idea to visualize the choices!
Don't know if it'll be useful to you, but I use Hime's extra items drops and tie drops to states upon defeat.

So if you have a slime and beat it with a fire spell, Red Slime Gem. Ice spell, Blue Slime Gem. While poisoned, Corroded Material. And I HATE RNG regarding drops, so this all happens with 100% certainty so long as the state is applied.

Just something to consider.
I have a lot of Yanfly plugins and I do believe such an option is also present within the Extra Drops plugin! But I'll consider looking at Hime's stuff as well!

I guess from lack of knowledge I should take a look at the other popular plugin creators to see if there is something available that does similar to what I'm looking for!
I guess from lack of knowledge I should take a look at the other popular plugin creators to see if there is something available that does similar to what I'm looking for!
Time is a factor as well.
I think the main takeaway from my comment is to consider thinking outside the box sometimes.

But yes, broadening your knowledge and understanding of plugins will definitely help.
Time is a factor as well.
I think the main takeaway from my comment is to consider thinking outside the box sometimes.

But yes, broadening your knowledge and understanding of plugins will definitely help.
Truth be told I wasn't asking for a direct plugin to be made but knowledge on if something like I described already existed or if something similar already existed. So far as a work around I'm thinking just having Yanfly's Steal and Snatch plugin and giving one of the main party members the ability to Snatch (steal items with choice over randomly stealing 1 item). This would make the player have to use resources. And they also have the chance of getting double the item from combat victory. It's not what I want but at the current moment its what I have
this shows goblin's drops after finished the battle, is this what you wanted or i misunderstood you?!
this shows goblin's drops after finished the battle, is this what you wanted or i misunderstood you?!
Like it shows what you COULD of gotten? No sadly, what I was looking for was the option of choosing an item from the Loot Table after combat. Like you killed the goblin, have many Long Swords and Bronze Breastplates (to use the pictured items as an example.) So you farm the Goblin to get Super Potions. And it's 100% you get the Super Potion because you the player chose it.
sorry, the picture wasnt clear enough, what showed is what you can choose and what not by increasing the number or decreasing, maybe i should make it as correct or wrong icon
edit: sorry but i just noticed you're MV, my bad
Like it shows what you COULD of gotten? No sadly, what I was looking for was the option of choosing an item from the Loot Table after combat. Like you killed the goblin, have many Long Swords and Bronze Breastplates (to use the pictured items as an example.) So you farm the Goblin to get Super Potions. And it's 100% you get the Super Potion because you the player chose it.
You need to add code to actually gain the item you selected, but here's an idea that seemed to work with the base engine at least, to show select item (currently to variable 10) in processVictory. I changed the select item list method for battle scene to show the rewards.

BattleManager.processVictory = function() {
$gameParty.removeBattleStates();
$gameParty.performVictory();
this.playVictoryMe();
this.replayBgmAndBgs();
this.makeRewards();
this.displayVictoryMessage();
$gameMessage.setItemChoice(10, 0);
this.displayRewards();
this.gainRewards();
this.endBattle(0);
};

const _myEdit1_Window_EventItem_makeItemList = Window_EventItem.prototype.makeItemList

Window_EventItem.prototype.makeItemList = function() {
if (SceneManager._scene instanceof Scene_Battle) {
this._data = $gameTroop.makeDropItems();
} else {
_myEdit1_Window_EventItem_makeItemList.call(this);
}
};

BattleManager.makeRewards = function() {
this._rewards = {};
this._rewards.gold = $gameTroop.goldTotal();
this._rewards.exp = $gameTroop.expTotal();
// this._rewards.items = $gameTroop.makeDropItems();
};


BattleManager.displayRewards = function() {
this.displayExp();
this.displayGold();
// this.displayDropItems();
};

BattleManager.gainRewards = function() {
this.gainExp();
this.gainGold();
// this.gainDropItems();
};
sorry, the picture wasnt clear enough, what showed is what you can choose and what not by increasing the number or decreasing, maybe i should make it as correct or wrong icon
edit: sorry but i just noticed you're MV, my bad
No worries! I don't know what you were referring to so all I had was an image. But I still appreciate you taking the time out of your day to try and help out!:LZSlol:

You need to add code to actually gain the item you selected, but here's an idea that seemed to work with the base engine at least, to show select item (currently to variable 10) in processVictory. I changed the select item list method for battle scene to show the rewards.
Is this for MZ? or MV?
Either way I'm still new to patching the the base game scripts and managers!
It's for MV (might work for MZ, don't know). Copy paste it into a notepad, save as a .js file in your plugin folder and add as a plugin in the plugin manager.
It's for MV (might work for MZ, don't know). Copy paste it into a notepad, save as a .js file in your plugin folder and add as a plugin in the plugin manager.
Okay thank you I'll test it out!

Original thread: https://forums.rpgmakerweb.com/threads/post-combat-looting-screen-plugin-or-similar.180531/