Improve Dismantle UX

- Change `Any {}` to `Any {} item` so for example when you want to
dismantle something into linen, you will see `Any linen item` which
points you that you need to get some item which is made from linen, and
not some generic linen.
This commit is contained in:
juliancoffee 2021-06-24 20:38:02 +03:00
parent f983295318
commit 3b6d6b9393

View File

@ -880,7 +880,7 @@ impl<'a> Widget for Crafting<'a> {
// Ingredients
let name = match recipe_input {
RecipeInput::Item(_) => item_def.name().to_string(),
RecipeInput::Tag(tag) => format!("Any {}", tag.name()),
RecipeInput::Tag(tag) => format!("Any {} item", tag.name()),
};
let input = format!(
"{}x {} ({})",