Update item management

Modified the "item_t" struct, added a "get_item_value" function, and
made various changes to the way individual items and the player's
overall inventory are managed.