- Sep 26, 2018
- 3,131
- 3,195
how to make random event
Am I doing it right or wrong
default.rpy
script.rpy
Am I doing it right or wrong
default.rpy
Python:
default pregnacy = renpy.random.randint(1, 100)
Code:
if pregnacy == 1:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 20:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 40:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 60:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 80:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 100:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 25:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 50:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
elif pregnacy == 75:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
hide ransi_jusei
elif pregnacy == 100:
show ransi_jusei
pause 2.0
"Got her pregnate..."
hide ransi_jusei
else:
"Sorry you didn't get her pregnate..."
Last edited: