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…
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. 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