Random Option?
Posted: Thu Jan 29, 2009 9:19 pm
I'm a very indecisive person
so is there any way that I could put a "Random" option onto my menus?
so is there any way that I could put a "Random" option onto my menus?
Supporting creators of visual novels and story-based games since 2003.
https://lemmasoft.renai.us/forums/
Code: Select all
menu:
"Eat plutonium":
jump eat_plutonium
"Eat uranium":
jump eat_uranium
"Eat random radioactive material":
jump eat_random
label eat_random:
$ value=renpy.random.randint(1,2)
if value==1:
jump eat_plutonium
elif value==2:
jump eat_uranium