Hey hidnight,
thanks a lot for taking time and finding it! I changed the code so it will be ok in 0.21.x. Completely forgot I changed panties naming at some point...
Agree that having a function for it makes sense, I will consider it, also need to consider the cost. which is refactoring a lot of old stuff + testing.
Great. It's your project and you should decide what to do. It's more of a design decision that should be made at the start of the project but, hey, now you've gained new knowledge to apply in future projects.
A cursory grep
grep -iGR --include=*.rpy 'del inventory' ./ | wc -l
gave 62 occurrences so yeah searching and rewriting will be a pain.