MZ 2 plugin requests, one post.

I have on map enemy encounters, each has a defeat condition which teleports you back to starting location while losing all money, party members and items. Now.... I could make it so you just lose -99 of all items in my entire game in the event. But I was hoping maybe there was some plugin that could make that easier for me, anyone know of a plugin with this function?

- Remove all items in possession (Within event)

I also want it to be impossible to continue the save if you've been defeated so I have another plugin that makes it so the game only has a single save file. But I need a way to force a new save when defeated to override the previous one. So a plugin that can...

- Plugin to Force a Save (Something I can use in the event of enemies)
This scriptcall should remove all inventory:
$gameParty.initAllItems();
$gameMap.requestRefresh();

This should delete a save:
StorageManager.remove(DataManager.makeSavename(slotId));
DataManager.removeInvalidGlobalInfo();
This should delete a save:
StorageManager.remove(DataManager.makeSavename(slotId));
DataManager.removeInvalidGlobalInfo();

Is there a way to make this force a save? Overwrite a current save (the only one I have), instead of deleting a save?

Nevermind 😛
I use Torigoya_SaveCommand. It has MV and MZ versions
I use Torigoya_SaveCommand. It has MV and MZ versions

That worked! Cheers

Original thread: https://forums.rpgmakerweb.com/threads/2-plugin-requests-one-post.176386/