Reply from other thread
Trying to get all those (and more!) into a sequence of If/Then statements is turning to spaghetti code, so I'd like to just ++ or -- each of the priorities based on those rules.
Once it's all been evaluated, I will then just choose the action with the Highest priority. It also makes adding new cases much easier, as I just plop them in, decide what effect they have and I'm all done.
The problem is that there just aren't enough hours in the day!
Yeah, I may just have to go the extra tab with drop downs route. Bleh!desire said:I vote for extra tab with manual selection. There're crafting gear that rises "parent skills" which will boost ALL 3 finishing skills above 1, like diplo buff. Plus extra flexibility always a bonus.
I'm re-working the AI and would like to go with a priority system based on how much Quality you want, how many steps are in the recipe, each stage, how far you have progressed, what complications are active, how many AP you have left and how well your last step worked.BTW, do you plan to use all these "iWant..." variables in the action AI logic?
Trying to get all those (and more!) into a sequence of If/Then statements is turning to spaghetti code, so I'd like to just ++ or -- each of the priorities based on those rules.
Once it's all been evaluated, I will then just choose the action with the Highest priority. It also makes adding new cases much easier, as I just plop them in, decide what effect they have and I'm all done.
The problem is that there just aren't enough hours in the day!