Hi all,
I've created a 'Template String' plugin.
Source:
https://github.com/hajimehoshi/rpgmmv/blob/master/HajimeHoshi_TemplateString.js
Screen Shot 1 (editor):
[IMG]https://i.gyazo.com/975ae1ac124b0a308c6613dfb2a4fc07.png[/IMG]
Screen Shot 2 (result):
[IMG]https://i.gyazo.com/641ec82e0131d32ebcd044116ff4032c.png[/IMG]
You can use ${[JavaScript literal]} at a text message. Template Strings are evaluated ahead of resolving escape characters (like \N[...]).
This template string is NOT compatible with ES6 template literal. For example, in this template string, braces ('{' and '}') must be paired, but ES6 doesn't require that.
Enjoy!
RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.