| 1750 | } |
| 1751 | |
| 1752 | command_result blueprint(color_ostream &out, vector<string> ¶meters) { |
| 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 | |
| 1767 | DFHACK_PLUGIN_LUA_COMMANDS { |
| 1768 | DFHACK_LUA_COMMAND(run), |
nothing calls this directly
no test coverage detected