// DarkPlasma_MapNameOnSave 1.0.3 // Copyright (c) 2021 DarkPlasma // This software is released under the MIT license. // http://opensource.org/licenses/mit-license.php /** * 2024/03/17 1.0.3 TypeScript移行 * 2021/07/05 1.0.2 MZ 1.3.2に対応 * 2021/06/22 1.0.1 サブフォルダからの読み込みに対応 * 2021/03/13 1.0.0 公開 */ /*: @target MZ @url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release @plugindesc Display map name on save/load screen @author DarkPlasma @license MIT @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/DarkPlasma-MZ-Plugins ). Original plugin by DarkPlasma. Please check the latest official version at: https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release ----- version: 1.0.3 Displays map names on the save/load screen. */ /*:ja @plugindesc セーブ・ロード画面にマップ名を表示する @author DarkPlasma @license MIT @target MZ @url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release @help version: 1.0.3 セーブ・ロード画面にマップ名を表示します。 */ (() => { 'use strict'; const _DataManager_makeSavefileInfo = DataManager.makeSavefileInfo; DataManager.makeSavefileInfo = function () { const info = _DataManager_makeSavefileInfo.call(this); info.mapName = $gameMap.displayName(); return info; }; const _Window_SavefileList_drawContents = Window_SavefileList.prototype.drawContents; Window_SavefileList.prototype.drawContents = function (info, rect) { _Window_SavefileList_drawContents.call(this, info, rect); this.drawMapName(info, rect.x, rect.y, rect.width); }; Window_SavefileList.prototype.drawMapName = function (info, x, y, width) { if (info.mapName) { this.drawText(info.mapName, x, y, width, 'right'); } }; })();