Случайный .randint renpy
# return a random integer between 1 and 20
$ d20roll = renpy.random.randint(1, 20)
Lonely Lobster
# return a random integer between 1 and 20
$ d20roll = renpy.random.randint(1, 20)