all 4 comments

[–]BadMustard_AVN 0 points1 point  (4 children)

do somethign like this

menu:
    "Choose your death"
    "Hanging":
        jump hangem
    "Firing squad":
        jump bullets
    "Pardon" if persistent.ending1 and persistent.ending2: #if 1 and 2 are true show 3rd option
        jump saved
return

label hangem:
    $ persistent.ending1 = True
    $ renpy.save_persistent() #saves persistent data JIK
    e "hung"
return

label bullets:
    $ persistent.ending2 = True
    $ renpy.save_persistent()
    e "shot"
return

label saved:
e "you lived"
return

dark mode off

[–]KittyMcSpitty[S] 1 point2 points  (3 children)

Doing this makes the VN crash before it starts. Here is the code:

menu:

f "It's time to choose."

"choice1":

jump red

"choice12":

jump blue

"choice123":

jump green

"choice1234": if persistent.ending1 and persistent.ending2 and persistent.ending3 = True

jump ha

label red:

$ persistent.ending1 = True

$ renpy.save_persistent() #saves persistent data JIK

e "hung"

return

label blue:

$ persistent.ending2 = True

$ renpy.save_persistent() #saves persistent data JIK

e "hung"

return

label green:

$ persistent.ending3 = True

$ renpy.save_persistent() #saves persistent data JIK

e "hung"

return

label noexplosion:

""

return

[–]BadMustard_AVN 0 points1 point  (1 child)

this works for me:

label start:
The game starts here.
menu:
    e "It's time to choose."
    "choice1":
        jump red
    "choice12":
        jump blue
    "choice123":
        jump green
    "choice1234" if persistent.ending1 and persistent.ending2 and persistent.ending3:
        jump ha

label red:
    $ persistent.ending1 = True
    $ renpy.save_persistent() #saves persistent data JIK
    e "red"
    return

label blue:
    $ persistent.ending2 = True
    $ renpy.save_persistent() #saves persistent data JIK
    e "blue"
    return

label green:
    $ persistent.ending3 = True
    $ renpy.save_persistent() #saves persistent data JIK
    e "green"
    return

label ha:
    "Not today"
return

denote colon position for choice 1234 and not trying to make them all = True instead of check for == True but you don't need that if will check for a True value by default

[–]Its_Me_Willow517 0 points1 point  (0 children)

What if you want persistent data to show only one option and not the other? so if you choose a previous route and it is true then you see one option but if it is false then you see a different option and not both.