Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Thank you for your reply!!

On one of the saves where I can consistently see the issue, the fallback choice looks like this:

*   {save_choice_count()}-> recommendation

where {save_choice_count()} always returns true. (To clarify, the issue also happens on other fallback choices that do not have a conditional in front of them, this is just one that I have a save file for.)

I thought the issue might have been space related, which is why there’s no space between } and -> (I usually have one). I also tried removing the spaces before {save_choice_count()}, but that didn’t work either.

Another thing I tried was adding in a CHOICE_COUNT()==0 check, and this did not work either.

My project can be found here, https://zorkie.itch.io/qdrp – and I’d be happy to share more code if it’s of help?

I hope you have a great day too :)

Your game looks lovely. I want to play it thoroughly.

I'm investigating. First of all, let's rule out that the unexpected behaviour could be on the Ink layer. Can you send me a part of the .ink source where the fallback choice is used?

I'm a bit surprised by the conditional in a fallback choice. Fallback choices are used when the choice pool is depleted, what do you expect to happen if the conditional is false?

Thank you so much for saying so!!

The section that has the fallback is quite long (it has 16 choices, most of them with nested choices beneath them and most of them gated by conditionals), but here are a few that are above the fallback (with the nested sections removed because I would likely max the character count otherwise):

*   {CHOICE_COUNT()<3 and f_stress} [worries]
        Jin "You're worried about { beauty:losing your beauty{ fears: and letting others down}|letting others down}? # jin sympathetic # clinic quiet
        Florence nods. # flo downcast
        Florence "That's about right.
        
*   (party) {CHOICE_COUNT()<3 and ellis} [Ellis]
        Jin "How did you meet Ellis? # jin neutral # clinic quiet
        Florence smiles and her gaze wanders, seeing a time gone by. # flo shy
        Florence "We were at Dancing Arcs, a semi-annual evening party. The sun was setting and they had arranged prisms around the room to catch the light.
        Florence "A friend introduced us, and we hit it off.
        She laughs softly. # flo laugh
        Florence "He's awfully charming, and he did small things that exhibited a considerate heart. We started meeting up after that and he grew fond of me.
        Florence "My parents were so pleased. Ellis's father is well respected and Ellis himself is a perfect gentleman. # flo smile
        ~ f_clues++

*   {CHOICE_COUNT()<3 and fears2} [addressed worries?]
        Jin "Have you spoken to anyone about your worries? # jin concerned
        Florence drops her gaze but I catch the forlornness in her expression. # flo downcast
        { 
            - f_trust>5:
                Florence "I did once. It was a mistake. # flo neutral
            - else:
                Florence "They're only simple concerns, not worth worrying others. # flo smile
        }

*   {CHOICE_COUNT()<3 and CHOICE_COUNT()>0} [next phase] <> -> recommendation

*   {save_choice_count()}-> recommendation

Oh so the fallback choice always returns true. It’s there so I can check how many choices are left in the conversation when I move to a different section (if there’s enough left, you come back to these questions; otherwise, you move on).

Here’s the function that’s being called,

=== function save_choice_count() ===
~ choice_count = CHOICE_COUNT()
~ return true

But the issue with the blank choice on loading happens even with normal fallbacks that don’t have any conditionals on them. (I just don’t have a save file currently that recreates the bug, unlike for this fallback with the conditional.)