Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Text Script Base - TextScriptBase.js
Plugin desc : Text Script Base Plugin
License :
・Follow the RPG Maker Series EULA only.
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
Author : triacontane
Website : https://www.rpgmakerweb.com/products/rpg-maker-mz
Download Page : C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginsofficial TextScriptBase.js
File name : TextScriptBase.js
Help of plugin :
* @target MZ * @plugindesc Text Script Base Plugin * @author triacontane * @base PluginCommonBase * @beforeThan PluginCommonBase * * @param TextList * @text Text Base List * @desc List of registered text and scripts. * @default [] * @type struct<TextItem>[] * * @command CHANGE_TEXT * @text Change Text * @desc Replaces text with the specified identifier with other text. The change state is saved in a save file. * * @arg Id * @text Identifier * @desc An identifier that uniquely designates text. * * @arg Text * @text Text * @desc The text after change. * @default * @type multiline_string * * @help TextScriptBase.js * * This is a database that can register and manage multi-line strings such as text and scripts. * Registered text can be referenced with the following control codes. * ¥tx[aaa] // Swaps in the text registered with identifier [aaa]. * ¥js[bbb] // Evaluates the text registered with identifier [bbb] as a script on the spot * and is swapped out for the results. * * When executing scripts, the plugin can pass arguments. * Arguments are automatically type converted, and can be referenced from the "args" array. * ¥js[bbb,10,ccc] // Array [10, 'ccc'] is stored in variable args. * * Scripts can also be directly entered and embedded. * ¥js<xxx> // Is replaced by the execution results of script xxx. * * However, you will need to escape as shown below when symbols "<" or ">" * are used in scripting. * > : > * < : < * * The situations where control characters can be used are as follows. * -Text display * -Notes field (*) * -Plugin command (*) * -Plugin parameter (*) * -Explanation fields for skills, etc. * *Only for plugins that take PluginCommonBase.js as a base. * * This plugin allows you to easily register and call frequently used scripts and text, * and configure long strings even when the database input field is restricted.