Mostly hardcoded automation for an incremental game I've been playing (Leaf Blower Revolution). It probably won't work for you without changes.