Hello, I'm here to give some feedback about your script.
1: when it runs out of ingots it deposits my adamantite ores twice instead of depositing adamantite then coal
2: Would be nice make it check how many ores you have left and when there is like 100-500 left deposit more instead of...