I've already looked through the code. The variable "idiocy" starts with a value of 5, after which there are 3 places in the code where this variable changes, in one of them it only decreases, and in the other two it can both decrease and increase. As a result, the variable can take values from 2 to 7. So the corrections you suggested are correct. But since the value of this variable cannot be lower than 2, then it could be done like this:
Python:
if idiocy==2:
$idiocyFactor=30
elif idiocy==3:
$idiocyFactor=25
elif idiocy==4:
$idiocyFactor=20
elif idiocy==5:
$idiocyFactor=15
else:
$idiocyFactor=10
Yes, the idiocy value starts at 5. If you don't tell Dave that his "motto" is stupid, it remains the same (makes no sense why, just like the loveScore it's super inconsistent) and as soon as you've picked the two choices below (CH 2 & 3), both of which are related to Dave spending more money in the future and they come up fairly early in the game, it quickly jumps to 7 and stays there till the end of CH 14. As you wrote, there are currently three choices that may decrease the value to 2 and two choices that may increase it, so the value remains between 2 and 7 for now.
Let things go- our relationship will be unaffected but Dave will waste more money in the future.
If you want to readjust the code according to possible values the following code would be more true to the original code cause you should be getting 25, 20 and 15 bucks for 2, 3 and 4 idiocy respectively, and 5 and above should get 10 bucks. A more stripped down version of the code I posted earlier, but identical to it and to the original values in terms of payment.
Python:
if idiocy==2:
$idiocyFactor=25
elif idiocy==3:
$idiocyFactor=20
elif idiocy==4:
$idiocyFactor=15
else:
$idiocyFactor=10
If you want to cheat and make 30 bucks for each BJ by setting idiocy to 1 then stick to the code I posted earlier.
Edit: You don't even need an extra variable as idiocyFactor, the code below would do the same job.
Python:
if idiocy < 1 : idiocy = 1
elif idiocy > 7 : idiocy = 7
$currentPayment= underpassQuest * (35 - idiocy * 5)