Code: Select all
label calculation:
$ result = renpy.random.randint(1,50)
if result > 40:
if super == 2:
pass
else:
$ result = 40
if result > 32:
if super > 0:
pass
else:
$ result = 32
show text "The result is [result]!" at truecenter
pause
hide text with dissolve
Code: Select all
label calculation:
$ result = renpy.random.randint(1,50)
if result > 40 and super < 2:
$ result = 40
if result > 32 and super < 1:
$ result = 32
show text "The result is [result]!" at truecenter
pause
hide text with dissolve
As I mentioned up above, the player can get a "result" on certain actions they take, and that result spans from 1 to 50. However, unless the player has attained super-human status, they are unable to attain results above 32 and unless their super-human level is 2, they cannot get results above 40. This is the system I am looking for.