| 293 | } |
| 294 | |
| 295 | static vector<df::unit *> getFreeEggLayers(color_ostream &out) { |
| 296 | vector<df::unit *> ret; |
| 297 | for (auto unit : world->units.active) { |
| 298 | if (isFreeEgglayer(unit)) |
| 299 | ret.push_back(unit); |
| 300 | } |
| 301 | return ret; |
| 302 | } |
| 303 | |
| 304 | // rate limit to one message per season |
| 305 | // assumes this gets run at least once a season, which is true when enabled |
no test coverage detected