Automatically sell resources when the stock is not full.
Sell resources with the conditions given, minimum resources left in the village and maximum price.
If you set the first box to "10000", then the script will sell resources until you have 10000 resources of each left.
If you set the second box to "300", then the script will only sell resources when the price is below 300.