Resolved - *selectable_if error


#1

So this appears to have worked fine up until now, but testers appear to be reporting a new error:

They select Animals of Mara in the stats page code below, then receive the error message:

Line 128 is the line at the bottom
*selectable_if (showchapterscenetransfer = 0) #Basis for the world of Eris.

I have gone a bit code blind - but 1. this looks fine to me. 2. that *selectable_if error should be appearing on entry to the stats page, not when you open an unrelated choice . . .

*choice
  *selectable_if (chapterscene = 00) #Return to a chapter you've read.
    *goto chapterreturn
  *selectable_if (showchapterscenetransfer = 0) #Your timeline.
    *line_break
    [b]Your timeline[/b]
    [i]Ascension of the Aegis (AA)[/i]
    *line_break
    *stat_chart
      text AA_1134
    *line_break
    *stat_chart
      text AA_1137
    *line_break
    *stat_chart
      text AA_1139
    *line_break
    *stat_chart
      text AA_1146
    *line_break
    *stat_chart
      text AA_1147
    *line_break
    *stat_chart
      text AA_1148
    *line_break
    *stat_chart
      text AA_1149_i
    *line_break
    *stat_chart
      text AA_1149_ii
    *line_break
    *stat_chart
      text AA_1149_iii
    *line_break
    *stat_chart
      text AA_1149_iv
    *line_break
    *stat_chart
      text AA_1149_v
    *line_break
    *stat_chart
      text AA_1151_i
    *line_break
    *stat_chart
      text AA_1151_ii
    *line_break
    *stat_chart
      text AA_1151_iii
    *page_break
    *goto pathofembers

  *selectable_if (showchapterscenetransfer = 0) #Animals of Mara.
    [b][i]Scylla[/i][/b]
    *line_break
    Palm-sized river spider that lurks in darkness. Hunts by paralyzing and displaying brightly coloured fish between its forelegs, attracting 'mates' into its reach and then preying upon the romantic.
    *line_break
    [i]Associated personality types: subtle, poisonous, charismatic[/i]

    [b][i]Courser[/i][/b]
    *line_break
    Light, fast and strong. Horses prized in the Lydian states, where young girls and boys undertake risky journeys to the Arrantine Plains to capture the noblest and wildest mares and stallions. 
    *line_break
    [i]Associated personality types: noble, social, headstrong[/i]

    [b][i]Wolf[/i][/b]
    *line_break
    Overhunted and rarely found, the wolves of the Endish Peninsula are only seen in great numbers on the eastern side of the Red River, in the area known as the Barrens.
    *line_break
    [i]Associated personality types: independent, loyal, patient[/i]

    [b][i]Dormouse[/i][/b]
    *line_break
    Small and agile furred rodent with large eyes, small claws and little sense of territoriality - except in the mating season. Frequently found foraging in the boughs of trees or sleeping in their nests.
    *line_break 
    [i]Associated personality types: kind, joyful, non-confrontational[/i]

    [b][i]Jewelled Panda[/i][/b]
    *line_break
    Enigmatic, semi-tame and sometimes dangerous, the jewelled panda is highly celebrated in Arantine sound and song as it's rich varicoloured fur compliments their ritual dance and display.
    *line_break 
    [i]Associated personality types: proud, wilful, dominant[/i]

  *selectable_if (showchapterscenetransfer = 0) #Basis for the world of Eris.
    *goto basis
  *selectable_if (showchapterscenetransfer = 1) #Please click 'Return to game'.
    *goto loop

#2

I’m really sorry, I’ve just realised there’s no *page_break and *goto between the Animals of Mara section and the other *selectable_if 's in the *choice

Apologies - will mark the post as resolved


#3

I was thinking you were missing a *choice as well… unless I’m completely misreading this whole thing. Granted I’m low on sleep.

Edit: Oh you resolved it before I could post haha. My posting reflexes seem to have dulled. Used to be able to ninja most people…


#4

Thanks @NeoHeartless seems to be working as intended now - apologies for demanding attention then resolving!

I am clearly also low on sleep :confused:


#5

That’s good. We sleep-deprived coders have to watch each others backs! Cheers.