added trinketsinproduction function