| 2048 | } |
| 2049 | |
| 2050 | bool Items::isSquadEquipment(df::item *item) |
| 2051 | { using df::global::plotinfo; |
| 2052 | CHECK_NULL_POINTER(item); |
| 2053 | if (!plotinfo) |
| 2054 | return false; |
| 2055 | auto &vec = plotinfo->equipment.items_assigned[item->getType()]; |
| 2056 | return vector_contains(vec, item->id); |
| 2057 | } |
| 2058 | |
| 2059 | /// Reverse engineered, code reference: 0x140953150 in 50.11-win64-steam |
| 2060 | /// Our name for this function: itemst::getCapacity |
nothing calls this directly
no test coverage detected