[lua] Add documentation for the has_txt field