| 54 | static void autonestbox_cycle(color_ostream &out); |
| 55 | |
| 56 | DFhackCExport command_result plugin_init(color_ostream &out, std::vector <PluginCommand> &commands) { |
| 57 | commands.push_back(PluginCommand( |
| 58 | plugin_name, |
| 59 | "Auto-assign egg-laying female pets to nestbox zones.", |
| 60 | df_autonestbox)); |
| 61 | return CR_OK; |
| 62 | } |
| 63 | |
| 64 | DFhackCExport command_result plugin_enable(color_ostream &out, bool enable) { |
| 65 | if (!Core::getInstance().isMapLoaded() || !World::isFortressMode()) { |
nothing calls this directly
no test coverage detected