*hide_reuse
Can you go home?
*choice
#Yes
*goto home
#I don't know if I will go home.
*goto stay
*allow_reuse #No, you will meet friends
*goto friends
or
Can you go home?
*choice
#Yes
*goto home
#I don't know if I will go home.
*goto stay
*hide_reuse #No, you will meet friends
*goto friends
Do I miss any codes?
Edit: Actually, I was wrong- *hide_reuse just makes the choice disappear after you select it. The one that depends on the stat checks is *selectable_if.
I don’t quite understand what you’re trying to do with your code. Could you elaborate?
I tried to hide the choice until the player is finished.
Szaal
66
Umm… finish in doing what to be precise?
Yes, going on to next scene.
Szaal
68
Well, if the player has gone to the next scene, do they still have the chance to encounter this *hide_reuse choices?
Because if that’s your case, I think *hide_reuse is not the best way to hide these choices.
My way to deal with this thing is:
- Create a variable at the beginning of each scene, which will be set
true if the player has explored the scene
- Use these variables to hide/show the choice options you’re mentioning
I don’t understand the quicktest.
QUICKTEST FAILED
ERROR: couldn’t open web/mygame/scenes/friend_a.txt
But the friends_a is saved.
I know, so I also changed *scene_list.
But it still is strange.
QUICKTEST FAILED
ERROR: couldn’t open web/mygame/scenes/friends_a.txt
Yes, I just changed both txt and *scene_list.
I begin to think that it is an error in quicktest.html.
Did it happen anytimes?
It’s almost certainly not an error in quicktest.
Can you post your scenelist?
*scene_list
startup
evilemporer
goodking
evilempress
goodqueen
planet
military_a
military_b
friends_a
friends_b
I tested to change the names too, but it got the same result.
What will I do then?
Szaal
77
That’s weird. The quicktest tried to open a non-existent friend_a.txt file.
I hope you already saved every scenes you’ve modified 
In which of your scenes is the game still finding “friend_a” since you took it out of the scene list?
Any chance you’re finishing one of your scenes with *goto_scene friend_a instead of *finish?
Edit: don’t know whether cleaning the cache in your browser will help, but I’d try that too.
What do you mean?
Yes, I did it.
I tested to clean the caches and restart the web reader, but it still is the same result.
If so, then that’s your problem. Change any *goto_scene friend_a to *goto_scene friends_a (i.e. from the scene that doesn’t exist to the scene that does).
Does that fix it?
Like I wrote earlier,
Edit: I tested to play, so I got the error.
From you wrote it wasn’t clear whether you had only changed the names in the files you showed us – i.e. the name of the “friend_a.txt” file and the scene list – or whether you had also changed any places where "*goto_scene friend_a " appeared in other txt files.
When you said that some of your other scenes did end in “*goto_scene friend_a” rather than “*goto_scene friends_a” then that seemed likely to be the problem.
So just to confirm: have you searched e.g. military_b.txt and planet.txt and all the other txt files to see if there’s any place where the line "*goto_scene friend_a " appears? If it’s there, change it to *goto_scene friends_a. If not, there’s some other problem.
The other error message you just got says that friends_a.txt is “missing or empty.” It clearly shouldn’t be missing, given the screen shot of your scenes folder. Just to check: is there any working code in that file, or is it empty?