• I Cast Fist@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    So, 17k loose “if” statements defining if some single sentences will pop up during the ending scene.

    • if player has killed love interest -> And the love interest remained dead
    • if player has killed love interest AND ressurrected -> And the love interest died, but got better
    • if player has NOT killed love interest -> And the love interest never died, just as their love

    etc etc

    • Vordus@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      You don’t even need that many ‘if’ statements. If you’re stringing together a sequence of cause and effect binary decisions (as so many RPGs are wont to do), then you only need 14 of them to get over 16,000 possible combinations!