mod: BG_NUM_ITEMS updated and renamed to CG_NUM_ITEMS