Subtract all party's items and store them

Hello. The game I'm developing will be divided in tree parts. The first and second parts are played by different characters. In the third, I want the all characters to get together.

At the end of the first part, I want to subtract all items from the party. In the second part, the characters are supposed to have no items, because it's a different party. So I want to have two inventories that will be combined in the third part once all characters get together.

In other words, I want to store all items from the party and make it available late in the game.

Is there an efficient way to do this?
There are party inventory management scripts out there. The issue with doing this via eventing is that the @items, @weapons and @armors instance variables of Game_Party are protected and can't be accessed externally, and the methods that are exposed to outside code only return the values so can't be manipulated.
I suggest using Tsuihime's Party Manager instead.

This actually allows you to create multiple parties, each with their own inventory, and switch between them at any time.
Hello. I tried Hime's script and Fomar's script too, but they are incompatible with Yanfly's Ace Engine. I've discovered another script, but it doesn't allow me to merge inventories.

I think it can't be helped. People tolerated shared inventories in FFVI, so I should not bother with this. But if anyone happens to stumble here with a solution, please share with me.
Hello. I tried Hime's script and Fomar's script too, but they are incompatible with Yanfly's Ace Engine. I've discovered another script, but it doesn't allow me to merge inventories.
Interesting, I'm more curious what the incompatibility is. It is possible that can be fixed.
Hello. I tried Hime's script and Fomar's script too, but they are incompatible with Yanfly's Ace Engine. I've discovered another script, but it doesn't allow me to merge inventories.

I think it can't be helped. People tolerated shared inventories in FFVI, so I should not bother with this. But if anyone happens to stumble here with a solution, please share with me.

Incompatible... how? Himeworks's inventory core and party manager + multiple party merger should allow you to empty out the inventory for separate perspective characters.

I feel a screencap of your script setup might be necessary here, because I also use Ace Engine and don't have this problem.
Hello, guys. Thank you for repplying. In the case of Himeworks's script, the screen freezes when I try to load a game. In the case of Fomar, I get this message when I try to load a game.

1670970918652.png
when adding scripts, about two-thirds of new scripts invalidate old savefiles due to the new data they require and store.

does that error happen with an old save (type error is typical for that) or does it also happen if you start a new game, save that and then try to load it?
when adding scripts, about two-thirds of new scripts invalidate old savefiles due to the new data they require and store.

does that error happen with an old save (type error is typical for that) or does it also happen if you start a new game, save that and then try to load it?
Even if I create a new file, I get this error from Hime's script:

1670983741460.png
I get this error from Hime's script:
Well it's actually an error from Yanfly's save engine script. Just happens with Hime's party manager installed.
But putting yanfly save engine into Hime's party manager demo works fine. So can you show us a screen shot of your script list?
Well it's actually an error from Yanfly's save engine script. Just happens with Hime's party manager installed.
But putting yanfly save engine into Hime's party manager demo works fine. So can you show us a screen shot of your script list?
Sure. I can. This is my script list:
Spoiler: Script List
1671078814515.png
1671078827303.png

But anyways. I discovered the problem. (At least in the case of Fomar's script) I had saves that were created before adding the multiple inventory script. If I eliminate them, the problem is solved.

You may be thinking: well, that's exactly what we were trying to say, fool. Yeah, yeah, I know, I misunderstood your tips and I'm really sorry about that. At first, I thought the problem would cease if I just created a new game. But this isn't the case. Besides creating a new game, any saves generated before adding Fomar's script should be absent.

Now everything's fine. Nature is healing. Etc. Thank you guys.

This may be the same for Hime's scripts although I'm too lazy to test it. Since Fomar's script satisfies all my needs, I'm cool with it.

Original thread: https://forums.rpgmakerweb.com/threads/subtract-all-partys-items-and-store-them.153272/