diff options
| author | Quietust | 2012-01-24 10:03:28 -0600 |
|---|---|---|
| committer | Quietust | 2012-01-24 10:03:28 -0600 |
| commit | 06547c89482024da5efd1506184d408b0d8b8a3f (patch) | |
| tree | 6f01eb68831e1d636c973a08f86238232bc57654 /plugins/showmood.cpp | |
| parent | 174d9d0739d7a0afc6b889eafc154b8b446dc932 (diff) | |
| download | dfhack-06547c89482024da5efd1506184d408b0d8b8a3f.tar.gz dfhack-06547c89482024da5efd1506184d408b0d8b8a3f.tar.bz2 dfhack-06547c89482024da5efd1506184d408b0d8b8a3f.tar.xz | |
Update showmood to recognize corpses (fell mood) and remains (macabre mood)
Diffstat (limited to 'plugins/showmood.cpp')
| -rw-r--r-- | plugins/showmood.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index 2cecf0f9..464860d9 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -206,6 +206,12 @@ DFhackCExport command_result df_showmood (Core * c, vector <string> & 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) { |
