So, I’m play-testing my game, as it seems I did not do quite enough before I put it up on the forum, and I am finding that a highest_relationship variable is not triggering correctly.
Right now, I have it set that t_relationship is 10 above, with this format:
Put ${highest_relationship} just before your *if statements.
This will print out the current value of highest_relationship. I suspect that its value will be l_relationship for whatever reason and that will be why it goes to l_extract.
If that is the case, then also print out the values of each relationship variable to see what those values are - this will confirm if either:
l_relationship is in fact the highest and you have an error somewhere causing l_relationship to be higher than you expect or t_relationship to be lower than you expect
Your calculation of the highest relationship is wrong