summaryrefslogtreecommitdiff
path: root/plugins/probe.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-09-02 01:25:01 +0200
committerPetr Mrázek2011-09-02 01:25:01 +0200
commit8cdeb0b59cb9ee52ab81a46d8d6f95e0f846fe01 (patch)
treee59028ea78e05f167b97476b231198359c55c0b9 /plugins/probe.cpp
parente48f8af9a889ebe96ed7eab0b79865b6b0e40cc1 (diff)
downloaddfhack-8cdeb0b59cb9ee52ab81a46d8d6f95e0f846fe01.tar.gz
dfhack-8cdeb0b59cb9ee52ab81a46d8d6f95e0f846fe01.tar.bz2
dfhack-8cdeb0b59cb9ee52ab81a46d8d6f95e0f846fe01.tar.xz
Add a salt/stagnant flag removal command to the liquids tool.
Diffstat (limited to 'plugins/probe.cpp')
-rw-r--r--plugins/probe.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/probe.cpp b/plugins/probe.cpp
index 916989a9..2e1997ca 100644
--- a/plugins/probe.cpp
+++ b/plugins/probe.cpp
@@ -198,6 +198,10 @@ DFhackCExport command_result df_probe (Core * c, vector <string> & parameters)
con << "rained?" << std::endl;
if(des.smooth)
con << "smooth?" << std::endl;
+ if(des.water_salt)
+ con << "salty" << endl;
+ if(des.water_stagnant)
+ con << "stagnant" << endl;
#define PRINT_FLAG( X ) con.print("%-16s= %c\n", #X , ( des.X ? 'Y' : ' ' ) )
PRINT_FLAG( hidden );