| 65 | command_result df_liquids_here (color_ostream &out, vector <string> & parameters); |
| 66 | |
| 67 | DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands) |
| 68 | { |
| 69 | liquids_hist.load(HISTORY_FILE); |
| 70 | commands.push_back(PluginCommand( |
| 71 | "liquids", |
| 72 | "Place magma, water or obsidian.", |
| 73 | df_liquids, |
| 74 | true, true)); // interactive, needs console for prompt |
| 75 | commands.push_back(PluginCommand( |
| 76 | "liquids-here", |
| 77 | "Use settings from liquids at cursor position.", |
| 78 | df_liquids_here, |
| 79 | Gui::cursor_hotkey)); // non-interactive, needs ingame cursor |
| 80 | return CR_OK; |
| 81 | } |
| 82 | |
| 83 | DFhackCExport command_result plugin_shutdown ( color_ostream &out ) |
| 84 | { |
nothing calls this directly
no test coverage detected