MV Yanfly Extra Drop + STV BeastBook

So I am using yanfly's extra enemy drops and STV Beast book plugins and noticed that when an enemy drops an item with the yanfly notetag, it doesn't show up on the beast book. How would we go at fixing it so these two plugins are able to work together so the drops from yanfly's plugin and % show up in the beast book like the regular drops do?
Plugins: http://www.yanfly.moe/wiki/Extra_Enemy_Drops_(YEP), https://forums.rpgmakerweb.com/index.php?threads/stv-plugins-stv_beastbook.68155/
1711844790703.png

1711844810963.png
it needs to be patched, I think it shows the default drop so, you need to
modify it to get a return value if YEP_EED is imported to draw that one,
else the default one of the plugin itself.
it needs to be patched, I think it shows the default drop so, you need to
modify it to get a return value if YEP_EED is imported to draw that one,
else the default one of the plugin itself.
I don't think I have ever been able to find a patch for it to my knowledge. I also don't know enough about scripting to make it either. Lol.
you can try to go to line 1198 and rule out the entire section with /* and */
and paste this play
JavaScript:
Game_Enemy.prototype.makeDropItems = function() {
    var rewards = STV_BeastBook_DropItems.call(this);
    var beastId = this._enemyId;
    var list = $beastBook.beasts[beastId];
      
    if(list.kills < list.maxKills) list.kills += 1;
    $beastBook.killAchievmentCheck(beastId);
    if (Imported.YEP_ExtraEnemyDrops) {
        rewards = rewards.concat(this.makeConditionalDropItems());
        rewards.forEach(function(item) { // rule this out later if failed
            $beastBook.discoverItem(beastId, item);
        }) // include this line
    } else {
        rewards.forEach(function(item) {
        $beastBook.discoverItem(beastId, item);
        });
    }
    return rewards;
};
I cannot guaranteed it will work or how it should work.
its just a guess though, or move it below or above to see if that works though.

this is based when YEP is below I think.
you can try to go to line 1198 and rule out the entire section with /* and */
and paste this play
JavaScript:
Game_Enemy.prototype.makeDropItems = function() {
    var rewards = STV_BeastBook_DropItems.call(this);
    var beastId = this._enemyId;
    var list = $beastBook.beasts[beastId];
    
    if(list.kills < list.maxKills) list.kills += 1;
    $beastBook.killAchievmentCheck(beastId);
    if (Imported.YEP_ExtraEnemyDrops) {
        rewards = rewards.concat(this.makeConditionalDropItems());
        rewards.forEach(function(item) { // rule this out later if failed
            $beastBook.discoverItem(beastId, item);
        }) // include this line
    } else {
        rewards.forEach(function(item) {
        $beastBook.discoverItem(beastId, item);
        });
    }
    return rewards;
};
I cannot guaranteed it will work or how it should work.
its just a guess though, or move it below or above to see if that works though.

this is based when YEP is below I think.
This unfortunately didn't work. Still showed none on the enemy drops in the beast book.
When I put it above the EED plugin, this error came up.
1711909763848.png
I don't know really how to patch it, I use my own method for drop items in
my bestiary and works with EED nicely, even if 5 items dropped, it only show 3.
as I coded it that way.

as personally in EED is also a bug in the drops that doesn't work and fix it on
my end for better rate to work with to balance it.

but I'm afraid I cannot really help you further though. or how to make it work.
they both alias the game drop. what does it show on it own?
I don't know really how to patch it, I use my own method for drop items in
my bestiary and works with EED nicely, even if 5 items dropped, it only show 3.
as I coded it that way.

as personally in EED is also a bug in the drops that doesn't work and fix it on
my end for better rate to work with to balance it.

but I'm afraid I cannot really help you further though. or how to make it work.
they both alias the game drop. what does it show on it own?
1711913856704.png

I have the items dropped from the EED also because it gives more flow for the drops than the regular database does.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-extra-drop-stv-beastbook.167336/