Is there a way to add variables to a story?

Discussion in 'CHYOA General' started by TheWriteStuff, Jan 13, 2021.

  1. TheWriteStuff

    TheWriteStuff Virgin

    I created a story with three variables, but now I want a fourth. Is there a way to add more that I am missing?
     
  2. moonblack

    moonblack CHYOA Guru

    Do you mean the immersion variables? If so, I think you need to edit the story (similar to when you want to change the story description).
     
  3. TheWriteStuff

    TheWriteStuff Virgin

    Are immersion variables the ones that allow names to be changed by readers? Then yes. I can't figure out how to do that.
     
  4. moonblack

    moonblack CHYOA Guru

    Go to "My Sotries", find the story you want to edit, and click on the three vertical dots on the right. From there choose Edit story. The rest should be easy to figure out.
     
    insertnamehere and gene.sis like this.
  5. TheWriteStuff

    TheWriteStuff Virgin

    Thank you. I couldn't figure out how to get to the story edit, I just kept getting to the chapter edit.
     
  6. Walter Dee

    Walter Dee Virgin

    What about if you want to add a variable for a character's age and you want to limit the entry to a certain range, e.g. {daughters_age} must be 18 or older AND younger than 20? Or, {sisters_age} must be 18 and older AND 2 years younger than {brothers_age}?
     
  7. gene.sis

    gene.sis CHYOA Guru

    That is only possible with game mode variables.
     
    insertnamehere likes this.
  8. insertnamehere

    insertnamehere Really Really Experienced

    As gene.sis suggested, you can use game mode - have a decision point like, "Is the daughter 18 or 19?" and record that as her age.

    If you're concerned about breaking rule 1, ages may be stored as immersion variables so long as the default age is 18 or greater, the story is not written in such a way that otherwise suggests the character is under 18 (appearance, behaviour, circumstances), and readers aren't encouraged, explicitly or implicitly, to set the age to be lower than 18.
     
    gene.sis likes this.
  9. Walter Dee

    Walter Dee Virgin

    Where is the documentation for game mode and immersion variables?
     
  10. gene.sis

    gene.sis CHYOA Guru

    insertnamehere likes this.
  11. Walter Dee

    Walter Dee Virgin