g_inv
This table is a instance of inventory class. You can use it to control the inventory dialog, like change color, add/remove item, etc.
For example:
g_inv.setArea(rect.new(0.1,0,0.9,0.12))
g_inv.setBackColor( ColortoDWORD(color.new(0.5,0.5,0.5,0.8)) )
g_inv.setBackImage( texturelist.addTexture( '\\back.png' ) )