diff options
| author | Petr Mrázek | 2011-08-14 08:42:21 +0200 |
|---|---|---|
| committer | Petr Mrázek | 2011-08-14 08:42:21 +0200 |
| commit | a0f99ef7079bb741dcfa44b7365e3b13f3ec9016 (patch) | |
| tree | 6c2cb7419868999914e8514a3e7bc8f5f755f447 /plugins/tubefill.cpp | |
| parent | 02ea81c0b32a50f18497e2c4d99c005ae6f0e5d0 (diff) | |
| download | dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.gz dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.bz2 dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.xz | |
Many tweaks to plugins, reorganized the build system and removed more cruft.
Diffstat (limited to 'plugins/tubefill.cpp')
| -rw-r--r-- | plugins/tubefill.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/tubefill.cpp b/plugins/tubefill.cpp index ac58327e..1249c20f 100644 --- a/plugins/tubefill.cpp +++ b/plugins/tubefill.cpp @@ -44,7 +44,16 @@ DFhackCExport command_result tubefill(DFHack::Core * c, std::vector<std::string> uint64_t count = 0; int dirty=0; - + for(int i = 0; i < params.size();i++) + { + if(params[i] == "help" || params[i] == "?") + { + c->con.print("Replenishes mined out adamantine and hollow adamantine tubes.\n" + "May cause !!FUN!!\n" + ); + return CR_OK; + } + } c->Suspend(); DFHack::Maps *Mapz = c->getMaps(); |
