I thought you would use Kyonides' script, I tested it and it is very functional, except for the bug that I already reported.
You don't need to recreate everything in the video, download this attached file and extract CommonEvents.rxdata.
Create a new project, close it, and replace the CommonEvents.rxdata file with the new one.
Open the new project that was previously closed and copy the events to your project in the other instance.
Greetings, I was also searching for a script or something exactly like this, first of all this helps alot, so thank you, secondly i noticed in this work that in the Restore_Previous_Items, the armor part is slightly wrong:
for i in 1...$data_armors.size
s=$game_variables[40][1]
$game_party.lose_armor(i,99)
$game_party.gain_armor(i,s[i-1])
end
because it is restoring the weapons inside the armors which makes it buggy for people who uses scripted inventory with sections, as it should be
2, not
1
so you need to change
s=$game_variables[40][1] with
s=$game_variables[40][2]
now it should work as expected!