RutgersGRID / CYOA_Game_Package

new repo for WebGL Build
0 stars 0 forks source link

Feature Request: Default action to "a" if nothing is listed in the 'type' column #15

Open themaka opened 3 months ago

themaka commented 3 months ago

As a user or dev, I'd want to have the action column default to the non-choice option ("a") when nothing is entered, so it does not break the game.

skipped_lines

As you can see, line 5 is missing the "a" in the _type_ column, and this causes the game to display that line incorrectly (it showed the text from line 4 instead).

Defaulting to "a" would mean the error wouldn't happen, however, there's the potential that it will confuse people.

An even more advanced version of this fix would be to lose the column completely, and always assume the default action is to jump to the listed "ID" in "GoToID" unless there's something listed in the "A1Answer" column.

themaka commented 3 months ago

Some more detail on the advanced version of this feature request.