Invalid option conflict


#1

I am writing a scene which involves a playground jump rope (or skipping) mini game. The game is based entirely on chance and the options look identical to the player.

Example:

*choice
	#Jump!
		*goto jump_1
	#Jump!
		*goto jump_1
	#Jump!
		*goto jump_fail
	*if luck = 2
		#Jump!
			*goto jump_1

Although the scene has passed the quicktest, when attempting to play it through myself I am getting this error:

skipping line 393: Invalid option; conflicts with option ‘Jump!’ on line 391

Thoughts are appreciated.

Thanks in advance!


#2

You can’t use the same text for two different options. Add a ! and it should work.


#3

Thanks @MeltingPenguins I figured that was the issue, but I was hoping there was a work around. Good suggestion, much appreciated.


#4

The easier alternative would be working with the *rand command, but be warned: people hate that when it keeps them from progressing.


#5

This should work:

*temp jump1 "Jump!"
*temp jump2 "Jump!"
*choice
	#Jump!
	#${jump1}
	#${jump2}

or

	#Jump![b]
	#Jump![i]

The [b] and [i] are for bold and italics, but it should appear invisible since there’s no preceding text. But if you need three or more, do the temp variable thing. Or you could also put the whole word in bold/italics. That’s much simpler.


#6

Honestly, this is still pretty random… :sweat_smile: I guess it’s fine if it’s just for flavour text, but if this jump scene has actual consequences, I certainly wouldn’t recommend doing it like this…


#7

Interesting idea @Franzinyte, I never would have thought of that!


#8

I’ve been using the *rand command a lot for different things around the playground, but I wanted to try something different :slight_smile: