From 6502f0f6aee68e56d3e43108014b45c9f5f18287 Mon Sep 17 00:00:00 2001 From: Quietust Date: Mon, 23 Jan 2012 16:08:37 -0600 Subject: [PATCH] Print mood item flags if it's an unrecognized body part --- plugins/showmood.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index 973869c97..a82b5b900 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -221,10 +221,10 @@ DFhackCExport command_result df_showmood (Core * c, vector & 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",