Skip to content

Commit

Permalink
Merge pull request #743 from erdelf/master
Browse files Browse the repository at this point in the history
added Ingredient ItemUI category to consumables
  • Loading branch information
erdelf authored Jan 6, 2025
2 parents 92345e9 + 828163e commit a38f05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoDuty/Windows/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public class ConsumableItem
public ushort StatusId;
}

private static List<ConsumableItem> ConsumableItems { get; set; } = Svc.Data.GetExcelSheet<Item>()?.Where(x => !x.Name.ToString().IsNullOrEmpty() && x.ItemUICategory.ValueNullable?.RowId is 44 or 46 && x.ItemAction.ValueNullable?.Data[0] is 48 or 49).Select(x => new ConsumableItem() { StatusId = x.ItemAction.Value!.Data[0], ItemId = x.RowId, Name = x.Name.ToString(), CanBeHq = x.CanBeHq }).ToList() ?? [];
private static List<ConsumableItem> ConsumableItems { get; set; } = Svc.Data.GetExcelSheet<Item>()?.Where(x => !x.Name.ToString().IsNullOrEmpty() && x.ItemUICategory.ValueNullable?.RowId is 44 or 45 or 46 && x.ItemAction.ValueNullable?.Data[0] is 48 or 49).Select(x => new ConsumableItem() { StatusId = x.ItemAction.Value!.Data[0], ItemId = x.RowId, Name = x.Name.ToString(), CanBeHq = x.CanBeHq }).ToList() ?? [];

private static string consumableItemsItemNameInput = "";
private static ConsumableItem consumableItemsSelectedItem = new();
Expand Down

0 comments on commit a38f05a

Please sign in to comment.