Ok I have an auto_equip() that works to some extent. In my branch for now. In case anyone wants to look at it, maybe just review the result
here. In the beginning I started with modifying the existing code, but after a while I thought it best to simply replace it.
as the commit message states: In this version an attempt is made to get the 'perfect' auto_equip - later trait and random driven deviations from this perfect selections are planned, some of which are already present as commented code.
There are also some patches that touch core functions. I've made them small enough for review and so that I'm confident that they do the right thing. They were committed on and after December 17th.
There were a few pytgroup and other bugfixes.
I've added a unequip all button to the inventory screen.