Fix objects with sub-types (e.g. ITEM_WEAPON), add item files