Two substitutions in a row

I don’t think Godot likes it when you type “%s” twice in a row. Immediately after I tried, the result was:

var story = "That will teach you to rush a %s armed with a %s %s! You munch on a %s, feeling very %s indeed."

var prompt = ["noun", "adjective," "noun", "food", "feeling"]

error (7, 41): ',' or ']' expected

Help is very much appreciated!
Now I see that it was actually a misplaced comma.

Privacy & Terms