Inventory update

Should really be done immediately after parts are used, but Adam is
having trouble figuring out github.