Story help ---> locked choices

is it possible to have choices but one is locked because the reader didnt collect enough points or doesnt have a certain gain??
for example:

choice
“Go To the Mall” {
#player goes to mall IF THEY HAVE (go_to_mall_choice)
}
“Stay Home and Do Nothing” {
#player must stay home because they don’t have enough points OR they don’t have “gain go_to_mall_choice”
}

EDIT: THERE ARE TWO SOLUTIONS BUT IT WOULD ONLY LET ME CHOOSE ONE SO…

1 Like

Yup its possible…

“Choice Name”

But this requires point system which at the moment im not well verse in.

2 Likes

thank youuu. now i just need a template :joy::joy:

1 Like

I think there is something I have seen somewhere. Let me go check around for you

2 Likes

ok thank you…
I actually just found one but if you have another one I’ll take all the help I can get ^^

2 Likes

Here it is! And no worries about that. Use whichever!

2 Likes

Yes, it is. So lets say the reader can go to the mall if they ate an apple, and if they didn’t, then they couldn’t go to the mall. (random ik lmao). Here is kind of how it would look.

choice
“Eat apple.” {
CHAR
I feel like eating this apple.
gain eat_apple
} " Don’t eat apple." {
CHAR
I don’t feel like eating this apple.
#no need for a gain but if you want to then just write “gain uneaten_apple” or something idk lol
}

Then later in the script, if you want to give the reader the choice based on the apple choice, here’s what it would look like.

if (eat_apple){

goto eat_apple_choice

} else {

goto uneat_apple_choice
}

label eat_apple_choice

CHAR
What do I want to do?

choice
“Go to the mall.”{
#scene at the mall

goto continue (continue would be what happens regardless if they stayed home or not)
}
“Stay home and do nothing.” {
#scene at home

goto continue
}

label uneat_apple_choice

CHAR
What do I want to do?

choice
“Go to the mall” {

NARR
This choice is locked because you didn’t eat the apple.

goto uneat_apple_choice

}
“Stay home and do nothing” {
#scene for staying home (which you could just copy and paste)

goto continue
}

label continue

Idk if there is another way to do this but this is what I do. Hopefully this helped. :slight_smile:
EDIT: The bit where it says “This choice is locked because you didn’t eat the apple.” the choice should have the format for a LOCKED choice but it keeps disappearing lol

2 Likes

thank you so much!! this was the one I found haha :))

1 Like

Oh! I love it when that happens :grin:

1 Like

thank youuu this really helped :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.