From 06547c89482024da5efd1506184d408b0d8b8a3f Mon Sep 17 00:00:00 2001 From: Quietust Date: Tue, 24 Jan 2012 10:03:28 -0600 Subject: [PATCH] Update showmood to recognize corpses (fell mood) and remains (macabre mood) --- plugins/showmood.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index 2cecf0f90..464860d9d 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -206,6 +206,12 @@ DFhackCExport command_result df_showmood (Core * c, vector & parameters } c->con.print("%s cloth", mat_name.c_str()); break; + case item_type::REMAINS: + c->con.print("%s remains", mat_name.c_str()); + break; + case item_type::CORPSE: + c->con.print("%s %scorpse", mat_name.c_str(), (item->flags1.bits.murdered ? "murdered " : "")); + break; case item_type::NONE: if (item->flags2.bits.body_part) {