I'm trying to write a quick script to fertilize my garden every hour. Everything works fine up until the "Select fertilizer to apply." window.
I've tried:
but both don't work. Any ideas? Also note that the text reads "Fertilize" instead of use when you right click the fishmeal in this window. However fishmeal doesn't normally have a use option in the regular inventory window.
I've tried:
Code:
foreach (var bagslot in InventoryManager.Slots) {
if(bagslot.Name.Contains("Fishmeal")) bagslot.UseItem();
if(bagslot.Name.Contains("Fishmeal")) bagslot.Handover();
}
but both don't work. Any ideas? Also note that the text reads "Fertilize" instead of use when you right click the fishmeal in this window. However fishmeal doesn't normally have a use option in the regular inventory window.