|
|
@ -147,14 +147,14 @@ command_result df_cleanowned (color_ostream &out, vector <string> & parameters)
|
|
|
|
out.print(
|
|
|
|
out.print(
|
|
|
|
"[%d] %s (wear level %d)",
|
|
|
|
"[%d] %s (wear level %d)",
|
|
|
|
item->id,
|
|
|
|
item->id,
|
|
|
|
description.c_str(),
|
|
|
|
DF2CONSOLE(description).c_str(),
|
|
|
|
item->getWear()
|
|
|
|
item->getWear()
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
df::unit *owner = Items::getOwner(item);
|
|
|
|
df::unit *owner = Items::getOwner(item);
|
|
|
|
|
|
|
|
|
|
|
|
if (owner)
|
|
|
|
if (owner)
|
|
|
|
out.print(", owner %s", Translation::TranslateName(&owner->name,false).c_str());
|
|
|
|
out.print(", owner %s", DF2CONSOLE(Translation::TranslateName(&owner->name,false)).c_str());
|
|
|
|
|
|
|
|
|
|
|
|
if (!dry_run)
|
|
|
|
if (!dry_run)
|
|
|
|
{
|
|
|
|
{
|
|
|
|