MCPcopy Create free account
hub / github.com/DFHack/dfhack / blueprint

Function blueprint

plugins/blueprint.cpp:1752–1765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1750}
1751
1752command_result blueprint(color_ostream &out, vector<string> &parameters) {
1753 vector<string> files;
1754 command_result cr = do_blueprint(out, parameters, files);
1755 if (cr == CR_OK) {
1756 if (files.empty()) // Just natural walls, etc.
1757 out.print("No resulting blueprint.\n");
1758 else {
1759 out.print("Generated blueprint file(s):\n");
1760 for (string &fname : files)
1761 out.print(" {}\n", fname);
1762 }
1763 }
1764 return cr;
1765}
1766
1767DFHACK_PLUGIN_LUA_COMMANDS {
1768 DFHACK_LUA_COMMAND(run),

Callers

nothing calls this directly

Calls 3

do_blueprintFunction · 0.85
emptyMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected