summaryrefslogtreecommitdiff
path: root/plugins/tiletypes.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-08-15 01:59:57 +0200
committerPetr Mrázek2011-08-15 01:59:57 +0200
commit247592e30cc9cf639059f701956d25e23e3b7fc3 (patch)
treee4f4f08398090131199784177659b585dde6b3e8 /plugins/tiletypes.cpp
parent292074116eb949a8902b5d295a58e49c04291c9c (diff)
downloaddfhack-247592e30cc9cf639059f701956d25e23e3b7fc3.tar.gz
dfhack-247592e30cc9cf639059f701956d25e23e3b7fc3.tar.bz2
dfhack-247592e30cc9cf639059f701956d25e23e3b7fc3.tar.xz
Put warning in tiletypes tool.
Diffstat (limited to 'plugins/tiletypes.cpp')
-rw-r--r--plugins/tiletypes.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/tiletypes.cpp b/plugins/tiletypes.cpp
index 4f07736a..73f69f6f 100644
--- a/plugins/tiletypes.cpp
+++ b/plugins/tiletypes.cpp
@@ -238,7 +238,7 @@ void help( std::ostream & out, const std::string &option)
<< " Special / s: set special tile information" << std::endl
<< "See help [option] for more information" << std::endl;
}
- else if (option == "shape")
+ else if (option == "shape" || option == "s" ||option == "sh")
{
out << "Available shapes:" << std::endl
<< " ANY" << std::endl;
@@ -247,7 +247,7 @@ void help( std::ostream & out, const std::string &option)
out << " " << DFHack::TileShapeString[i] << std::endl;
}
}
- else if (option == "material")
+ else if (option == "material"|| option == "mat" ||option == "m")
{
out << "Available materials:" << std::endl
<< " ANY" << std::endl;
@@ -459,6 +459,7 @@ DFhackCExport command_result df_tiletypes (Core * c, vector <string> & parameter
std::string brushname = "point";
int width = 1, height = 1, z_levels = 1;
c->con << "Welcome to the tiletype tool.\nType 'help' or '?' for a list of available commands, 'q' to quit.\nPress return after a command to confirm." << std::endl;
+ c->con.printerr("THIS TOOL CAN BE DANGEROUS. YOU'VE BEEN WARNED.\n");
while (!end)
{
c->con << "Filter: " << filter << std::endl