If you examine the code and understand the logic, you can apply it to your own inventory.
I'm sharing it because of the road in some places around the corner.
*** Hidden text: You do not have sufficient rights to view the hidden text. Visit the forum thread! ***