All great ideas, but realistically way to hard to code. That is why simplist solution is expanding on the existing, with some if/then codong structure to create a better branching ai so to speak.