lua : add enum preferences

these will appear as a combo box in the preferences