So, say i wanted to use an item with a fire, how would i do this? Like this?
if (getInventory().isFull())
{
getInventory().contains("Trout");
{
getInventory().use("Trout") RS2Object Fire = getObjects().closest("Fire");;
}
I've been trying to find how to use fires to cook in the api, but can't find an object, or interactable for fire