dungeonsoffear - 2021-04-16

Tonight I started the AI parsing, writing a method similar to "parse_decision_if" and "parse_resolution_if". So far I think it'll work out ok; not seeing any insurmountable road blocks. The game_room script is going to go over 1000 lines after this, which isn't ideal. The code quality is really comically awful in some places, but I'm trying to make up for it now writing good comments and code documentation. Like all legacy code, you just have to make things better if you happen to work on them, but refactoring for refactoring sake is a waste of time. I learned this from the ole day job.

I think powers are going to be really hard to model effectively, but maybe not using the "weighted option" construct I had planned. Pretty much everything will be "do this 80% of the time, do this with power 20% of the time. I'm hoping my simple if statement logic will make compelling AI. I can see this as being a massive waste of time like user content creation, but the difference here is I actually want to play it by myself, so at least it has that going for it.

Hopefully I can make good progress this weekend, especially if it rains and I can't do outdoors stuff.

2 hours