| 427 | |
| 428 | |
| 429 | DFhackCExport command_result plugin_init(color_ostream& out, std::vector <PluginCommand>& commands) |
| 430 | { |
| 431 | commands.push_back( |
| 432 | PluginCommand("autofarm", |
| 433 | "Automatically manage farm crop selection.", |
| 434 | autofarm)); |
| 435 | |
| 436 | autofarmInstance = std::move(std::make_unique<AutoFarm>()); |
| 437 | return CR_OK; |
| 438 | } |
| 439 | |
| 440 | DFhackCExport command_result plugin_shutdown(color_ostream& out) |
| 441 | { |
nothing calls this directly
no test coverage detected