Issue#27 Added mill input and output tiles detection

master
Mohammad Shoaib Khan 2022-08-14 19:50:53 +05:30
parent 18a7dc5d23
commit f2d607484e
1 changed files with 4 additions and 0 deletions

View File

@ -321,6 +321,10 @@ namespace stardew_access.Features
return (CATEGORY.Doors, name + " Animal Door " + ((building.animalDoorOpen.Value) ? "Opened" : "Closed"));
else if (building.tileX.Value == x && building.tileY.Value == y)
return (CATEGORY.Buildings, name);
else if (building is Mill && (building.tileX.Value + 1) == x && (building.tileY.Value + 1) == y)
return (CATEGORY.Buildings, name + " input");
else if (building is Mill && (building.tileX.Value + 3) == x && (building.tileY.Value + 1) == y)
return (CATEGORY.Buildings, name + " output");
else if (!lessInfo)
return (CATEGORY.Buildings, name);
}