How to create an inventory for rpg?

How to create an inventory for rpg?

That’s a realy precise question…
Some more information would help =)

But I’d use the DirectButtons and Labels to create a 2D Inventory
You should read the following pages of the manual… I think you have your own idea on how it shall look like
panda3d.org/manual/index.php/DirectGUI

blenderkid

If it’s a single player game a fast way would be to create a list or dictionary for your inventory, then just use a loop to go through every item in it.

Then use the DirectGUI functions to display the items to the player as blenderkid suggested.