MCPcopy Create free account
hub / github.com/DFHack/dfhack / command_result plugin_init

Function command_result plugin_init

plugins/changeitem.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37command_result df_changeitem(color_ostream &out, vector <string> & parameters);
38
39DFhackCExport command_result plugin_init ( color_ostream &out, vector <PluginCommand> &commands)
40{
41 commands.push_back(PluginCommand(
42 "changeitem",
43 "Change item attributes (material, quality).",
44 df_changeitem));
45
46 return CR_OK;
47}
48
49DFhackCExport command_result plugin_shutdown ( color_ostream &out )
50{

Callers

nothing calls this directly

Calls 1

PluginCommandFunction · 0.85

Tested by

no test coverage detected