feat: add search for recipes using item

This commit is contained in:
Anna
2022-01-10 23:14:28 -05:00
parent afb979acfd
commit b9bbe84ad3
2 changed files with 36 additions and 14 deletions
+6
View File
@@ -241,6 +241,12 @@ internal sealed class PayloadHandler {
}
}
if (item.Item.ItemSearchCategory.Value?.Category == 3) {
if (ImGui.Selectable("Search Recipes Using This Material")) {
this.Ui.Plugin.Functions.SearchForRecipesUsingItem(item.ItemId);
}
}
if (ImGui.Selectable("Link")) {
this.Ui.Plugin.Functions.LinkItem(realItemId);
}