How to have locked choices based on a persons actions

I want my story to have a locked choice based on how they acted to a certain character. Ex. If the reader was nice to “Amy” they get a choice to hang out with her and earn friendship points, but if the reader was mean to “Amy” the choice is locked and cant be chosen. I hope to get help on this since I feel it would really be beneficial to my story. Thank you!

Hii you can use points or gain flag Its up to you though heres the Example

*use points system

if (FRIENDSHIP >3) {
goto unlocked_choices
}
else {
goto locked_choice
}

label unlocked_choices
readerMessage you unlocked the special scene
NARRATOR
Do you want to hang out with Amy?
choice
“Yes I want to” {
Your scene here
goto next_scene
}
“I dont to hang out” {
Your scene
}

label locked_choice
“I want to hang out with amy” {
NARRATOR
This choice is locked
goto locked_choice
}
“I dont want to hang out” {
Your scene here
goto next_scene
}

Same goes to gain

Tysm! You are actually a lifesaver!

1 Like

You’re welcome :slight_smile: feel free to ask me anything

1 Like

Soooo i’m sorry to ask again but I want to now have a tappable overlay so the reader can choose either to go left or right. I’m kinda new to this whole story making thing if you couldn’t tell lol.

Like dressing game ?