diff options
| author | Quietust | 2012-01-23 16:08:37 -0600 |
|---|---|---|
| committer | Quietust | 2012-01-23 16:08:37 -0600 |
| commit | 6502f0f6aee68e56d3e43108014b45c9f5f18287 (patch) | |
| tree | 3fb3e797d48b8cc92aa0b9788afce76d787f6224 /plugins/showmood.cpp | |
| parent | e3f875b9a50bf3cacb4291bda49f73e07c5a19ea (diff) | |
| download | dfhack-6502f0f6aee68e56d3e43108014b45c9f5f18287.tar.gz dfhack-6502f0f6aee68e56d3e43108014b45c9f5f18287.tar.bz2 dfhack-6502f0f6aee68e56d3e43108014b45c9f5f18287.tar.xz | |
Print mood item flags if it's an unrecognized body part
Diffstat (limited to 'plugins/showmood.cpp')
| -rw-r--r-- | plugins/showmood.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index 973869c9..a82b5b90 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -221,10 +221,10 @@ DFhackCExport command_result df_showmood (Core * c, vector <string> & parameters else if (item->flags2.bits.ivory_tooth) c->con.print("%s ivory/teeth", mat_name.c_str()); else - c->con.print("%s unknown body parts", mat_name.c_str()); + c->con.print("%s unknown body parts (%08x:%08x:%08x)", mat_name.c_str(), item->flags1.whole, item->flags2.whole, item->flags3.whole); } else - c->con.print("indeterminate %s item", mat_name.c_str()); + c->con.print("indeterminate %s item (%08x:%08x:%08x)", mat_name.c_str(), item->flags1.whole, item->flags2.whole, item->flags3.whole); break; default: c->con.print("item %s:%s with flags %08x,%08x,%08x", |
