Code: Select all
string Item::description() const
{
if (specific_name())
{
return ::format_description( 0, name(), amount_ ); //dave monkeyed with this 2/4/3
}
else
{
const ItemDesc& id = find_itemdesc( objtype_ );
if (id.desc.empty())
{
return ::format_description( tile_flags( graphic ), tile_desc( graphic ), amount_ );
}
else
{
return ::format_description( tile_flags( graphic ), id.desc, amount_ );
}
}
}
This is a problem because distro 097's crafting package renames crafted items to "a/an <material> <item>", and if the item is stackable (eg arrow shafts, lockpicks), you end up getting "2 an arrow shaft". I've somewhat alleviated the problem by not prefix crafted stackable items with the "a"/"an", but this is not optimal. The best functionality would be rename the item to "<material> <item>", but have the core automatically prefix "a/an" if necessary.
I would suggest a code patch for this, yet I'm guessing that the development team is pretty busy with either other POL issues or IRL stuff. So, can I just ask how the development team would fix an issue like this, so I could implement it myself and submit a patch?
Thanks,
Kevin
Developer, Neverlands Reborn