I don't think this belongs to the help & support section. You are basically looking for a programmer to do the work for you <img src="smileys/smiley2.gif" border="0" align="middle" />
Also, it doesn't make much sense to drop a line. There are so many different ways of implementing an inventory and noone knows to which project/style/art etc. it will be added.
You probably won't get any in-depth solutions, but at least provide more informations, maybe someone will take the chance <img src="smileys/smiley1.gif" border="0" align="middle" />