i'm thinking to set my game like free roaming with a random dialogue with some condition:
ie: rel and lust under 10 with bschar :
if location is kitchen and lust < 5 :
random dialogue fronm 10 different
something like. this....
my idea is good? how can i call the menu? with a simply -> Call bs_0_10 ??
ie: rel and lust under 10 with bschar :
if location is kitchen and lust < 5 :
random dialogue fronm 10 different
something like. this....
Code:
$ randdiag0 = True
$ randdiag1 = True
$ randdiag2 = True
$ randdiag3 = True
$ randdiag4 = True
$ randdiag5 = True
$ randdiag6 = True
$ randdiag7 = True
$ randdiag8 = True
$ randdiag9 = True
$ randdiag10 = True
$count = 0
label bs_0_10:
$randdiag = renpy.random.randint(0,10)
if count <= 10 :
if (0 <= bslust <= 10) or (0 <= bsrel <= 10):
if randdiag == 0 and randdiag0 == True :
menu:
blablabla
$randiag0 = False
$count += 1
else:
action Call ("bs_0_10")
if randdiag == 1 and randdiag1 == True :
menu:
blablabla
$randiag1 = False
$count += 1
else:
action Call ("bs_0_10")
..................
.....................
else:
#some menu without random here
my idea is good? how can i call the menu? with a simply -> Call bs_0_10 ??