Repeat until not full would be good to change to empty or added. Because repeat untill not full only works from full(100) to (99) and want to go lower before creating more planks
I actually use repeat until not full to tie lumber production to both log and seed storage by putting two empty until not full in the main loop. If I were to nest until full loops, it would only ever check the innermost, so I could only control the amountof one item, not both.