Update showmood to recognize corpses (fell mood) and remains (macabre mood)

develop
Quietust 2012-01-24 10:03:28 -06:00
parent 174d9d0739
commit 06547c8948
1 changed files with 6 additions and 0 deletions

@ -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)
{