Sry to say, but you use wrong the equal above.If anyone wondering why some porn shoot does not increase player's money, Its because the choice adding director into the scene messed up the calculation script.
here's my quick dirty fix
Elseif 3 || Random(0, 100) < choice*pornfame
// add this
If choice = 1
diff = 1
Elseif choice = 2
diff = 2
Else
diff = 3
EndIf
money => money + Dice/choice // replace with
money += Dice/diff
I use += rather than => money gained using => does not increase the money achievement progression.
back to lurking
wow... post edit hates tab
If you want to give a variable a value use "variable = value" ( "choice = 1" gives the 'choice' '1' as value )
If you inspect a variable to be have a desired value or condition use "If variable == value" ( "If choice == 1" gives the inspection true or false value).
So my opinion the "If choice = 1" and the "Elseif choice = 2" never return a true state and the "Else" line will be the only valid option, this means this code always return that "diff" is 3.
But if you wanna simplify the whole thing why not use this instead?
"money += Dice/choice"
Last edited: