getting rid of the olditemtypes[] array
reduce use of statics
reduce use of item_t enum