//============================================================================= // MPP_MiniMap.js //============================================================================= // Copyright (c) 2017 - 2022 Mokusei Penguin // Released under the MIT license // http://opensource.org/licenses/mit-license.php //============================================================================= /*: * @target MV MZ * @plugindesc Display the minimap on the screen. * @author Mokusei Penguin * @url * * @help [version 4.3.1] * This plugin is for RPG Maker MV and MZ. * * ▼ Plugin command * - In MV, the variable N is referred to by writing 'v[N]' in the item for * inputting a numerical value. * - In MZ, in the item to enter a numerical value, select the text and * write 'v[N]' to refer to the variable N. * * 〇 MV / MZ * * 〇 ShowMinimap index / show * index : number(0:Hide) * - Display the minimap. * - The display position and size set in the plug-in parameter * [Display Positions] are applied. * * 〇 SetMinimapZoom zoom / setZoom * zoom : magnification(-1:Whole, 0:Default / 1x at 100) * - Only change the magnification of the minimap display. * * 〇 AddMarker x y m tag / addMarker * x : X coordinate * y : Y coordinate * m : Marker string * tag : tag(Arbitrary value / Not set:0) * - Place a marker at the coordinates (x, y) of the current map. * - Tags are used when deleting. * * 〇 RemoveMarker tag / removeMarker * tag : tag * - Deletes all markers for the specified tag. * * 〇 RemoveMarkerXy x y / removeMarkerXy * x : X coordinate * y : Y coordinate * - Delete the marker at the coordinates (x, y) of the current map. * * ▼ Map notes * 〇 * - Specifies the file name of the minimap image for this map. * - Put the image files in img/pictures. * * 〇 * - Sets the initial value for the minimap magnification for this map. * - The variable N is referenced by writing 'v[N]'. * * ▼ Event notes * 〇 * - Set markers for this event. * * ▼ [Comment] of the execution content of the event * 〇 MinimapMarker m * - Set a marker for the event when the EV page is displayed. * - If is set, this will be prioritized. * * ▼ Marker designation * - Markers are specified as a combination of strings and numbers. * TCO * T = * C = * O =