Hey great game, absolutely loved it!
I was using the script files to help me figure out how to get specific stats, hope that's ok, and I noticed what might be a few mistakes.
I'm pretty sure that there are some places where the < and > are swapped, like where there's an opportunity to make a smarter action but it checks if you have lower cunning instead of higher. I might be misunderstanding but just in case I wanted to let you know.
There might be more but the ones I noticed are in the second script file on lines 6428,6442,6449,6451, and 6456.