//============================================================================= // UsableCarriageReturn.js // ---------------------------------------------------------------------------- // Copyright (c) 2015 Triacontane // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // ---------------------------------------------------------------------------- // Version // 1.0.0 2016/05/09 初版 // ---------------------------------------------------------------------------- // [Blog] : http://triacontane.blogspot.jp/ // [Twitter]: https://twitter.com/triacontane/ // [GitHub] : https://github.com/triacontane/ //============================================================================= /*: @url https://triacontane.blogspot.com/ @plugindesc Plugin that can use line break codes @author Triacontane @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/triacontane-MV-plugins ). Original plugin by Triacontane. Please check the latest official version at: https://triacontane.blogspot.com ----- You can now use line breaks anywhere in a window. Enter "\n" wherever you want to create a line break in the database or message window. This is primarily used when you want to enter a third line in the database description or profile field. It works in all windows. This plugin does not have any plugin commands. Terms of Use: You may modify and redistribute this plugin without permission from the author, and there are no restrictions on its use (commercial, 18+, etc.). This plugin is now yours. */ /*:ja @plugindesc 改行コード使用可能プラグイン @author トリアコンタン @help ウィンドウ中の任意の箇所で改行コードが使用可能になります。 データベースやメッセージウィンドウで改行したい箇所に「\n」と入力してください。 主にデータベースの説明やプロフィール欄に3行目を入力したい 場合に使用します。 すべてのウィンドウで有効です。 このプラグインにはプラグインコマンドはありません。 利用規約: 作者に無断で改変、再配布が可能で、利用形態(商用、18禁利用等) についても制限はありません。 このプラグインはもうあなたのものです。 */ (function () { 'use strict'; var _Window_Base_processEscapeCharacter = Window_Base.prototype.processEscapeCharacter; Window_Base.prototype.processEscapeCharacter = function (code, textState) { _Window_Base_processEscapeCharacter.apply(this, arguments); switch (code) { case 'N': this.processNewLine(textState); textState.index--; break; } }; })();