Since I cannot overcome the gold problem right now, I came up with a solution to let me walk
away from my computer (for work, sleep, etc.) and let
AutoIt continue improving buildings for
me while I'm gone.  My AutoIt scripts are far from perfect. They require some baby-sitting while
they run to make sure they run past changes in the game with the desired results.  The
number of buildings you can build changes as your castle develops, so I still need to adjust the
script to build the ones that I want to build with the additional ones in the list. I have not yet
figured out how to make my scripts flexible enough to handle all game changes.
Figure 2
AutoIt Solution