Allow saving new branches via Lua?
Surprisingly, as far as I can tell, there's not a way to create a new branch past slot 10 via Lua. To me, there should be an explicit function that creates a new branch like the + button in TAStudio.
If there is a way, it's not well-documented. savestate.save is seemingly ignored by TAStudio. savestate.saveslot can save up to ~~10 branches~~ 9 branches, but anything outside of the range 1 to 10 is rejected.
And then there is tastudio.setbranchtext(string text, [int? index = nil]) which "adds the given message to the existing branch, or to the branch that will be created next if branch index is not specified". For a better API, queued naming seems like it should be deprecated in favor of a parameter in a branch creation function.