| 1023 | } |
| 1024 | |
| 1025 | static bool itemInRealJob(df::item *item) |
| 1026 | { |
| 1027 | if (!item->flags.bits.in_job) |
| 1028 | return false; |
| 1029 | |
| 1030 | auto ref = Items::getSpecificRef(item, specific_ref_type::JOB); |
| 1031 | if (!ref || !ref->data.job) |
| 1032 | return true; |
| 1033 | |
| 1034 | return ENUM_ATTR(job_type, type, ref->data.job->job_type) |
| 1035 | != job_type_class::Hauling; |
| 1036 | } |
| 1037 | |
| 1038 | static void map_job_items(color_ostream &out) |
| 1039 | { |