| 111 | } |
| 112 | |
| 113 | bool itemPassesScreen(color_ostream& out, df::item* item) { |
| 114 | static const BadFlags bad_flags; |
| 115 | return !(item->flags.whole & bad_flags.whole) |
| 116 | && !item->isAssignedToStockpile() |
| 117 | && isAccessible(out, item) |
| 118 | && !isUnusableBar(out, item) |
| 119 | && !isInWheelbarrow(out, item) |
| 120 | && !isInIgnoreBurrow(item); |
| 121 | } |
| 122 | |
| 123 | bool matchesHeatSafety(int16_t mat_type, int32_t mat_index, HeatSafety heat) { |
| 124 | if (heat == HEAT_SAFETY_ANY) |
no test coverage detected