Visible Chapters Based on different variables?

Discussion in 'Site Feedback' started by sexybjgal69, Sep 15, 2024.

  1. sexybjgal69

    sexybjgal69 Virgin CHYOA Backer

    In CHYOA will there ever be the option to have a single chapter visible based on different variables? For example: A Chapter is titled "Miss Williams flirts with three of the teachers." Conditions needed is say a 60% Lust Variable X but the chapter is also visible if say a different variable --for example: "Trait: Slut" were to be True? Otherwise, it is necessary to create duplicate chapters and link them. In the future would it be possible to basically have chapters like this? Maybe there is a way but I am unfamiliar with it, which is totally possible.
    Basically having an If X or Y or Z condition is met A chapter is visible. This would allow for more variables in play without repeating chapters/linking overload.

    I hope this can be implemented!
     
    HaremStarter likes this.
  2. bejjinks

    bejjinks Really Experienced

    I have already asked this question and the answer is, there is no "or" in the game mechanics and there probably won't be for a long time. There are a few other features that CHYOA is considering but might never implement. Read https://forum.chyoa.com/threads/game-variable-discussion.5978/ for further discussion.
     
  3. gene.sis

    gene.sis CHYOA Guru

    I think it is unlikely that there will be a feature that allows conditions with OR directly.

    Though there were features planned where you could precalculate a condition switch in the previous chapter with a score change like
    Code:
    chapterSwitch = if(or(lust >= 60; slut = true); 1; 2)
    and then use
    Code:
    chapterSwitch = 1
    for the chapter and
    Code:
    chapterSwitch = 2
    for another chapter.

    Currently, you need two chapters
    Code:
    Chapter 1.1
        Chapter 2.1 (landing pad): Miss Williams flirts with three of the teachers. condition lust > 59
        Chapter 2.2 (links to 2.1): Miss Williams flirts with three of the teachers. condition slut = true