Name choices are gone when I do a test run

I have hit another snag💀
I was working on a character customization for hair when I decided to do a quick test run to see how I was doing with it. as I was scrolling through my test story, (basically speed running it) I noticed all my names disappeared and all I’m left with is “Next Chapter” so I’m like, ok wacc.

when I hit next chapter, it leads me to the part where you enter your own name. it almost skips my name choices, but its there in startup, the code is on that scene, my names on the story page just disappear? everything was running fine before, the names popped up and I did a few test runs where I made different combos with the names and it was fine.

to be transparent tho; I did make some changes on the name page where the names disappeared—I copy and pasted names that have accents over them (like the name Gérard for example) but I dont know if that was enough to screw over the code…??

I am so technologically inept I should be a boomer…help??

1 Like

Did you update the files on the dashingdon link you had from before? Asking so we can help check the code. Maybe it’s something to do with a goto accidentally skipping the name choices and going to the input menu directly.

That shouldn’t be a problem–I’ve seen WIPs on Dashingdon that have these accented characters too.

sorry I got to you so late, it was late last night and then I had to run errands today.

but now I have uploaded all the new files and stuff so you can get a better look at what I have. note; some scenes arent in the play through, specifically the “customize” scenes because I’m still working on those.
dashingdon.com/play/sweetroll/mystery-of-benoit/mygame/scenes

2 Likes

The way you sorted the code is really complex. You can easily do it with a single text.

I can do it for you tomorrow if you want.

Instead of

customize
customize2
customize3
Name1
Name2
Name3
Gender1
Gender2

It can all be in a single text.

1 Like

wait, are you sure? I didn’t know that was possible. I thought it had to have individual scenes for each scene and stuff.

1 Like

Yes, I’m sure. :slightly_smiling_face: You will go crazy with the way you code.

I can do it for you tomorrow if you want since I’m trying to improve my skill in coding, and you can see how I did it.

You could also take a look at most WIPs here and see how they do it.

Will be happy to help. :slightly_smiling_face:

I will message you tomorrow and help you step by step.

1 Like

I am not much of a coder lol, still learning as I go. I would very much appreciate the help when you have time😊

1 Like

Took a look at your code!

Startup Arrangement

  1. Title
  2. Author
  3. Scene List
  4. *create
  5. Code/Narration
  6. *finish

Selecting a Character Name

This is a bit crazy:

*scene_list
    startup
    prologue
    prologuecont
    prologuecont2
    gendertest
    gendertest2
    nametest
    nametest2
    nametest3
    nametest4
    nametest5
    nametest6
    nametest7
    nametest8

What you’ve done is split every single choice and branch into a completely separate scene. The entirety of nametest7.txt, for example, is:

Your surname is ${lastname}, yes?
*choice
    #Yes, that's correct. 
        *goto_scene nametest7
    
    #No, I wish to change it.
        *goto_scene nametest5

And the rest are other variations on this, going through a laborious process of setting a character’s name through a maze of eight different files.

You can put the entire thing into startup.txt by just using labels instead of scenes (*label nametest5, for example) and *gotos instead of *goto_scenes. That alone will help your sanity. That said, your code for creating a name is super complex. Here’s the naming process I did it in my latest project:

Choose a name for your interpreter.

*fake_choice
  # Interpreter.
    *set name "Interpreter"
  # (About a dozen different examples to get a sense for the flavour of the world)
    *set name "_____"
  # I'd like to write my own name.
    Please write your name below.
        
    *input_text name
    
Your name is ${name}.

I wouldn’t bother asking for confirmation. I think it’s a weird convention to ask to confirm a character’s name but have every other choice in the game final and binding.

2 Likes

somebody else commented my code is really wacc lmao!! I definitely need to work on that and change it all to startup?? but at least I have an answer now. I honestly thought I had to make a scene for every single choice or else it would somehow skip it or go over it.

I have not quite mastered this coding, but I am still learning and this seems to be way more helpful than I imagined.

I’m using CSIDE and on startup, I cannot have *create anywhere else but at the very top of the startup. if I put it elsewhere on the page, the program doesn’t recognize it.

also, what is code/narration?

I would also like to know how I’m able to have it all on startup.

Here’s a truncated startup for Ansible Station 24 as an example.

truncated startup.txt
*title Ansible Station 24
*author William Loman
*scene_list
  startup
  introduction
  intermission_1
  downtime
  tier_one
  intermission_2
  tier_two
  intermission_3
  tier_three
  aftermath

*comment -MAIN CHARACTER-----------------------------------------

*create name "Interpreter"
*create nickname "Books"

*create gender 1
*comment 1: they/them
*comment 2: he/him
*comment 3: she/her

*create cases 0
*comment increment by 1 for each case completed

*comment -THE REST OF THE VARIABLES----------------------------------------------

*create etc etc etc

*comment -START--------------------------------------------------

*label start

*image as24.png left Ansible Station 24

War brews in the galaxy. In this sci-fi fantasy adventure, quietly work as an interpreter in a neutral space station assisted by a crew of diverse misfits. Welcome diplomats of the three major factions of the galaxy into your space station for tension-filled negotiations, where you act as a neutral interpreter and have the chance to subtly edit the meaning, tone, and intent of the diplomats’ words in order to stave off an impending galactic war for as long as possible. The fate of trillions is in your hands, and you’re not being paid nearly enough for your work.

Welcome to Ansible Station 24.

*choice
  # Foreword.
    *gosub foreword
    *goto_scene introduction
  # Chapter 1.
    *goto_scene introduction
  # Chapter 2.
    *gosub interpreter_details
    *gosub statview
    *page_break Begin Game
    *goto_scene intermission_1

*label foreword

(more code etc etc etc)

*return

unedited startup.txt, warning long
*title Ansible Station 24
*author author
*scene_list
  startup
  introduction
  intermission_1
  downtime
  tier_one
  intermission_2
  tier_two
  intermission_3
  tier_three
  aftermath

*comment -MAIN CHARACTER-----------------------------------------

*create name "Interpreter"
*create nickname "Books"

*comment Beckett Nickname: ${nickname} or Books
*comment Maverick Nickname: @{gender Frosty|Snowman|Ice Queen}
*comment June Nickname: Tiger
*comment Dahlia Nickname: Darling
*comment August Nickname: Teach
*comment Crete Nickname: Pushy
*comment London Nickname: Caramel
*comment Alex, Linda, Goliath, and Nightcrawler don't use nicknames. What about Minoa? Perhaps Interpreter.

*create gender 1
*comment 1: they/them
*comment 2: he/him
*comment 3: she/her

*create cases 0
*comment increment by 1 for each case completed

*create crescent_worlder false
*create autarch_noble false
*create afta_entrepreneur false

*comment -LANGUAGES----------------------------------------------

*create pingrit 3
*create lojit 1
*create fleschette 1
*create scythe 1

*comment 1: working fluency
*comment 2: professional fluency
*comment 3: native fluency

*comment afta: 3 3 1 2 (native logit, working fleschette, professional scythe)
*comment autarch: 3 2 3 1 (professional lojit, native fleschette, working scythe)
*comment crescent: 3 1 2 3 (working lojit, professional fleschette, native scythe)

*comment -CHARACTERS------------------------------------------

*create alex 0
*create august 0
*create beckett 40
*create crete 10
*create dahlia 0
*create goliath 40
*create june 20
*create linda 30
*create london 0
*create maverick 30
*create minoa 0
*create nightcrawler 30

*comment Might turn out differently, and I don't think it actually checks out that well or even at all, but I envision the values as having the following impact:
*comment 10 basically strangers
*comment 30 acquaintances
*comment 50 friends
*comment 70 best friends
*comment 90 would die for each other

*create family 0

*comment Family is a hidden stat that tracks your effort to reconcile with your estranged family. Afta entrepreneurs ignore this stat, as their backstory relationship is with Alex.

*create alex_count 0
*create august_count 0
*create beckett_count 0
*create crete_count 0
*create dahlia_count 0
*create goliath_count 0
*create june_count 0
*create linda_count 0
*create maverick_count 0
*create minoa_count 0
*create nightcrawler_count 0
*create family_count 0

*comment This counts how many private scenes you've had with each character.

*create alex_love 0
*create august_love 0
*create dahlia_love 0
*create june_love 0
*create beckett_love 0
*create minoa_love 0
*create london_romance false

*comment This is a separate counter for romantic attraction, rather than just friendship.

*create dahlia_beckett_romance false
*create june_august_romance false

*comment Some NPCs can romance each other.

*create august_ansible false
*create london_gender 1
*comment 1 nonbinary, 2 male, 3 female

*comment These are incidental romance-related variables.

*comment -SYMPATHIES---------------------------------------------

*create afta_sympathy 50
*create autarch_sympathy 50
*create crescent_sympathy 50

*comment -TENSION------------------------------------------------

*create tension 0

*create afta 0
*create autarch 0
*create crescent 0
*create case_tension 0

*comment the factions get reset to 0 every case but overall tension remains
*comment case_tension is a sum of afta, autarch, and crescent
*comment +5 tension if any faction rises above 50 in a case
*comment +5 tension if any faction rises above 75 in a case
*comment +5 tension if total equals 150 or more
*comment +5 tension if there is no case today

*comment -CASES--------------------------------------------------

*create case_random 1
*create current_case 0

*comment Tier 1: 1-10, Tier 2: 11-20, Tier 3: 21-30

*create case_1 false
*create case_2 false
*create case_3 false
*create case_4 false
*create case_5 false
*create case_6 false
*create case_7 false
*create case_8 false
*create case_9 false
*create case_10 false

*comment Tier 1 cases only appear if tension is less than 50%.

*create case_11 false
*create case_12 false
*create case_13 false
*create case_14 false
*create case_15 false
*create case_16 false
*create case_17 false
*create case_18 false
*create case_19 false
*create case_20 false

*comment Tier 2 cases only appear if tension is between 30% and 70%.

*create case_21 false
*create case_22 false
*create case_23 false
*create case_24 false
*create case_25 false
*create case_26 false
*create case_27 false
*create case_28 false
*create case_29 false
*create case_30 false

*comment Tier 3 cases only appear if tension is over 50%.

*comment -INCIDENTAL VARIABLES-----------------------------------

*comment various variables very relevant to the varieties of code of various varieties of scenes

*create scythe_explanation false
*create lounge_chats 0
*create party_count 0
*create personal_touch 1
*comment 1 A pet bearded dragon, St. George.
*comment 2 A virtual reality headset that turns your room into a trendy cafe.
*comment 3 A wall calendar: Bikini Babes of Berengar.
*comment 4 Fairy lights strung up, giving your room a magical glow.
*comment 5 A photorealistic sculpture of a 30-centimeter long phallus given to you by a friend as a joke.
*comment 6 A sitar that you never play.
*comment 7 A floor-to-ceiling poster of the boy band In Space No One Can Hear You Rock.
*create told_london false
*create backed_up_beckett false
*create alex_first false
*create alex_samuel false
*create london_jeanette false
*create dahlia_beckett false
*create talked_to_london false
*create spin_bottle 0
*create london_kiss false
*create minoa_inquiry false
*create london_drugs false

*comment -TESTING------------------------------------------------

*create statview true
*create implicit_control_flow true
*create testing false
*comment *sm_init Ansible Station 24 | 6

*comment EDITING
*comment testing true
*comment comment sm_init

*comment DASHINGDON
*comment testing false
*comment variable sm_init

*comment SUBMISSION
*comment testing false
*comment comment sm_init

*comment -START--------------------------------------------------

*label start

*image as24.png left Ansible Station 24

War brews in the galaxy. In this sci-fi fantasy adventure, quietly work as an interpreter in a neutral space station assisted by a crew of diverse misfits. Welcome diplomats of the three major factions of the galaxy into your space station for tension-filled negotiations, where you act as a neutral interpreter and have the chance to subtly edit the meaning, tone, and intent of the diplomats’ words in order to stave off an impending galactic war for as long as possible. The fate of trillions is in your hands, and you’re not being paid nearly enough for your work.

Welcome to Ansible Station 24.

*comment Foreword before Begin Game for Dashingdon and for Submission.

*fake_choice
  # Foreword.
    *gosub foreword
    *gosub statview
    
    *page_break Begin Game
    
    *goto_scene introduction
  # Chapter 1.
    *gosub statview
    *goto_scene introduction
  # Chapter 2.
    *gosub interpreter_details
    *gosub statview
    
    You will skip the Case of the Environmental Consultant Who Was Found Dead at the Bottom of a Mine Shaft.
    
    You will begin with the Case of the Terrorist Attack on the Station.
    
    *set tension 10
    *set cases 1
    *page_break Begin Game
    *goto_scene intermission_1
  *if (testing) # Feedback Request.
    *goto ending
  *if (testing) # Test Intermission 1.
    *gosub standard_stats
    *set autarch 15
    *set afta 15
    *goto_scene intermission_1 game_is_on

*label foreword

*image foreword.png left Foreword

Ansible Station 24 features four fictitious languages: Fleschette, Pingrit, Lojit, and Scythe. As with the depiction of any language (real or imagined) that is not the writer's native language, careful concessions need to be made when crafting a story that heavily features its use as a driving force of the plot. All four of the languages are replaced by English in this book, though there are obvious differences in how they are represented.

Pingrit is inspired by pidgin languages (in other words, languages simplified for easier understanding between diverse groups of people) used historically for international trade. It is represented in the book as modern English, though English's contemporary role as the language of international trade is a coincidence and not an intended inspiration. It is assumed by default that characters speak Pingrit if another language isn't specified or is otherwise obvious through context. Not reflected in its representation in modern English, the vocabulary of Pingrit is quite small compared to other languages. A limited vocabulary is not an indication that speakers of Pingrit are less intelligent. The same is true of all languages, real or fictitious.

Lojit, in this universe, started as a dialect of Pingrit and eventually became a more complex language, fully distinct from its origins. One of its inspirations is Lojban, a real-world constructed language (a language built from scratch, rather than evolving naturally over time) meant to follow clear, concise logical rules that remove ambiguity from speech. In practice, there is absolutely room for ambiguity (and beauty) in a language built for logic.

Fleschette is inspired by a combination of romance languages like French and Spanish and east-Asian pictographic writing, particularly Chinese and Japanese poetry. Various poetic techniques, like haikus, are sometimes used in the English representation of Fleschette. These are meant to capture how the language relies on careful use of grammar, register, metaphor, and rhythm to convey unspoken meaning; speakers of Fleschette do not literally use contemporary poetic structures in their speech. There are no Japanese haikus in Fleschette, but the poetic intent is similar.

Scythe is probably the language that most resembles real-world English and other widespread languages, in that it's extremely regional and requires heavy colloquial knowledge. Despite being written in English, the challenge of Scythe is the frequent untranslatable references to specific cultural touchstones and stories that the reader will not be familiar with. Context is usually given in the text for references to myths and shared concepts of this fictional culture. A similar concept, where local knowledge acts directly as a language barrier, was explored in the famous "Darmok and Jalad" episode of Star Trek: The Next Generation. As a real world example, the difference in the English spoken in London from the English spoken in rural Northern England is a good example of how the same language can drift dramatically over time and location.

In politics, interpreters have historically had an underappreciated role in diplomatic relations between countries. As Brian James Baer put it in his chapter Through the Cold War Lens in the book Framing the Interpreter, interpreters needed to become "a diplomat as well as a linguist." And yet, despite the critical role they play, their names do not traditionally appear in history books. The story of Ansible Station 24, of a world hurtling inexorably towards conflict, is told from the perspective of an interpreter. You are encouraged to embrace the mindset of someone who has massive influence without recognition. Whether you use this power for good or evil is up to you.

Thank you for reading through this foreword, and for your linguistic curiosity. I hope that the intent for how these fictional languages are represented comes through in the writing. Please enjoy this experiment in interactive fiction.

*return

*label ending

You've reached the end of the demo for Ansible Station 24! This story is still in the early stages of development, so your feedback will be extremely valuable.

- How many typos or mistakes did you spot, and where?
[n/]- Which character did you like the most, and why?
[n/]- Which faction has the moral high ground, in your opinion?
[n/]- Where do you see this story going?
[n/]- How would you describe Ansible Station 24 if you were to recommend it to others?


*ending

*label standard_stats
*set gender 1
*set afta_entrepreneur true
*set pingrit 3
*set lojit 1
*set fleschette 2
*set scythe 3
*return

*label interpreter_details

Choose a background for your interpreter.

*fake_choice
  # I'm a Crescent worlder.
    *set lojit 1
    *set afta_sympathy %-10
    *set fleschette 2
    *set autarch_sympathy %+10
    *set scythe 3
    *set crescent_sympathy %+50
    *set crescent_worlder true
    *set family 20
  # I'm an AFTA entrepreneur.
    *set lojit 3
    *set afta_sympathy %+50
    *set fleschette 1
    *set autarch_sympathy %-10
    *set scythe 2
    *set crescent_sympathy %+10
    *set afta_entrepreneur true
    *set alex 15
  # I'm an Autarch noble.
    *set lojit 2
    *set afta_sympathy %+10
    *set fleschette 3
    *set autarch_sympathy %+50
    *set scythe 1
    *set crescent_sympathy %-10
    *set autarch_noble true
    *set family 10

Choose a name for your
*if (autarch_noble)
  Autarch
*if (crescent_worlder)
  Crescent
*if (afta_entrepreneur)
  AFTA
interpreter.

*fake_choice
  # Interpreter.
    *set name "Interpreter"
    *set nickname "Books"
  # Winter. A Crescent name.
    *set name "Winter"
    *set nickname "Winnie"
  # Starchild. A Crescent name.
    *set name "Starchild"
    *set nickname "Starry"
  # Mallio. A Crescent name.
    *set name "Mallio"
    *set nickname "Mal"
  # Gaia. A Crescent name.
    *set name "Gaia"
    *set nickname "Books"
  # Jackrabbit. A Crescent name.
    *set name "Jackrabbit"
    *set nickname "Jackie"
  # Potamian. An Autarch name.
    *set name "Potamian"
    *set nickname "Tammie"
  # Abram. An Autarch name.
    *set name "Abram"
    *set nickname "Abe"
  # Cyricus. An Autarch name.
    *set name "Cyricus"
    *set nickname "Ciri"
  # York. An Autarch name.
    *set name "York"
    *set nickname "Books"
  # Constantinople. An Autarch name.
    *set name "Constantinople"
    *set nickname "Connie"
  # Micah. An AFTA name.
    *set name "Micah"
    *set nickname "Mick"
  # Sydney. An AFTA name.
    *set name "Sydney"
    *set nickname "Syd"
  # Jean. An AFTA name.
    *set name "Jean"
    *set nickname "Books"
  # Ash. An AFTA name.
    *set name "Ash"
    *set nickname "Books"
  # Taylor. An AFTA name.
    *set name "Taylor"
    *set nickname "Tay"
  # I'd like to write my own name.
    *set nickname "Books"
    Please write your name below.
    
    Crescent names draw inspiration from the natural world, the seasons, and astrology. Autarch names are taken from historical figures, cities, and civilisations from ancient Earth. AFTA has its own unique naming conventions which in this story have been anglicised into English names from modern Western countries.
    
    *input_text name

Choose $!{name}'s pronouns.

*fake_choice
  # My pronouns are they/them.
    *set gender 1
  # My pronouns are he/him.
    *set gender 2
  # My pronouns are she/her.
    *set gender 3

*return

*label statview

*page_break

Do you wish to see updates when your stats increase or decrease?

If you say yes, there may still be some stat updates that are kept secret from you.

If you say no, there may still be some stat updates that are shown to you: most notably, tension reports and case summaries.

You can view your stats at any time by clicking "show stats". Stat updates won't tell you exact numbers, so you should occasionally check the stats screen regardless.

*fake_choice
  # Yes, I want to see stat updates when possible.
    *set statview true
  # No, I don't want to see stat updates when possible.
    *set statview false

*return
1 Like

thank you for the example, but I am still a bit lost with some of the words for the code and when to use what.

Check out some of the tutorials and resources and follow them closely. Make a big document outlining useful information and add to it as you go.

1 Like

thank you very much once again!! this has been insanely informative for me😊

That’s okay! Sorry for the late reply too.

Like Fat_cat and will said, it will make things a lot easier to put all the character creation choices in one scene file. It’s up to you if you want to include it in the prologue or the startup file.

The important thing about startup is that all the create variable commands will need to be somewhere at the top, but once that’s done, you can put whatever you want afterwards, like a short narration or an introduction to your story.

Had a look at your files and I have two things to note:

Be very careful with capitalisation when it comes to variables. I noticed that in gendertest.txt, you capitalise each gender:

    #Male (your pronouns will be [i]he[/i], [i]him[/i], [i]his[/i])
        *set gender "Male"

But the *if commands in nametest.txt are just normal case.

*if (gender="male")
   *goto male_name
   *label male_name
   *fake_choice

This is why the name choices were skipped. I would suggest using no capitalisation in most cases where you need variables. You can always use an exclamation mark like $!{he}, to turn he into He.

Also, when the text confirms your last name (nametest7), it loops because the next scene is supposed to be nametest8, not nametest7.

1 Like

thank you for being very patient and helping me out once again!! the capitalization definitely was the culprit and I’ve fixed it. its running smoothly. (and I didnt know the ! was to capitalize! really kind of you. everyone here is so nice, like, I’m grateful for your help🥺

now as for putting all your choices on one page alone; how would I begin to do that and make sure the choices can be attached to the story??

You’re welcome once again :slight_smile: Do note that *scene_list in startup only refers to the text files, not every individual scene (in the sense of a paragraph, page, choice, etc) that could exist in the story. You can have as many of those as you like in one file, putting one choice after another. Everything should show up as long as the file is listed in startup.

You can always use *fake_choice to make sure it automatically moves to the next bit of narration or choice afterwards. You can add a *goto under a fake choice to direct it to a specific part of the file if need be.

1 Like

Here it is. @SweetRoll

It’s not perfect, but it won’t make you go crazy.

It's the deep of the night and you stand in a large clearing, facing the edge of the forest. It must be about 50 feet away. Not far, not close. A soft breeze blows against your skin ever so gently, carrying the scent of magnolias. You look up to see the full moon above. You watch as rays of light cast an ethereal glow upon the entrance of the forest just within reach. Ever closer. 

You've never been here before and yet this place feels so familiar. There is a pull of sorts, dragging you closer until you reach a stalemate. Neither of you moves.

There you stand, less than five feet from the forest, staring into the abyss of bark and leaves. Moonlight flitters through the foliage. A silent flood of fog eddies at your ankles, coming from within the forest. Beyond the grove lies Êtonne. The trees sing a soft lullaby with its leaves, its branches beckoning you to enter.

Betwixt the moonlight and the trees conversation, who could resist the welcoming forest? 

*fake_choice
    #I take a step forward. I feel welcomed. 
        *set distrustful -5
        Entranced, you take a step forward, the snapping crunch of fallen leaves and twigs beneath your feet. The soft light from the moon dims inside the forest.
    #I refuse to go further. This doesn't feel right. 
        *set distrustful +5
        There is something unsettling and you turn from the forest. In the midst However, you feel something pull you in. 
        
Were there clouds tonight? you think, however, you must run towards the light as it dissipates faster. Before you realize, you are jumping over gnarled tree roots.

filler bs ill deal with later
*page_break
What is your gender? 

*fake_choice 
    #Female (your pronouns will be [i]she[/i], [i]her[/i], [i]hers[/i])
        *set gender "female" 
        *set he "she" 
        *set him "her"
        *set his "hers" 
        *set man "woman" 
        *set sir "ma'am"        
    #Male (your pronouns will be [i]he[/i], [i]him[/i], [i]his[/i])
        *set gender "male"
        *set he "he"
        *set him "him"
        *set his "his"
        *set man "man" 
        *set sir "sir" 
    #Nonbinary (your pronouns will be [i]they[/i], [i]them[/i], [i]theirs[/i])
        *set gender "nonbinary"
        *set he "they"
        *set him "them" 
        *set his "theirs"
        *set man "person" 
        *set sir "mx" 
        *set pronoun "they" 
        *set plural true
        
"${He} @{plural don't|doesn't} want to go."
*goto names


*label names
*page_break
What is your given name?
*if (gender="male")
    *fake_choice
        #Alain
            *set firstname "Alain"
            *goto surname
        #Gérard
            *set firstname "Gérard"
            *goto surname
        #Constantin
            *set firstname "Constantin"
            *goto surname
        #Vasco
            *set firstname "Vasco"
            *goto surname
        #Joaquín
            *set firstname "Joaquín"
            *goto surname
        #Rodrigo
            *set firstname "Rodrigo"
            *goto surname
        #Neither of these are my name.
            *input_text firstname
            *goto surname

*if (gender="female")
    *fake_choice
        #Éliane
            *set firstname "Éliane"
            *goto surname
        #Angèle
            *set firstname "Angèle"
            *goto surname
        #Joséphine
            *set firstname "Joséphine"
            *goto surname
        #Calista
            *set firstname "Calista"
            *goto surname
        #Tatiana
            *set firstname "Tatiana"
            *goto surname
        #Estefanía
            *set firstname "Estefanía"
            *goto surname
        #Neither of these are my name.
            *goto input_name

*if (gender="nonbinary")
    *fake_choice
        #Claude
            *set firstname "Claude"
            *goto surname
        #Fauste
            *set firstname "Fauste"
            *goto surname
        #Léonide
            *set firstname "Léonide"
            *goto surname
        #Argenis
            *set firstname "Argenis"
            *goto surname
        #Elian
            *set firstname "Elian"
            *goto surname
        #Lucero
            *set firstname "Lucero"
            *goto surname
        #Neither of these are my name.
            *goto input_name
            
*label input_name
Type your name.
*input_text firstname
Your name is ${firstname}, correct? 
*fake_choice
   #That is correct.
     *set firstname "${firstname}"
     *goto surname
   #No, I wish to change it..
     *goto input_name
 
*label surname            
What is your surname?
*comment, add a few more spanish and french lastnames
*fake_choice
    #Alvarado
        *set lastname "Alvarado"
        *goto s1
    #Let me write my own last name.
        *goto lastname
    
*label lastname
*input_text lastname
Your surname is ${lastname}, yes?
*fake_choice
   #Yes, that's correct.
     *set lastname "${lastname}"
     *goto s1
   #No, I wish to change it.
     *goto lastname
        
*label s1
Your name is ${firstname} ${lastname}. 
You are a private investigator.

*ending

And always use *fake_choice.

*choice is so annoying.

From how I remember *choice always has to end with *finish or something like that and always has to go somewhere. *goto

But with *fake_choice, you don’t have to worry about all of that.

2 Likes

I managed to put my prologue on one whole page and made note to add *finish or *page_break so now it’s logged altogether on one screen. if I may ask, whats the difference between *choice and *fake_choice? I know they’re not the same but are they not similar?

1 Like

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.