Linebreaks are "\n". You can't insert real linebreaks in JSON files, since that causes them to break, but i might give you the option to supply an array of strings, instead, which get automatically joined with linbreaks, like i did for my Note Files plugin.
I don't fully get, what you mean by "wrap the test", though.
@Iavra: by wrap the text, what ismeant is an automatic line break when text reaches the width of the window, mandatory if the game changes size.
Let us imagine the game size is 500 by 500. You add \n around the text to fit that. Now what happens if the game changes to 800 by 800?
It's why word wrapping is just a standard these days, you shouldn't have to add \n unless it is a new paragraph or sentence.
In any case, I'll check the actual plugin out later.
The json is parsed by the engine though, Yanfly et al have word wrapping scripts for text boxes already. Everything in the engine is basically either a json or js file. I believe text boxes are in json files, but I haven't used MV enough to dig into that. It is possible, though.
Well, you can, like this:
var achievements = IAVRA.ACHIEVEMENT.achievements();for(var i = 0, max = achievements.length; i < max; ++i) { if(achievements.id === 'Your id here' && achievements.completed) { return true; }};return false;This is basically, what the API function will do internally, anyway. Only less to write ^^About all that text wrapping etc: This is why i hate doing GUI or graphical stuff...background systems are much easier to do, since you don't have to care about aesthetics or screen resolution ^^