├── MNKR_AltMenuScreen2MZ.js ├── MNKR_ChoiceColsMZ.js ├── README.md ├── LICENSE.md ├── MNKR_GoldNoWindow.js ├── MNKR_ShowEventsTransition.js ├── MNKR_HideLevel.js ├── MNKR_TowardPlayer.js ├── MNKR_StopShakeOnDamage.js ├── MNKR_DeadPenalty.js ├── MNKR_PartyCommandCancel.js ├── MNKR_OnlyBattleTpMZ.js ├── MNKR_SelectMaxRows.js ├── MNKR_GoldIcon.js ├── MNKR_MaxBattleMembers.js ├── MNKR_OnceAnimation.js ├── MNKR_MaxSave.js ├── MNKR_ShareExp.js ├── MNKR_HideSkill.js ├── MNKR_LearnRandomSkill.js ├── MNKR_TouchMoveSwitch.js ├── MNKR_EnemyStateIconOffset.js ├── MNKR_TitleRandomImage.js ├── MNKR_LeaderSpeed.js ├── MNKR_TitleCommandRows.js ├── MNKR_SkipSkillScope.js ├── MNKR_SwitchBattleLog.js ├── MNKR_SwitchGameoverMusic.js ├── MNKR_ItemLimitActor.js ├── MNKR_WeaponSlotNameMZ.js ├── MNKR_ReplaceMenu.js ├── MNKR_SwitchPointer.js ├── MNKR_FixEscapeMoveDistance.js ├── MNKR_SwitchSave.js ├── MNKR_MovePictureSwitchMZ.js ├── MNKR_AltSkillMenuMZ.js ├── MNKR_ChangeEnemyHueMZ.js ├── MNKR_SwitchMessageSpeed.js ├── MNKR_SyncPlayerStep.js ├── MNKR_SurviveState.js ├── MNKR_ProhibitSkill.js ├── MNKR_BattleStatusMaxColsMZ.js ├── MNKR_TMTopFixMZ_DarkPlasma_FormationPatch.js ├── MNKR_OpenWindowLinks.js ├── MNKR_AddTitleLink.js ├── MNKR_SelectCollapseSe.js ├── MNKR_PartyCommandSkipMZ.js ├── MNKR_SwitchSell.js ├── MNKR_SkillRandomAnime.js ├── MNKR_RandomEnemies.js ├── MNKR_LevelUpCommon.js ├── MNKR_InitTp.js ├── MNKR_NoLose.js ├── MNKR_BattleHelpHideMZ.js ├── MNKR_ReverseHpMpMZ.js ├── MNKR_ChangeBackScreenColor.js ├── MNKR_HideBattleHelp.js ├── MNKR_GetItemId.js ├── MNKR_LevelUpSwitch.js ├── MNKR_AddSkillWtype.js ├── MNKR_ChangeActorImagesMZ.js ├── MNKR_SelectWinAction.js ├── MNKR_TextCodeHelpMZ.js ├── MNKR_PartyAbilityExp.js ├── MNKR_AddIconSave.js ├── MNKR_ShowMapName.js ├── MNKR_EnemyIconMZ.js ├── MNKR_ChangeWinAction.js ├── MNKR_SetMessageDefaultBack.js ├── MNKR_TMholdDirectionMZ.js ├── MNKR_MOG_TittleCommandsPatchMZ.js ├── MNKR_ActorCommandChoice.js ├── MNKR_HenshinMZ.js ├── MNKR_BattleActorNameMZ.js ├── MNKR_EncounterEffect.js ├── MNKR_Excalibur.js ├── MNKR_MoveEventPointMZ.js ├── MNKR_TimerEX.js └── MNKR_TMTopFixMZ.js /MNKR_AltMenuScreen2MZ.js: -------------------------------------------------------------------------------- 1 | http://moonwhistle.org/tkoolMZ/AltMenuScreen2MZ.zip -------------------------------------------------------------------------------- /MNKR_ChoiceColsMZ.js: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChoiceCustomMZ.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ムノクラが先人のご指導をいただきながら作成したRPGツクールMZ用のプラグインです。 2 | 3 | This is a plugin for RPG Maker MZ that Munokura created with the guidance of his predecessors. -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 munokura 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MNKR_GoldNoWindow.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_GoldNoWindow.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_GoldNoWindow.js 14 | @plugindesc Hides the money window in the main menu. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Hides the money window in the main menu. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | */ 29 | 30 | /*:ja 31 | @target MZ MV 32 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_GoldNoWindow.js 33 | @plugindesc メインメニューで所持金ウィンドウを非表示にします。 34 | @author munokura 35 | 36 | @help 37 | メインメニューで所持金ウィンドウを非表示にします。 38 | 39 | 40 | プラグインコマンドはありません。 41 | 42 | 43 | # 利用規約 44 | MITライセンスです。 45 | http://opensource.org/licenses/mit-license.php 46 | 作者に無断で改変、再配布が可能で、 47 | 利用形態(商用、18禁利用等)についても制限はありません。 48 | */ 49 | 50 | (() => { 51 | 52 | 'use strict'; 53 | 54 | Scene_Menu.prototype.createGoldWindow = function () { 55 | }; 56 | 57 | })(); -------------------------------------------------------------------------------- /MNKR_ShowEventsTransition.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ShowEventsTransition.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ShowEventsTransition.js 14 | @plugindesc Map events will remain visible during encounters. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Map events will remain displayed during encounters. 20 | 21 | There are no plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | */ 29 | 30 | /*:ja 31 | @target MZ MV 32 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ShowEventsTransition.js 33 | @plugindesc エンカウント時にマップイベントが表示されたままになります。 34 | @author munokura 35 | 36 | @help 37 | エンカウント時にマップイベントが表示されたままになります。 38 | 39 | 40 | プラグインコマンドはありません。 41 | 42 | 43 | # 利用規約 44 | MITライセンスです。 45 | http://opensource.org/licenses/mit-license.php 46 | 作者に無断で改変、再配布が可能で、 47 | 利用形態(商用、18禁利用等)についても制限はありません。 48 | */ 49 | 50 | (() => { 51 | 'use strict'; 52 | 53 | Scene_Map.prototype.startEncounterEffect = function () { 54 | this._encounterEffectDuration = this.encounterEffectSpeed(); 55 | }; 56 | 57 | })(); -------------------------------------------------------------------------------- /MNKR_HideLevel.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_HideLevel.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HideLevel.js 14 | @plugindesc Hides level-related items (level and experience points). 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Hides level-related items (level and experience points). 20 | Hiding them will retain their functionality. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18+, etc.). 29 | */ 30 | 31 | /*:ja 32 | @target MZ 33 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HideLevel.js 34 | @plugindesc レベルに関連する項目(レベル・経験値)を非表示にします。 35 | @author munokura 36 | 37 | @help 38 | レベルに関連する項目(レベル・経験値)を非表示にします。 39 | 非表示にするだけで、機能としては残ります。 40 | 41 | 42 | プラグインコマンドはありません。 43 | 44 | 45 | # 利用規約 46 | MITライセンスです。 47 | http://opensource.org/licenses/mit-license.php 48 | 作者に無断で改変、再配布が可能で、 49 | 利用形態(商用、18禁利用等)についても制限はありません。 50 | */ 51 | 52 | (() => { 53 | 54 | "use strict"; 55 | 56 | Window_StatusBase.prototype.drawActorLevel = function (actor, x, y) { 57 | }; 58 | 59 | Window_Status.prototype.drawExpInfo = function (x, y) { 60 | }; 61 | 62 | })(); -------------------------------------------------------------------------------- /MNKR_TowardPlayer.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TowardPlayer.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TowardPlayer.js 14 | @plugindesc Changed the event so that it doesn't return to its original direction after the player interacts with it. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | This changes the event so that it does not return to its original direction 20 | after the player interacts with it. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission, and there are no 28 | restrictions on its use (commercial, R18, etc.). 29 | */ 30 | 31 | /*:ja 32 | @target MZ MV 33 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TowardPlayer.js 34 | @plugindesc プレイヤーがイベントに話しかけた後にイベントが元の方向に戻らないように変更します。 35 | @author munokura 36 | 37 | @help 38 | プレイヤーがイベントに話しかけた後に 39 | イベントが元の方向に戻らないように変更します。 40 | 41 | 42 | プラグインコマンドはありません。 43 | 44 | 45 | # 利用規約 46 | MITライセンスです。 47 | http://opensource.org/licenses/mit-license.php 48 | 作者に無断で改変、再配布が可能で、 49 | 利用形態(商用、18禁利用等)についても制限はありません。 50 | */ 51 | 52 | (() => { 53 | "use strict"; 54 | 55 | Game_Event.prototype.lock = function () { 56 | if (!this._locked) { 57 | this._prelockDirection = this.direction(); 58 | this.turnTowardPlayer(); 59 | } 60 | }; 61 | 62 | })(); -------------------------------------------------------------------------------- /MNKR_StopShakeOnDamage.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_StopShakeOnDamage.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_StopShakeOnDamage.js 14 | @plugindesc Stops screen shaking when an actor takes damage in front-view combat. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Disables screen shaking when an actor takes damage in front-view combat. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | */ 29 | 30 | /*:ja 31 | @target MZ MV 32 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_StopShakeOnDamage.js 33 | @plugindesc フロントビュー戦闘でアクター被ダメージ時の画面シェイクを止めます。 34 | @author munokura 35 | 36 | @help 37 | フロントビュー戦闘でアクター被ダメージ時の画面シェイクを止めます。 38 | 39 | 40 | プラグインコマンドはありません。 41 | 42 | 43 | # 利用規約 44 | MITライセンスです。 45 | http://opensource.org/licenses/mit-license.php 46 | 作者に無断で改変、再配布が可能で、 47 | 利用形態(商用、18禁利用等)についても制限はありません。 48 | */ 49 | 50 | (() => { 51 | 52 | "use strict"; 53 | 54 | Game_Actor.prototype.performDamage = function () { 55 | Game_Battler.prototype.performDamage.call(this); 56 | if (this.isSpriteVisible()) { 57 | this.requestMotion('damage'); 58 | } 59 | SoundManager.playActorDamage(); 60 | }; 61 | 62 | })(); -------------------------------------------------------------------------------- /MNKR_DeadPenalty.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_DeadPenalty.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_DeadPenalty.js 14 | @plugindesc If you are incapacitated, your TP will be reduced to 0. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | If you are incapacitated, your TP will be reduced to 0. 20 | 21 | There are no plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, 18+, etc.). 28 | */ 29 | 30 | /*:ja 31 | @target MZ MV 32 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_DeadPenalty.js 33 | @plugindesc 戦闘不能になるとTPが0になります。 34 | @author munokura 35 | 36 | @help 37 | 戦闘不能になるとTPが0になります。 38 | 39 | 40 | プラグインコマンドはありません。 41 | 42 | 43 | # 利用規約 44 | MITライセンスです。 45 | http://opensource.org/licenses/mit-license.php 46 | 作者に無断で改変、再配布が可能で、 47 | 利用形態(商用、18禁利用等)についても制限はありません。 48 | */ 49 | 50 | (() => { 51 | 52 | "use strict"; 53 | 54 | const _Game_BattlerBase_die = Game_BattlerBase.prototype.die; 55 | Game_BattlerBase.prototype.die = function () { 56 | this._tp = 0; 57 | _Game_BattlerBase_die.call(this); 58 | }; 59 | 60 | const _Game_Battler_gainSilentTp = Game_Battler.prototype.gainSilentTp; 61 | Game_Battler.prototype.gainSilentTp = function (value) { 62 | if (this.isAlive()) { 63 | _Game_Battler_gainSilentTp.apply(this, arguments); 64 | } 65 | }; 66 | 67 | })(); -------------------------------------------------------------------------------- /MNKR_PartyCommandCancel.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_PartyCommandCancel.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_PartyCommandCancel.js 14 | @plugindesc If you cancel in the party command window, you will be in the state where you chose to fight. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | If you cancel in the party command window, the game will return to the state 20 | where you selected "Fight." 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18, etc.). 29 | */ 30 | 31 | /*:ja 32 | @target MZ MV 33 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_PartyCommandCancel.js 34 | @plugindesc パーティコマンドウィンドウでキャンセル処理すると、戦うを選んだ状態になります。 35 | @author munokura 36 | @help 37 | パーティコマンドウィンドウでキャンセル処理すると、戦うを選んだ状態になります。 38 | 39 | プラグインコマンドはありません。 40 | 41 | 42 | # 利用規約 43 | MITライセンスです。 44 | http://opensource.org/licenses/mit-license.php 45 | 作者に無断で改変、再配布が可能で、 46 | 利用形態(商用、18禁利用等)についても制限はありません。 47 | */ 48 | 49 | (() => { 50 | 51 | 'use strict'; 52 | 53 | const _Scene_Battle_createPartyCommandWindow = Scene_Battle.prototype.createPartyCommandWindow 54 | Scene_Battle.prototype.createPartyCommandWindow = function () { 55 | _Scene_Battle_createPartyCommandWindow.call(this); 56 | this._partyCommandWindow.setHandler('cancel', this.commandFight.bind(this)); 57 | }; 58 | 59 | })(); -------------------------------------------------------------------------------- /MNKR_OnlyBattleTpMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_OnlyBattleTpMZ.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_OnlyBattleTpMZ.js 14 | @plugindesc Turns off the TP display outside of the battle screen. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Removes TP display outside of the battle screen. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | */ 29 | 30 | /*:ja 31 | @target MZ 32 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_OnlyBattleTpMZ.js 33 | @plugindesc 戦闘画面以外のTP表示を消します。 34 | @author munokura 35 | 36 | @help 37 | 戦闘画面以外のTP表示を消します。 38 | 39 | 40 | プラグインコマンドはありません。 41 | 42 | 43 | # 利用規約 44 | MITライセンスです。 45 | http://opensource.org/licenses/mit-license.php 46 | 作者に無断で改変、再配布が可能で、 47 | 利用形態(商用、18禁利用等)についても制限はありません。 48 | */ 49 | 50 | (() => { 51 | 'use strict'; 52 | 53 | const _Window_StatusBase_placeBasicGauges = Window_StatusBase.prototype.placeBasicGauges; 54 | Window_StatusBase.prototype.placeBasicGauges = function (actor, x, y) { 55 | const isScene = SceneManager._scene.constructor.name === 'Scene_Battle'; 56 | if (isScene) { 57 | _Window_StatusBase_placeBasicGauges.call(this, actor, x, y); 58 | } else { 59 | this.placeGauge(actor, "hp", x, y); 60 | this.placeGauge(actor, "mp", x, y + this.gaugeLineHeight()); 61 | } 62 | }; 63 | 64 | })(); -------------------------------------------------------------------------------- /MNKR_SelectMaxRows.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SelectMaxRows.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SelectMaxRows.js 14 | @plugindesc Specifies the number of rows in the choice window. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Specifies the number of lines in the selection window. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param Max Rows 30 | @text Number of rows of options 31 | @desc Number of lines displayed in the selection window 32 | @type number 33 | @default 6 34 | */ 35 | 36 | /*:ja 37 | @target MZ 38 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SelectMaxRows.js 39 | @plugindesc 選択肢ウィンドウ内の行数を指定します。 40 | @author munokura 41 | 42 | @help 43 | 選択肢ウィンドウ内の行数を指定します。 44 | 45 | 46 | プラグインコマンドはありません。 47 | 48 | 49 | # 利用規約 50 | MITライセンスです。 51 | http://opensource.org/licenses/mit-license.php 52 | 作者に無断で改変、再配布が可能で、 53 | 利用形態(商用、18禁利用等)についても制限はありません。 54 | 55 | 56 | @param Max Rows 57 | @text 選択肢の行数 58 | @type number 59 | @default 6 60 | @desc 選択肢のウィンドウ内の表示行数 61 | */ 62 | 63 | (() => { 64 | 'use strict'; 65 | 66 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 67 | const parameters = PluginManager.parameters(pluginName); 68 | const maxRows = Number(parameters['Max Rows'] || 6); 69 | 70 | Window_ChoiceList.prototype.maxLines = function () { 71 | return maxRows; 72 | }; 73 | 74 | })(); -------------------------------------------------------------------------------- /MNKR_GoldIcon.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_GoldIcon.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_GoldIcon.js 14 | @plugindesc Replace currency unit display with icons 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Replaces currency unit displays with icons. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission, and there are no 27 | restrictions on its use (commercial, 18+, etc.). 28 | 29 | @param Gold Icon 30 | @text Currency Icon ID 31 | @desc Icon ID to use for currency unit 32 | @type number 33 | @default 313 34 | */ 35 | 36 | /*:ja 37 | @target MZ MV 38 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_GoldIcon.js 39 | @plugindesc 通貨単位の表示をアイコンに置き換えます 40 | @author munokura 41 | 42 | @param Gold Icon 43 | @text 通貨アイコンID 44 | @type number 45 | @desc 通貨の単位に使用するアイコンID 46 | @default 313 47 | 48 | @help 49 | 通貨単位の表示をアイコンに置き換えます。 50 | 51 | 52 | プラグインコマンドはありません。 53 | 54 | 55 | # 利用規約 56 | MITライセンスです。 57 | http://opensource.org/licenses/mit-license.php 58 | 作者に無断で改変、再配布が可能で、 59 | 利用形態(商用、18禁利用等)についても制限はありません。 60 | */ 61 | 62 | (() => { 63 | 'use strict'; 64 | 65 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 66 | const parameters = PluginManager.parameters(pluginName); 67 | const goldIcon = Number(parameters['Gold Icon'] || 313); 68 | 69 | Window_Base.prototype.drawCurrencyValue = function (value, unit, x, y, width) { 70 | this.resetTextColor(); 71 | this.drawText(value, x, y, width - 36 - 6, 'right'); 72 | this.drawIcon(goldIcon, x + width - 36, y); 73 | }; 74 | 75 | })(); -------------------------------------------------------------------------------- /MNKR_MaxBattleMembers.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_MaxBattleMembers.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MaxBattleMembers.js 14 | @plugindesc You can specify the maximum number of people who can participate in a battle. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can specify the maximum number of participants in battle. 20 | 21 | There are no plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | Modifications and redistribution are permitted without permission from the 27 | author, and there are no restrictions on use (commercial, R18+, etc.). 28 | 29 | @param Max Members 30 | @text Maximum number of participants in battle 31 | @desc Maximum number of participants in a battle 32 | @type number 33 | @default 4 34 | @min 1 35 | */ 36 | 37 | /*:ja 38 | @target MZ MV 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MaxBattleMembers.js 40 | @plugindesc 戦闘に参加する最大人数を指定できます。 41 | @author munokura 42 | 43 | @help 44 | 戦闘に参加する最大人数を指定できます。 45 | 46 | プラグインコマンドはありません。 47 | 48 | 49 | # 利用規約 50 | MITライセンスです。 51 | http://opensource.org/licenses/mit-license.php 52 | 作者に無断で改変、再配布が可能で、 53 | 利用形態(商用、18禁利用等)についても制限はありません。 54 | 55 | 56 | @param Max Members 57 | @text 戦闘参加最大人数 58 | @type number 59 | @min 1 60 | @desc 戦闘に参加する最大人数 61 | ツクールデフォルト:4 62 | @default 4 63 | */ 64 | 65 | (() => { 66 | 67 | 'use strict'; 68 | 69 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 70 | const parameters = PluginManager.parameters(pluginName); 71 | const maxMembers = Number(parameters['Max Members'] || 4); 72 | 73 | Game_Party.prototype.maxBattleMembers = function () { 74 | return maxMembers; 75 | }; 76 | 77 | })(); -------------------------------------------------------------------------------- /MNKR_OnceAnimation.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_OnceAnimation.js 4 | * Ver.1.0.2 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_OnceAnimation.js 14 | @plugindesc Regardless of the number of consecutive skills used in battle, the animation will only be played once. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | This plugin plays animations only once, regardless of the number of 20 | consecutive skill uses during battle. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | Modifications and redistribution are permitted without permission from the 28 | author, and there are no restrictions on usage (commercial, 18+, etc.). 29 | 30 | # Acknowledgments 31 | This plugin was created under the guidance of DarkPlasma. 32 | Thank you for your advice (and the solution itself). 33 | */ 34 | 35 | /*:ja 36 | @target MZ MV 37 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_OnceAnimation.js 38 | @plugindesc 戦闘中のスキルの連続回数に関わらずアニメーション再生を1回にします。 39 | @author munokura 40 | 41 | @help 42 | 戦闘中のスキルの連続回数に関わらずアニメーション再生を1回にします。 43 | 44 | 45 | プラグインコマンドはありません。 46 | 47 | 48 | # 利用規約 49 | MITライセンスです。 50 | http://opensource.org/licenses/mit-license.php 51 | 作者に無断で改変、再配布が可能で、 52 | 利用形態(商用、18禁利用等)についても制限はありません。 53 | 54 | 55 | # 謝辞 56 | 当プラグインはDarkPlasma氏の指導で作成されました。 57 | ご助言(解答そのもの)をいただき、感謝いたします。 58 | */ 59 | 60 | (() => { 61 | "use strict"; 62 | 63 | const _Window_BattleLog_showAnimation = Window_BattleLog.prototype.showAnimation; 64 | Window_BattleLog.prototype.showAnimation = function (subject, targets, animationId) { 65 | _Window_BattleLog_showAnimation.call( 66 | this, 67 | subject, 68 | Array.from(new Set(targets)), 69 | animationId 70 | ); 71 | }; 72 | 73 | })(); -------------------------------------------------------------------------------- /MNKR_MaxSave.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_MaxSave.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MaxSave.js 14 | @plugindesc You can specify the number of save slots. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can specify the number of save slots. 20 | For RPG Maker MZ, add 1 for the autosave slot. 21 | Tsukur default: MV:20 / MZ:21 22 | 23 | No plugin commands. 24 | 25 | # Terms of Use 26 | MIT License. 27 | http://opensource.org/licenses/mit-license.php 28 | You may modify and redistribute this without permission, and there are no 29 | restrictions on its use (commercial, 18+, etc.). 30 | 31 | @param Max Files 32 | @text Number of save slots 33 | @desc Number of save slots. Add 1 for autosave slots in MZ. 34 | @type number 35 | @default 6 36 | @min 1 37 | @max 99 38 | */ 39 | 40 | /*:ja 41 | @target MZ MV 42 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MaxSave.js 43 | @plugindesc セーブスロットの数を指定できます。 44 | @author munokura 45 | 46 | @param Max Files 47 | @text セーブスロットの数 48 | @type number 49 | @min 1 50 | @max 99 51 | @desc セーブスロットの数。MZではオートセーブのスロット分1を加えてください。 52 | @default 6 53 | 54 | @help 55 | セーブスロットの数を指定できます。 56 | RPGツクールMZでは、オートセーブのスロット分1を加えてください。 57 | ツクールデフォルト MV:20 / MZ:21 58 | 59 | 60 | プラグインコマンドはありません。 61 | 62 | 63 | # 利用規約 64 | MITライセンスです。 65 | http://opensource.org/licenses/mit-license.php 66 | 作者に無断で改変、再配布が可能で、 67 | 利用形態(商用、18禁利用等)についても制限はありません。 68 | */ 69 | 70 | (() => { 71 | 'use strict'; 72 | 73 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 74 | const parameters = PluginManager.parameters(pluginName); 75 | const maxFiles = Number(parameters['Max Files'] || 6); 76 | 77 | DataManager.maxSavefiles = function () { 78 | return maxFiles; 79 | }; 80 | 81 | })(); -------------------------------------------------------------------------------- /MNKR_ShareExp.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ShareExp.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ShareExp.js 14 | @plugindesc Experience points earned at the end of battle will now be divided equally among all surviving members. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Changes the calculation of experience points earned at the end of battle 20 | to a system where they are divided equally among the number of surviving 21 | members. 22 | 23 | # Notes 24 | The calculation assumes that the "experience point gain rate" for KOs is 0% 25 | (default). 26 | If you change this setting, it will not work properly. 27 | 28 | There are no plugin commands. 29 | 30 | # Terms of Use 31 | MIT License. 32 | http://opensource.org/licenses/mit-license.php 33 | You may modify and redistribute this without permission from the author, and 34 | there are no restrictions on its use (commercial, 18+, etc.). 35 | */ 36 | 37 | /*:ja 38 | @target MZ MV 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ShareExp.js 40 | @plugindesc 戦闘終了時の取得経験値の計算を、戦闘不能になっていないメンバー数で均等割するシステムに変更します。 41 | @author munokura 42 | 43 | @help 44 | 戦闘終了時の取得経験値の計算を、 45 | 戦闘不能になっていないメンバー数で均等割するシステムに変更します。 46 | 47 | # 注意点 48 | 戦闘不能の「経験値取得率」が0%(デフォルト)である前提で計算されます。 49 | 変更すると、正常に働きません。 50 | 51 | プラグインコマンドはありません。 52 | 53 | 54 | # 利用規約 55 | MITライセンスです。 56 | http://opensource.org/licenses/mit-license.php 57 | 作者に無断で改変、再配布が可能で、 58 | 利用形態(商用、18禁利用等)についても制限はありません。 59 | */ 60 | 61 | (() => { 62 | "use strict"; 63 | 64 | const _BattleManager_makeRewards = BattleManager.makeRewards; 65 | BattleManager.makeRewards = function () { 66 | _BattleManager_makeRewards.call(this); 67 | const getMembers = $gameParty.aliveMembers().length; 68 | this._rewards.exp = Math.ceil(this._rewards.exp / getMembers); 69 | }; 70 | 71 | })(); -------------------------------------------------------------------------------- /MNKR_HideSkill.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_HideSkill.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HideSkill.js 14 | @plugindesc You can specify skills that you do not want to display in the skill list. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can specify skills to hide in the skill list. 20 | Skills tagged in the memo field will not appear in the list. 21 | 22 | Hide on the map 23 | 24 | 25 | Hide during battle 26 | 27 | 28 | There are no plugin commands. 29 | 30 | # Terms of Use 31 | MIT License. 32 | http://opensource.org/licenses/mit-license.php 33 | Modifications and redistribution are permitted without permission from the 34 | author, and there are no restrictions on use (commercial, 18+, etc.). 35 | */ 36 | 37 | /*:ja 38 | @target MZ MV 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HideSkill.js 40 | @plugindesc スキル一覧に表示しないスキルを指定できます。 41 | @author munokura 42 | 43 | @help 44 | スキル一覧に表示しないスキルを指定できます。 45 | メモ欄に各タグを入れたスキルは一覧に表示されなくなります。 46 | 47 | マップでの非表示 48 | 49 | 50 | 戦闘中の非表示 51 | 52 | 53 | 54 | プラグインコマンドはありません。 55 | 56 | 57 | # 利用規約 58 | MITライセンスです。 59 | http://opensource.org/licenses/mit-license.php 60 | 作者に無断で改変、再配布が可能で、 61 | 利用形態(商用、18禁利用等)についても制限はありません。 62 | */ 63 | 64 | (() => { 65 | "use strict"; 66 | 67 | const _Window_SkillList_includes = Window_SkillList.prototype.includes; 68 | Window_SkillList.prototype.includes = function (item) { 69 | if (item.meta.MNKR_HideSkillMenu) { 70 | return false; 71 | } 72 | return _Window_SkillList_includes.call(this, item); 73 | }; 74 | 75 | Window_BattleSkill.prototype.includes = function (item) { 76 | if (item.meta.MNKR_HideSkillBattle) { 77 | return false; 78 | } 79 | return _Window_SkillList_includes.call(this, item); 80 | }; 81 | 82 | })(); -------------------------------------------------------------------------------- /MNKR_LearnRandomSkill.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_LearnRandomSkill.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LearnRandomSkill.js 14 | @plugindesc We will change the system so that only one skill will be randomly acquired from those with the same skill level as the job. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can set the "skills to learn" for each job depending on its level. 20 | When this plugin is installed, if multiple skills are specified at the same 21 | level, 22 | it will randomly learn only one skill. 23 | 24 | There are no plugin commands. 25 | 26 | # Terms of Use 27 | MIT License. 28 | http://opensource.org/licenses/mit-license.php 29 | You may modify and redistribute this without permission from the author, 30 | and there are no restrictions on its use (commercial, 18+ use, etc.). 31 | */ 32 | 33 | /*:ja 34 | @target MZ MV 35 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LearnRandomSkill.js 36 | @plugindesc 職業で習得するスキルの設定レベルが同じものから1つだけランダム習得するシステムに変更します。 37 | @author munokura 38 | 39 | @help 40 | 職業にはレベルに応じて「習得するスキル」を設定できます。 41 | このプラグインを導入すると、習得スキルを同レベルに複数のスキルを指定した場合、 42 | 1つだけランダム習得するシステムに変更します。 43 | 44 | 45 | プラグインコマンドはありません。 46 | 47 | 48 | # 利用規約 49 | MITライセンスです。 50 | http://opensource.org/licenses/mit-license.php 51 | 作者に無断で改変、再配布が可能で、 52 | 利用形態(商用、18禁利用等)についても制限はありません。 53 | */ 54 | 55 | (() => { 56 | "use strict"; 57 | 58 | Game_Actor.prototype.levelUp = function () { 59 | this._level++; 60 | let learnSkillArgs = []; 61 | for (const learning of this.currentClass().learnings) { 62 | if (learning.level === this._level) { 63 | learnSkillArgs.push(learning.skillId); 64 | } 65 | } 66 | if (learnSkillArgs.length > 0) { 67 | const learnRandomSkill = learnSkillArgs[Math.floor(Math.random() * learnSkillArgs.length)]; 68 | this.learnSkill(learnRandomSkill); 69 | } 70 | }; 71 | 72 | })(); -------------------------------------------------------------------------------- /MNKR_TouchMoveSwitch.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TouchMoveSwitch.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_TouchMoveSwitch.js 14 | @plugindesc Stops touch movement and triggers on the map screen. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Stops touch movement and triggers on the map screen. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission, and there are no 27 | restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param raiseSwitch 30 | @text Enable switch 31 | @desc This plug-in will run when the specified switch is ON. If it is set to "None", it will always run. 32 | @type switch 33 | @default 0 34 | */ 35 | 36 | /*:ja 37 | @target MZ MV 38 | @url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_TouchMoveSwitch.js 39 | @plugindesc マップ画面でのタッチ移動・トリガーを停止します。 40 | @author munokura 41 | 42 | @help 43 | マップ画面でのタッチ移動・トリガーを停止します。 44 | 45 | 46 | プラグインコマンドはありません。 47 | 48 | 49 | # 利用規約 50 | MITライセンスです。 51 | http://opensource.org/licenses/mit-license.php 52 | 作者に無断で改変、再配布が可能で、 53 | 利用形態(商用、18禁利用等)についても制限はありません。 54 | 55 | 56 | @param raiseSwitch 57 | @text 有効化スイッチ 58 | @desc 指定スイッチがONの時、このプラグインを動作させます。「なし」の場合、常に動作します。 59 | @type switch 60 | @default 0 61 | */ 62 | 63 | (() => { 64 | "use strict"; 65 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 66 | const pluginParameters = PluginManager.parameters(pluginName); 67 | const PRM_raiseSwitch = Number(pluginParameters['raiseSwitch'] || 0); 68 | 69 | const _Scene_Map_processMapTouch = Scene_Map.prototype.processMapTouch; 70 | Scene_Map.prototype.processMapTouch = function () { 71 | const raise = PRM_raiseSwitch === 0 ? true : $gameSwitches.value(PRM_raiseSwitch); 72 | if (!raise) { 73 | _Scene_Map_processMapTouch.call(this); 74 | } 75 | }; 76 | 77 | })(); -------------------------------------------------------------------------------- /MNKR_EnemyStateIconOffset.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_EnemyStateIconOffset.js 4 | * Ver.0.0.4 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_EnemyStateIconOffset.js 14 | @plugindesc Offsets the Y coordinate of the state icon for each enemy character. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | This offsets the Y coordinate of the state icon for each enemy character. 20 | Enter the following in the memo field for the enemy character whose state 21 | position you want to change. 22 | 23 | y: Positive or negative integer 24 | 25 | Example 26 | 27 | Displays the state icon 100 pixels lower than normal. 28 | 29 | No plugin commands are available. 30 | 31 | # Terms of Use 32 | MIT License. 33 | http://opensource.org/licenses/mit-license.php 34 | You may modify and redistribute this without permission from the author, and 35 | there are no restrictions on its use (commercial, R18+, etc.). 36 | */ 37 | 38 | /*:ja 39 | @target MZ MV 40 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_EnemyStateIconOffset.js 41 | @plugindesc 敵キャラ毎にステートアイコンのY座標をオフセットします。 42 | @author munokura 43 | 44 | @help 45 | 敵キャラ毎にステートアイコンのY座標をオフセットします。 46 | ステート位置を変更したい敵キャラのメモ欄に下記を入力してください。 47 | 48 | y:正負の整数 49 | 50 | 例 51 | 52 | ステートアイコンを通常より100ピクセル下に表示する。 53 | 54 | 55 | プラグインコマンドはありません。 56 | 57 | 58 | # 利用規約 59 | MITライセンスです。 60 | http://opensource.org/licenses/mit-license.php 61 | 作者に無断で改変、再配布が可能で、 62 | 利用形態(商用、18禁利用等)についても制限はありません。 63 | */ 64 | 65 | (() => { 66 | "use strict"; 67 | 68 | const _Sprite_Enemy_updateStateSprite = Sprite_Enemy.prototype.updateStateSprite; 69 | Sprite_Enemy.prototype.updateStateSprite = function () { 70 | _Sprite_Enemy_updateStateSprite.call(this); 71 | const offSetY = Number(this._battler.enemy().meta.MNKR_EnemyStateIconOffset || 0); 72 | if (offSetY !== 0) { 73 | this._stateIconSprite.y += offSetY; 74 | } 75 | }; 76 | 77 | })(); -------------------------------------------------------------------------------- /MNKR_TitleRandomImage.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TitleRandomImage.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TitleRandomImage.js 14 | @plugindesc The title image will change randomly. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Randomly changes and displays title images. 20 | 21 | Put the image in /img/titles1 22 | and specify it as a plugin parameter to make it a display candidate. 23 | 24 | There is no plugin command. 25 | 26 | # Terms of Use 27 | MIT License. 28 | http://opensource.org/licenses/mit-license.php 29 | You may modify and redistribute this without permission, and there are no 30 | restrictions on its use (commercial, R18+, etc.). 31 | 32 | @param titleImages 33 | @text Title Image List 34 | @desc Sets the title image list 35 | @type file[] 36 | @require 1 37 | @dir img/titles1 38 | */ 39 | 40 | /*:ja 41 | @target MZ MV 42 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TitleRandomImage.js 43 | @plugindesc タイトル画像をランダムに変更します。 44 | @author munokura 45 | 46 | @help 47 | タイトル画像をランダムに変更し表示します。 48 | 49 | 画像を /img/titles1 内に入れ、 50 | プラグインパラメーターで指定することで、表示候補になります。 51 | 52 | 53 | プラグインコマンドはありません。 54 | 55 | 56 | # 利用規約 57 | MITライセンスです。 58 | http://opensource.org/licenses/mit-license.php 59 | 作者に無断で改変、再配布が可能で、 60 | 利用形態(商用、18禁利用等)についても制限はありません。 61 | 62 | 63 | @param titleImages 64 | @desc タイトル画像リストを設定します 65 | @text タイトル画像リスト 66 | @type file[] 67 | @require 1 68 | @dir img/titles1 69 | @default 70 | */ 71 | 72 | (() => { 73 | "use strict"; 74 | 75 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 76 | const parameters = PluginManager.parameters(pluginName); 77 | const titleImages = JSON.parse(parameters['titleImages']); 78 | 79 | const _Scene_Title_initialize = Scene_Title.prototype.initialize; 80 | Scene_Title.prototype.initialize = function () { 81 | _Scene_Title_initialize.apply(this, arguments); 82 | $dataSystem.title1Name = titleImages[Math.floor(Math.random() * titleImages.length)]; 83 | }; 84 | 85 | })(); -------------------------------------------------------------------------------- /MNKR_LeaderSpeed.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_LeaderSpeed.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LeaderSpeed.js 14 | @plugindesc The player's movement speed will change depending on the leading actor. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Varies the player's movement speed depending on the leading actor. 20 | 21 | Enter the following tag in the actor's memo field: 22 | 23 | Where x is a value specifying the movement speed. (Recommended values: 1 to 6) 24 | The default in RPG Maker is 4. 25 | The higher the value, the faster the movement speed. 26 | If the leading actor has no tag, it will default to 4. 27 | 28 | Example 29 | 30 | 31 | There are no plugin commands. 32 | 33 | # Terms of Use 34 | MIT License. 35 | http://opensource.org/licenses/mit-license.php 36 | Modifications and redistribution are permitted without the author's 37 | permission, and there are no restrictions on use (commercial, R18+, etc.). 38 | */ 39 | 40 | /*:ja 41 | @target MZ MV 42 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LeaderSpeed.js 43 | @plugindesc 先頭のアクターによって、プレイヤーの移動速度を変化させます。 44 | @author munokura 45 | 46 | @help 47 | 先頭のアクターによって、プレイヤーの移動速度を変化させます。 48 | 49 | アクターのメモ欄に下記のタグを入れてください。 50 | 51 | x には移動スピードを指定する値を入れてください。(推奨値:1から6) 52 | ツクールのデフォルトは4です。 53 | 大きいほど移動速度が速くなります。 54 | タグが入っていないアクターが先頭の場合、4になります。 55 | 56 | 例 57 | 58 | 59 | 60 | プラグインコマンドはありません。 61 | 62 | 63 | # 利用規約 64 | MITライセンスです。 65 | http://opensource.org/licenses/mit-license.php 66 | 作者に無断で改変、再配布が可能で、 67 | 利用形態(商用、18禁利用等)についても制限はありません。 68 | */ 69 | 70 | (() => { 71 | "use strict"; 72 | 73 | const _Game_Player_refresh = Game_Player.prototype.refresh; 74 | Game_Player.prototype.refresh = function () { 75 | _Game_Player_refresh.call(this); 76 | const leader = $gameParty.leader(); 77 | const speed = Number(leader ? (leader.actor().meta.MNKR_LeaderSpeed || 4) : 4); 78 | $gamePlayer.setMoveSpeed(speed); 79 | }; 80 | 81 | })(); -------------------------------------------------------------------------------- /MNKR_TitleCommandRows.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TitleCommandRows.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TitleCommandRows.js 14 | @plugindesc Specifies the number of window lines for the title menu. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Specifies the number of lines in the title menu window. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param Command Rows 30 | @text Number of menu lines 31 | @desc Specifies the number of rows in the menu. 32 | @type number 33 | @default 8 34 | */ 35 | 36 | /*:ja 37 | @target MZ 38 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TitleCommandRows.js 39 | @plugindesc タイトルメニューのウィンドウ行数を指定します。 40 | @author munokura 41 | 42 | @help 43 | タイトルメニューのウィンドウ行数を指定します。 44 | 45 | 46 | プラグインコマンドはありません。 47 | 48 | 49 | # 利用規約 50 | MITライセンスです。 51 | http://opensource.org/licenses/mit-license.php 52 | 作者に無断で改変、再配布が可能で、 53 | 利用形態(商用、18禁利用等)についても制限はありません。 54 | 55 | 56 | @param Command Rows 57 | @text メニュー行数 58 | @type number 59 | @desc メニューの行数を指定します。 60 | @default 8 61 | */ 62 | 63 | (() => { 64 | 'use strict'; 65 | 66 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 67 | const parameters = PluginManager.parameters(pluginName); 68 | const commandRows = Number(parameters['Command Rows'] || 3); 69 | 70 | Scene_Title.prototype.commandWindowRect = function () { 71 | const offsetX = $dataSystem.titleCommandWindow.offsetX; 72 | const offsetY = $dataSystem.titleCommandWindow.offsetY; 73 | const ww = this.mainCommandWidth(); 74 | const wh = this.calcWindowHeight(commandRows, true); 75 | const wx = (Graphics.boxWidth - ww) / 2 + offsetX; 76 | const wy = Graphics.boxHeight - wh - 96 + offsetY; 77 | return new Rectangle(wx, wy, ww, wh); 78 | }; 79 | 80 | })(); -------------------------------------------------------------------------------- /MNKR_SkipSkillScope.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SkipSkillScope.js 4 | * Ver.0.1.0 5 | * Copyright (c) 2024 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SkipSkillScope.js 14 | @plugindesc Skip target selection when using skills (range is user) on the map. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Skips target selection when using a skill (with a user range) on the map. 20 | 21 | Terms of Use: 22 | MIT License. 23 | http://opensource.org/licenses/mit-license.php 24 | You may modify and redistribute this without permission, and there are no 25 | restrictions on its use (commercial, 18+, etc.). 26 | */ 27 | 28 | /*:ja 29 | @target MZ MV 30 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SkipSkillScope.js 31 | @plugindesc マップ上でスキル(範囲が利用者)使用時に、対象選択をスキップします。 32 | @author munokura 33 | 34 | @help 35 | マップ上でスキル(範囲が利用者)使用時に、対象選択をスキップします。 36 | 37 | 利用規約: 38 | MITライセンスです。 39 | http://opensource.org/licenses/mit-license.php 40 | 作者に無断で改変、再配布が可能で、 41 | 利用形態(商用、18禁利用等)についても制限はありません。 42 | */ 43 | 44 | (() => { 45 | "use strict"; 46 | 47 | //----------------------------------------------------------------------------- 48 | // Scene_ItemBase 49 | 50 | const _Scene_ItemBase_itemTargetActors = Scene_ItemBase.prototype.itemTargetActors; 51 | Scene_ItemBase.prototype.itemTargetActors = function () { 52 | const action = new Game_Action(this.user()); 53 | action.setItemObject(this.item()); 54 | if (action.isSkill() && action.isForUser()) { 55 | return [this.actor()]; 56 | } else { 57 | return _Scene_ItemBase_itemTargetActors.call(this); 58 | } 59 | }; 60 | 61 | const _Scene_ItemBase_determineItem = Scene_ItemBase.prototype.determineItem; 62 | Scene_ItemBase.prototype.determineItem = function () { 63 | const action = new Game_Action(this.user()); 64 | const item = this.item(); 65 | action.setItemObject(item); 66 | if (action.isSkill() && action.isForUser()) { 67 | this.onActorOk(); 68 | this._itemWindow.refresh(); 69 | this._itemWindow.activate(); 70 | } else { 71 | _Scene_ItemBase_determineItem.call(this); 72 | } 73 | }; 74 | 75 | })(); 76 | -------------------------------------------------------------------------------- /MNKR_SwitchBattleLog.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SwitchBattleLog.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchBattleLog.js 14 | @plugindesc You can now toggle the display of the battle log with a switch. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can now toggle the display of the battle log with a switch. 20 | 21 | There are no plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param hideSwitch 30 | @text Hidden Switch 31 | @desc When the switch is ON, the battle log will be hidden. If you set it to "None", it will always be hidden. 32 | @type switch 33 | @default 0 34 | */ 35 | 36 | /*:ja 37 | @target MZ MV 38 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchBattleLog.js 39 | @plugindesc バトルログの表示非表示をスイッチで切り替えられるようになります。 40 | @author munokura 41 | 42 | @help 43 | バトルログの表示非表示をスイッチで切り替えられるようになります。 44 | 45 | 46 | プラグインコマンドはありません。 47 | 48 | 49 | # 利用規約 50 | MITライセンスです。 51 | http://opensource.org/licenses/mit-license.php 52 | 作者に無断で改変、再配布が可能で、 53 | 利用形態(商用、18禁利用等)についても制限はありません。 54 | 55 | 56 | @param hideSwitch 57 | @text 非表示スイッチ 58 | @type switch 59 | @default 0 60 | @desc スイッチがONの時にバトルログが非表示になります。「なし」に指定すると、常に非表示になります。 61 | */ 62 | 63 | (() => { 64 | "use strict"; 65 | 66 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 67 | const parameters = PluginManager.parameters(pluginName); 68 | const param = {}; 69 | param.hideSwitch = Number(parameters['hideSwitch'] || 0); 70 | 71 | const _Window_BattleLog_update = Window_BattleLog.prototype.update; 72 | Window_BattleLog.prototype.update = function () { 73 | _Window_BattleLog_update.call(this); 74 | const raise = param.hideSwitch === 0 ? true : $gameSwitches.value(param.hideSwitch); 75 | if (raise) { 76 | this.hide(); 77 | } 78 | }; 79 | 80 | })(); -------------------------------------------------------------------------------- /MNKR_SwitchGameoverMusic.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SwitchGameoverMusic.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchGameoverMusic.js 14 | @plugindesc When the specified switch is ON, the previous BGM will continue when the game ends. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | When the specified switch is ON, the previous BGM will continue upon game 20 | over. 21 | 22 | If no specified switch is specified, the previous BGM will always continue 23 | upon game over. 24 | 25 | There are no plugin commands. 26 | 27 | # Terms of Use 28 | MIT License. 29 | http://opensource.org/licenses/mit-license.php 30 | You may modify and redistribute this without permission from the author, and 31 | there are no restrictions on its use (commercial, R18+, etc.). 32 | 33 | @param Game Over Switch Id 34 | @text Activation switch 35 | @desc When the specified switch is ON, the previous BGM will continue when the game ends. 36 | @type switch 37 | @default 0 38 | */ 39 | 40 | /*:ja 41 | @target MZ MV 42 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchGameoverMusic.js 43 | @plugindesc 指定スイッチがON時ゲームオーバー時に直前のBGMが続きます。 44 | @author munokura 45 | 46 | @help 47 | 指定スイッチがON時ゲームオーバー時に直前のBGMが続きます。 48 | 49 | 指定スイッチを指定しない場合、常にゲームオーバー時に直前のBGMが続きます。 50 | 51 | 52 | プラグインコマンドはありません。 53 | 54 | 55 | # 利用規約 56 | MITライセンスです。 57 | http://opensource.org/licenses/mit-license.php 58 | 作者に無断で改変、再配布が可能で、 59 | 利用形態(商用、18禁利用等)についても制限はありません。 60 | 61 | 62 | @param Game Over Switch Id 63 | @text 発動スイッチ 64 | @type switch 65 | @desc 指定スイッチがON時ゲームオーバー時に直前のBGMが続きます。 66 | @default 0 67 | */ 68 | 69 | (() => { 70 | "use strict"; 71 | 72 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 73 | const parameters = PluginManager.parameters(pluginName); 74 | const gameOverSwitchId = Number(parameters['Game Over Switch Id'] || 0); 75 | 76 | const _Scene_Gameover_playGameoverMusic = Scene_Gameover.prototype.playGameoverMusic; 77 | Scene_Gameover.prototype.playGameoverMusic = function () { 78 | if (!$gameSwitches.value(gameOverSwitchId)) { 79 | _Scene_Gameover_playGameoverMusic.call(this); 80 | } 81 | }; 82 | 83 | })(); -------------------------------------------------------------------------------- /MNKR_ItemLimitActor.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ItemLimitActor.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ItemLimitActor.js 14 | @plugindesc You can create items that can only be used by a specified actor. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | # Function 20 | Create items that can only be used by a specified actor. 21 | 22 | Enter the following tag in the item's memo field: 23 | 24 | 25 | ## Example 26 | 27 | Can only be used with actor ID 1. 28 | 29 | 30 | Can only be used with actor IDs 1, 2, and 3. 31 | 32 | ## Note 33 | The current version does not support the following: 34 | - Support for use in battle 35 | 36 | No plugin commands. 37 | 38 | # Terms of Use 39 | MIT License. 40 | http://opensource.org/licenses/mit-license.php 41 | You may modify and redistribute this item without permission, and there are no 42 | restrictions on its use (commercial, 18+, etc.). 43 | */ 44 | 45 | /*:ja 46 | @target MZ MV 47 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ItemLimitActor.js 48 | @plugindesc 指定アクターのみに使用できるアイテムを作れます。 49 | @author munokura 50 | @help 51 | # 機能 52 | 指定アクターのみに使用できるアイテムを作れます。 53 | 54 | アイテムのメモ欄に下記のようにタグを入れてください。 55 | 56 | 57 | ## 例 58 | 59 | アクターID1にだけ使えます。 60 | 61 | 62 | アクターID1および2および3にだけ使えます。 63 | 64 | ## 注意 65 | 現バージョンでは下記に対応していません。 66 | - 戦闘中での使用対応 67 | 68 | 69 | プラグインコマンドはありません。 70 | 71 | 72 | # 利用規約 73 | MITライセンスです。 74 | http://opensource.org/licenses/mit-license.php 75 | 作者に無断で改変、再配布が可能で、 76 | 利用形態(商用、18禁利用等)についても制限はありません。 77 | */ 78 | 79 | (() => { 80 | "use strict"; 81 | 82 | const _Game_Action_testApply = Game_Action.prototype.testApply; 83 | Game_Action.prototype.testApply = function (target) { 84 | const itemMeta = this.item().meta.MNKR_ItemLimitActor || false; 85 | if (target.isActor() && itemMeta) { 86 | const limitActorsArray = itemMeta.split(',').map(Number); 87 | const targetActorId = target.actorId(); 88 | return limitActorsArray.includes(targetActorId); 89 | } 90 | return _Game_Action_testApply.call(this, target); 91 | }; 92 | 93 | })(); -------------------------------------------------------------------------------- /MNKR_WeaponSlotNameMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_WeaponSlotNameMZ.js 4 | * Ver.0.1.2 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_WeaponSlotNameMZ.js 14 | @plugindesc Change the weapon item name in the equipment scene. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Changes the weapon type name in the equipment scene. 20 | 21 | Enter the following in the actor/occupation memo field. 22 | If the name is entered for both the actor and occupation, the occupation takes 23 | priority. 24 | 25 | 26 | There are no plugin commands. 27 | 28 | # Terms of Use 29 | MIT License. 30 | http://opensource.org/licenses/mit-license.php 31 | You may modify and redistribute this without permission from the author, and 32 | there are no restrictions on its use (commercial, 18+, etc.). 33 | */ 34 | 35 | /*:ja 36 | @target MZ 37 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_WeaponSlotNameMZ.js 38 | @plugindesc 装備シーンの武器の項目名を変更します。 39 | @author munokura 40 | 41 | @help 42 | 装備シーンの武器の装備タイプ名を変更します。 43 | 44 | アクター・職業のメモ欄に下記のように入力してください。 45 | アクター・職業の両方に書かれている場合、職業が優先されます。 46 | 47 | 48 | 49 | プラグインコマンドはありません。 50 | 51 | 52 | # 利用規約 53 | MITライセンスです。 54 | http://opensource.org/licenses/mit-license.php 55 | 作者に無断で改変、再配布が可能で、 56 | 利用形態(商用、18禁利用等)についても制限はありません。 57 | */ 58 | 59 | (() => { 60 | "use strict"; 61 | 62 | const _Window_StatusBase_actorSlotName = Window_StatusBase.prototype.actorSlotName; 63 | Window_StatusBase.prototype.actorSlotName = function (actor, index) { 64 | if (index > 1) { 65 | return _Window_StatusBase_actorSlotName.call(this, actor, index); 66 | } 67 | const actorMeta = actor.actor().meta.MNKR_WeaponSlotName || false; 68 | const classMeta = actor.currentClass().meta.MNKR_WeaponSlotName || false; 69 | const hasDualWield = actor.isDualWield(); 70 | const hasMeta = classMeta ? classMeta : actorMeta; 71 | const slot0 = index === 0 && hasMeta; 72 | const slot1 = index === 1 && hasMeta && hasDualWield; 73 | if (slot0 || slot1) { 74 | return hasMeta; 75 | } 76 | return _Window_StatusBase_actorSlotName.call(this, actor, index); 77 | }; 78 | 79 | })(); -------------------------------------------------------------------------------- /MNKR_ReplaceMenu.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ReplaceMenu.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ReplaceMenu.js 14 | @plugindesc Temporarily replaces the menu opening action with a common event. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Temporarily replaces the menu opening action with a common event. 20 | When the variable value is 0, the normal menu opens. 21 | 22 | No plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | Modifications and redistribution are permitted without permission from the 28 | author, 29 | and there are no restrictions on usage (commercial, 18+, etc.). 30 | 31 | Ver. 0.0.3 32 | Fixed a bug that caused a fade to occur before a common event was executed. 33 | 34 | @param variableCommon 35 | @text Common event specification variable ID 36 | @desc Executes a common event with the variable's numeric value as its ID. 37 | @type variable 38 | @default 0 39 | */ 40 | 41 | /*:ja 42 | @target MZ MV 43 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ReplaceMenu.js 44 | @plugindesc メニューを開く動作を一時的にコモンイベントに置き換えます。 45 | @author munokura 46 | 47 | @help 48 | メニューを開く動作を一時的にコモンイベントに置き換えます。 49 | 変数の値が0の時、通常のメニューを開きます。 50 | 51 | 52 | プラグインコマンドはありません。 53 | 54 | 55 | # 利用規約 56 | MITライセンスです。 57 | http://opensource.org/licenses/mit-license.php 58 | 作者に無断で改変、再配布が可能で、 59 | 利用形態(商用、18禁利用等)についても制限はありません。 60 | 61 | 62 | Ver.0.0.3 63 | コモンイベント実行前にフェードが入ってしまうバグを修正 64 | 65 | 66 | @param variableCommon 67 | @text コモンイベント指定変数ID 68 | @type variable 69 | @default 0 70 | @desc 変数の数値をIDとしたコモンイベントを実行します。 71 | */ 72 | 73 | (() => { 74 | "use strict"; 75 | 76 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 77 | const parameters = PluginManager.parameters(pluginName); 78 | const variableCommon = Number(parameters['variableCommon'] || 0); 79 | 80 | const _Scene_Map_callMenu = Scene_Map.prototype.callMenu; 81 | Scene_Map.prototype.callMenu = function () { 82 | const commonId = Number($gameVariables.value(variableCommon)); 83 | if (commonId > 0) { 84 | $gameTemp.reserveCommonEvent(commonId); 85 | this.menuCalling = false; 86 | } else { 87 | _Scene_Map_callMenu.call(this); 88 | } 89 | }; 90 | 91 | })(); -------------------------------------------------------------------------------- /MNKR_SwitchPointer.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SwitchPointer.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchPointer.js 14 | @plugindesc When the specified switch is ON, the flashing (pointer) display of the destination by tapping will stop. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | When the specified switch is ON, the blinking pointer display of the 20 | destination will be disabled when tapped. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18, etc.). 29 | 30 | @param destinationSwitch 31 | @text Pointer Switch ID 32 | @desc When the specified switch is ON, the flashing (pointer) display of the destination by tapping will stop. If not specified, it will always be the same as ON. 33 | @type switch 34 | @default 0 35 | */ 36 | 37 | /*:ja 38 | @target MZ MV 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchPointer.js 40 | @plugindesc 指定スイッチがON時、タップによる移動先の点滅(ポインタ)表示を止めます。 41 | @author munokura 42 | 43 | @help 44 | 指定スイッチがON時、タップによる移動先の点滅(ポインタ)表示を止めます。 45 | 46 | 47 | プラグインコマンドはありません。 48 | 49 | 50 | # 利用規約 51 | MITライセンスです。 52 | http://opensource.org/licenses/mit-license.php 53 | 作者に無断で改変、再配布が可能で、 54 | 利用形態(商用、18禁利用等)についても制限はありません。 55 | 56 | 57 | @param destinationSwitch 58 | @text ポインタスイッチID 59 | @type switch 60 | @default 0 61 | @desc 指定スイッチがON時、タップによる移動先の点滅(ポインタ)表示を止めます。無指定の場合、常にONと同等になります。 62 | */ 63 | 64 | (() => { 65 | "use strict"; 66 | 67 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 68 | const parameters = PluginManager.parameters(pluginName); 69 | const destinationSwitch = Number(parameters['destinationSwitch'] || 0); 70 | 71 | const _Sprite_Destination_update = Sprite_Destination.prototype.update; 72 | Sprite_Destination.prototype.update = function () { 73 | const isOn = destinationSwitch === 0 ? true : $gameSwitches.value(destinationSwitch); 74 | if (isOn) { 75 | Sprite.prototype.update.call(this); 76 | this.visible = false; 77 | } else { 78 | _Sprite_Destination_update.call(this); 79 | } 80 | }; 81 | 82 | })(); -------------------------------------------------------------------------------- /MNKR_FixEscapeMoveDistance.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_FixEscapeMoveDistance.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2025 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_FixEscapeMoveDistance.js 14 | @plugindesc Fixes actor movement and behavior during escape. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | # Features 20 | Fixes an issue where actors would not be able to move completely off-screen 21 | when using the escape command when the resolution is increased in side-view 22 | combat. 23 | 24 | # Usage 25 | Enable it in the Plugin Manager and set the parameters. 26 | 27 | There are no plugin commands. 28 | 29 | # Terms of Use 30 | MIT License. 31 | http://opensource.org/licenses/mit-license.php 32 | You may modify and redistribute this without permission from the author, and 33 | there are no restrictions on its use (commercial, R18+, etc.). 34 | 35 | @param escapeDistance 36 | @text Distance traveled during escape 37 | @desc Specifies the number of pixels the actor moves in the X direction when fleeing. If -1, the width of the screen is assigned. Maker default value: 300 38 | @type number 39 | @default 600 40 | @min -1 41 | */ 42 | 43 | /*:ja 44 | @target MZ 45 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_FixEscapeMoveDistance.js 46 | @plugindesc 逃走時のアクターの移動と動作を修正します。 47 | @author munokura 48 | @help 49 | # 機能 50 | サイドビュー戦闘で解像度を広げた場合、 51 | 逃げるコマンドでアクターが画面外まで移動しきれない問題を解決します。 52 | 53 | 54 | # 使い方 55 | プラグイン管理で有効にし、パラメータを設定してください。 56 | 57 | プラグインコマンドはありません。 58 | 59 | 60 | # 利用規約 61 | MITライセンスです。 62 | http://opensource.org/licenses/mit-license.php 63 | 作者に無断で改変、再配布が可能で、 64 | 利用形態(商用、18禁利用等)についても制限はありません。 65 | 66 | 67 | @param escapeDistance 68 | @text 逃走時の移動距離 69 | @desc アクターが逃走する際のX方向の移動ピクセル数を指定します。-1の場合、画面の幅値を割り当てます。ツクールのデフォルト値:300 70 | @type number 71 | @min -1 72 | @default 600 73 | */ 74 | 75 | (() => { 76 | 'use strict'; 77 | 78 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 79 | const parameters = PluginManager.parameters(pluginName); 80 | const PRM = {}; 81 | PRM.escDistance = Number(parameters['escapeDistance'] || 600); 82 | 83 | Sprite_Actor.prototype.retreat = function () { 84 | if (PRM.escDistance === -1) { 85 | PRM.escDistance = Graphics.width; 86 | } 87 | this.startMove(PRM.escDistance, 0, 30); 88 | }; 89 | 90 | })(); -------------------------------------------------------------------------------- /MNKR_SwitchSave.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SwitchSave.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchSave.js 14 | @plugindesc If you open the save screen while the designated switch is ON, you will not be able to cancel. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | If you open the save screen while the designated switch is ON, you will not be 20 | able to cancel. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18+, etc.). 29 | 30 | @param cancelSwitch 31 | @text No Cancellation Switch 32 | @desc If you open the save screen while the specified switch is ON, you will not be able to cancel. If no switch is specified, it will always be the same as if the switch was ON. 33 | @type switch 34 | @default 0 35 | */ 36 | 37 | /*:ja 38 | @target MZ MV 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchSave.js 40 | @plugindesc 指定スイッチがONの時にセーブ画面を開くと、キャンセルできなくなります。 41 | @author munokura 42 | 43 | @help 44 | 指定スイッチがONの時にセーブ画面を開くと、キャンセルできなくなります。 45 | 46 | プラグインコマンドはありません。 47 | 48 | 49 | # 利用規約 50 | MITライセンスです。 51 | http://opensource.org/licenses/mit-license.php 52 | 作者に無断で改変、再配布が可能で、 53 | 利用形態(商用、18禁利用等)についても制限はありません。 54 | 55 | 56 | @param cancelSwitch 57 | @text キャンセル不可スイッチ 58 | @type switch 59 | @default 0 60 | @desc 指定スイッチがONの時にセーブ画面を開くと、キャンセルできなくなります。無指定だと常にスイッチONと同じになります。 61 | */ 62 | 63 | (() => { 64 | "use strict"; 65 | 66 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 67 | const parameters = PluginManager.parameters(pluginName); 68 | const cancelSwitch = Number(parameters['cancelSwitch'] || 0); 69 | 70 | const _Scene_File_createListWindow = Scene_File.prototype.createListWindow; 71 | Scene_File.prototype.createListWindow = function () { 72 | _Scene_File_createListWindow.call(this); 73 | const isSceneSave = SceneManager._scene.constructor.name === 'Scene_Save'; 74 | const cancelNg = cancelSwitch === 0 ? true : $gameSwitches.value(cancelSwitch); 75 | 76 | if (cancelNg && isSceneSave) { 77 | this._listWindow.setHandler('cancel', this.onSaveFailure.bind(this)); 78 | } 79 | }; 80 | 81 | })(); -------------------------------------------------------------------------------- /MNKR_MovePictureSwitchMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_MovePictureSwitchMZ.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MovePictureSwitchMZ.js 14 | @plugindesc The switch allows you to switch the picture movement coordinates between absolute and relative values. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | A switch allows you to switch the picture's movement coordinates between 20 | absolute and relative values. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18, etc.). 29 | 30 | @param switchPciture 31 | @text Relative Designation Switch 32 | @desc When the switch is ON, the coordinates of the picture to be moved are specified relative to the original. When the switch is not specified, the coordinates are always specified relative to the original. 33 | @type switch 34 | @default 0 35 | */ 36 | 37 | /*:ja 38 | @target MZ 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MovePictureSwitchMZ.js 40 | @plugindesc スイッチでピクチャの移動座標を絶対値と相対値とを切り替えられます。 41 | @author munokura 42 | 43 | @help 44 | スイッチでピクチャの移動座標を絶対値と相対値とを切り替えられます。 45 | 46 | 47 | プラグインコマンドはありません。 48 | 49 | 50 | # 利用規約 51 | MITライセンスです。 52 | http://opensource.org/licenses/mit-license.php 53 | 作者に無断で改変、再配布が可能で、 54 | 利用形態(商用、18禁利用等)についても制限はありません。 55 | 56 | 57 | @param switchPciture 58 | @text 相対指定スイッチ 59 | @type switch 60 | @default 0 61 | @desc 指定スイッチON時はピクチャの移動座標が相対指定になります。スイッチが無指定の場合、常に相対指定になります。 62 | */ 63 | 64 | (() => { 65 | "use strict"; 66 | 67 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 68 | const parameters = PluginManager.parameters(pluginName); 69 | const switchPciture = Number(parameters['switchPciture'] || 0); 70 | 71 | const _Game_Picture_move = Game_Picture.prototype.move; 72 | Game_Picture.prototype.move = function ( 73 | origin, x, y, scaleX, scaleY, opacity, blendMode, duration, easingType 74 | ) { 75 | if ($gameSwitches.value(switchPciture) || switchPciture === 0) { 76 | x += this.x(); 77 | y += this.y(); 78 | } 79 | _Game_Picture_move.call(this, origin, x, y, scaleX, scaleY, opacity, blendMode, duration, easingType); 80 | } 81 | 82 | })(); -------------------------------------------------------------------------------- /MNKR_AltSkillMenuMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_AltSkillMenuMZ.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2025 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AltSkillMenuMZ.js 14 | @plugindesc Simplify the skills screen in the main menu. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | # Function 20 | Simplifies the skills screen in the main menu. 21 | 22 | No plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, 18+, etc.). 29 | 30 | @param gaugeWidth 31 | @text Gauge Width 32 | @desc Specify the width of gauges such as HP 33 | @type number 34 | @default 352 35 | */ 36 | 37 | /*:ja 38 | @target MZ 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AltSkillMenuMZ.js 40 | @plugindesc メインメニュー内スキル画面をシンプルにします。 41 | @author munokura 42 | 43 | @help 44 | # 機能 45 | メインメニュー内スキル画面をシンプルにします。 46 | 47 | 48 | プラグインコマンドはありません。 49 | 50 | 51 | # 利用規約 52 | MITライセンスです。 53 | http://opensource.org/licenses/mit-license.php 54 | 作者に無断で改変、再配布が可能で、 55 | 利用形態(商用、18禁利用等)についても制限はありません。 56 | 57 | 58 | @param gaugeWidth 59 | @text ゲージ幅 60 | @desc HP等のゲージの幅を指定 61 | @type number 62 | @default 352 63 | */ 64 | 65 | (() => { 66 | "use strict"; 67 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 68 | const parameters = PluginManager.parameters(pluginName); 69 | 70 | const param = {}; 71 | param.gaugeWidth = Number(parameters['gaugeWidth'] || 396); 72 | 73 | const _Sprite_Gauge_bitmapWidth = Sprite_Gauge.prototype.bitmapWidth; 74 | Sprite_Gauge.prototype.bitmapWidth = function () { 75 | const isSkillMenu = SceneManager._scene.constructor === Scene_Skill; 76 | if (isSkillMenu) { 77 | const bitmapWidth = param.gaugeWidth; 78 | return bitmapWidth; 79 | } 80 | return _Sprite_Gauge_bitmapWidth.call(this); 81 | }; 82 | 83 | Window_SkillStatus.prototype.refresh = function () { 84 | Window_StatusBase.prototype.refresh.call(this); 85 | if (this._actor) { 86 | const x = this.colSpacing() / 2; 87 | const h = this.innerHeight; 88 | const y = h / 2 - this.lineHeight() * 1.5; 89 | this.drawActorSimpleStatus(this._actor, x, y); 90 | } 91 | }; 92 | 93 | })(); -------------------------------------------------------------------------------- /MNKR_ChangeEnemyHueMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ChangeEnemyHueMZ.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeEnemyHueMZ.js 14 | @plugindesc You can change the hue of enemy characters that have been given a state. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can change the hue of enemy characters assigned a state. 20 | 21 | Enter the following tag in the state's memo field. 22 | 23 | The hue value must be between 0 and 360. 24 | This tag changes the hue of enemy characters assigned the state with the tag. 25 | If multiple states are involved, the state with the lowest state ID takes 26 | priority. 27 | 28 | Example 29 | 30 | 31 | There are no plugin commands. 32 | 33 | # Terms of Use 34 | MIT License. 35 | http://opensource.org/licenses/mit-license.php 36 | You may modify and redistribute this without permission from the author, and 37 | there are no restrictions on its use (commercial, 18+, etc.). 38 | */ 39 | 40 | /*:ja 41 | @target MZ 42 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeEnemyHueMZ.js 43 | @plugindesc ステートが付与された敵キャラの色相を変更できます。 44 | @author munokura 45 | 46 | @help 47 | ステートが付与された敵キャラの色相を変更できます。 48 | 49 | ステートのメモ欄に下記のタグを入力してください。 50 | 51 | 色相値は0以上360以下で指定してください。 52 | タグが書かれたステートを付与された敵キャラの色相を変更します。 53 | 複数のステートが関係する場合、ステートIDが小さいものを優先します。 54 | 55 | 記入例 56 | 57 | 58 | 59 | プラグインコマンドはありません。 60 | 61 | 62 | # 利用規約 63 | MITライセンスです。 64 | http://opensource.org/licenses/mit-license.php 65 | 作者に無断で改変、再配布が可能で、 66 | 利用形態(商用、18禁利用等)についても制限はありません。 67 | */ 68 | 69 | (() => { 70 | "use strict"; 71 | 72 | const _Sprite_Enemy_updateBitmap = Sprite_Enemy.prototype.updateBitmap; 73 | Sprite_Enemy.prototype.updateBitmap = function () { 74 | _Sprite_Enemy_updateBitmap.call(this); 75 | const enemyStatesArray = this._enemy.states(); 76 | const hasHueStateObject = enemyStatesArray.find(value => value.meta.MNKR_ChangeEnemyHue); 77 | if (hasHueStateObject) { 78 | const hue = Number(hasHueStateObject.meta.MNKR_ChangeEnemyHue); 79 | if (this._battlerHue !== hue) { 80 | const name = this._enemy.battlerName(); 81 | this._battlerHue = hue; 82 | this.loadBitmap(name); 83 | this.setHue(hue); 84 | this.initVisibility(); 85 | } 86 | } 87 | }; 88 | 89 | })(); -------------------------------------------------------------------------------- /MNKR_SwitchMessageSpeed.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SwitchMessageSpeed.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchMessageSpeed.js 14 | @plugindesc Use the switch to disable the speed-up of "Text display" and "Text scrolling display." 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Use the switches to disable the "Text Display" and "Text Scrolling" 20 | acceleration. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18+, etc.). 29 | 30 | @param switchSpeed 31 | @text Speed-up disable switch 32 | @desc When the switch is ON, the text display acceleration is disabled. If the switch is not specified, it is always disabled. 33 | @type switch 34 | @default 0 35 | */ 36 | 37 | /*:ja 38 | @target MZ MV 39 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchMessageSpeed.js 40 | @plugindesc スイッチで「文章の表示」「文章のスクロール表示」の高速化を無効化します。 41 | @author munokura 42 | 43 | @help 44 | スイッチで「文章の表示」「文章のスクロール表示」の高速化を無効化します。 45 | 46 | 47 | プラグインコマンドはありません。 48 | 49 | 50 | # 利用規約 51 | MITライセンスです。 52 | http://opensource.org/licenses/mit-license.php 53 | 作者に無断で改変、再配布が可能で、 54 | 利用形態(商用、18禁利用等)についても制限はありません。 55 | 56 | 57 | @param switchSpeed 58 | @text 高速化無効化スイッチ 59 | @type switch 60 | @default 0 61 | @desc スイッチON時に文章の表示の高速化が無効化されます。スイッチが無指定の場合、常に無効化されます。 62 | */ 63 | 64 | (() => { 65 | "use strict"; 66 | 67 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 68 | const parameters = PluginManager.parameters(pluginName); 69 | const switchSpeed = Number(parameters['switchSpeed'] || 0); 70 | 71 | const _Window_Message_updateShowFast = Window_Message.prototype.updateShowFast; 72 | Window_Message.prototype.updateShowFast = function () { 73 | if ($gameSwitches.value(switchSpeed) || switchSpeed === 0) { 74 | } else { 75 | _Window_Message_updateShowFast.call(this); 76 | } 77 | }; 78 | 79 | Window_ScrollText.prototype.scrollSpeed = function () { 80 | let speed = $gameMessage.scrollSpeed() / 2; 81 | if (!($gameSwitches.value(switchSpeed) || switchSpeed === 0) && this.isFastForward()) { 82 | speed *= this.fastForwardRate(); 83 | } 84 | return speed; 85 | }; 86 | 87 | })(); -------------------------------------------------------------------------------- /MNKR_SyncPlayerStep.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SyncPlayerStep.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2025 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SyncPlayerStep.js 14 | @plugindesc Synchronizes the stepping animation of the player and follower. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | # Features 20 | By default, 21 | 22 | Event Command 23 | ◆ Set Movement Route: Player (Wait) 24 | : ◇ Walking Animation ON 25 | 26 | When you have the player step, the follower's stepping will not synchronize. 27 | 28 | This plugin synchronizes the follower's animation when walking in formation. 29 | 30 | # Usage 31 | ## Event Command (Start Stepping) 32 | ◆ Set Movement Route: Player (Wait) 33 | : ◇ Stepping Animation ON 34 | Turn stepping on with this command. 35 | 36 | ## Event Command (Stop Stepping) 37 | ◆ Set Movement Route: Player (Wait) 38 | : ◇ Stepping Animation OFF 39 | Turn stepping off with this command. 40 | 41 | There are no plugin commands. 42 | 43 | # Terms of Use 44 | MIT License. 45 | https://licenses.opensource.jp/MIT/MIT.html 46 | Modifications and redistribution are permitted without the author's 47 | permission, and there are no restrictions on use (commercial, 18+, etc.). 48 | */ 49 | 50 | /*:ja 51 | @target MZ MV 52 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SyncPlayerStep.js 53 | @plugindesc プレイヤーとフォロワーの足踏みアニメを同期します。 54 | @author munokura 55 | 56 | @help 57 | # 機能 58 | デフォルトでは、 59 | 60 | イベントコマンド 61 | ◆移動ルートの設定:プレイヤー (ウェイト) 62 | :        :◇歩行アニメON 63 | 64 | で、プレイヤーに足踏みをさせても、フォロワーの足並みが同期しません。 65 | 66 | 67 | このプラグインは、隊列歩行時にフォロワーのアニメを同期させます。 68 | 69 | # 使用方法 70 | ## イベントコマンド(足踏み開始) 71 | ◆移動ルートの設定:プレイヤー (ウェイト) 72 | :        :◇足踏みアニメON 73 | で足踏みをONにしてください。 74 | 75 | ## イベントコマンド(足踏み停止) 76 | ◆移動ルートの設定:プレイヤー (ウェイト) 77 | :        :◇足踏みアニメOFF 78 | で足踏みをOFFにしてください。 79 | 80 | プラグインコマンドはありません。 81 | 82 | 83 | # 利用規約 84 | MITライセンスです。 85 | https://licenses.opensource.jp/MIT/MIT.html 86 | 作者に無断で改変、再配布が可能で、 87 | 利用形態(商用、18禁利用等)についても制限はありません。 88 | */ 89 | 90 | (() => { 91 | "use strict"; 92 | 93 | const _Game_Follower_update = Game_Follower.prototype.update; 94 | Game_Follower.prototype.update = function () { 95 | _Game_Follower_update.call(this); 96 | if (!$gamePlayer.isMoving()) { 97 | this._pattern = $gamePlayer._pattern; 98 | this._animeCount = $gamePlayer._animeCount; 99 | } 100 | }; 101 | 102 | })(); -------------------------------------------------------------------------------- /MNKR_SurviveState.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SurviveState.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SurviveState.js 14 | @plugindesc You can create a clenched state. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can create a clenched state. 20 | 21 | # What is the clenched state? 22 | This state leaves 1 HP when an attack incapacitates the character. 23 | Once used, the state is canceled. 24 | Other settings will be determined by the state settings in the database. 25 | 26 | Specify the state using the plugin parameters. 27 | 28 | There are no plugin commands. 29 | 30 | # Terms of Use 31 | MIT License. 32 | http://opensource.org/licenses/mit-license.php 33 | You may modify and redistribute this without permission from the author, and 34 | there are no restrictions on its use (commercial, R18, etc.). 35 | 36 | @param surviveStateId 37 | @text Clenched State 38 | @desc Specifies the state to treat as a clenched state. 39 | @type state 40 | @default 0 41 | */ 42 | 43 | /*:ja 44 | @target MZ MV 45 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SurviveState.js 46 | @plugindesc くいしばりステートを作成できます。 47 | @author munokura 48 | 49 | @help 50 | くいしばりステートを作成できます。 51 | 52 | # くいしばりステートとは 53 | 攻撃を受け戦闘不能になる場合に、一度だけHPを1残すステートです。 54 | 一度、使用するとステートは解除されます。 55 | 他の設定はデータベースのステートの設定に従います。 56 | 57 | プラグインパラメーターでステートを指定してください。 58 | 59 | 60 | プラグインコマンドはありません。 61 | 62 | 63 | # 利用規約 64 | MITライセンスです。 65 | http://opensource.org/licenses/mit-license.php 66 | 作者に無断で改変、再配布が可能で、 67 | 利用形態(商用、18禁利用等)についても制限はありません。 68 | 69 | 70 | @param surviveStateId 71 | @text くいしばりステート 72 | @desc くいしばりステートとして扱うステートを指定します。 73 | @type state 74 | @default 0 75 | */ 76 | 77 | (() => { 78 | "use strict"; 79 | 80 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 81 | const parameters = PluginManager.parameters(pluginName); 82 | const PRM_surviveStateId = Number(parameters['surviveStateId'] || 0); 83 | 84 | const _Game_Battler_refresh = Game_Battler.prototype.refresh; 85 | Game_Battler.prototype.refresh = function () { 86 | Game_BattlerBase.prototype.refresh.call(this); 87 | const battlerStatesArray = this._states; 88 | const hasSurviveState = battlerStatesArray.find(value => value === PRM_surviveStateId); 89 | if (hasSurviveState && this.hp === 0) { 90 | this.setHp(1); 91 | this.removeState(PRM_surviveStateId); 92 | } else { 93 | _Game_Battler_refresh.call(this); 94 | } 95 | }; 96 | 97 | })(); -------------------------------------------------------------------------------- /MNKR_ProhibitSkill.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ProhibitSkill.js 4 | * Ver.0.0.4 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ProhibitSkill.js 14 | @plugindesc You can create items that cannot be used by actors who have already mastered the specified skill. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can create an item that cannot be used by actors who have learned a 20 | specified skill (range: single ally). 21 | 22 | Enter the following tag in the item's memo field: 23 | 24 | 25 | Example 26 | 27 | Cannot be used by actors who have learned skill ID 99. 28 | 29 | 30 | Cannot be used by actors who have learned skill ID 99, 100, or 101. 31 | 32 | Note 33 | The current version does not support the following: 34 | - Support for use in battle 35 | 36 | No plugin commands. 37 | 38 | # Terms of Use 39 | MIT License. 40 | http://opensource.org/licenses/mit-license.php 41 | You may modify and redistribute this item without permission, and there are no 42 | restrictions on its use (commercial, 18+, etc.). 43 | */ 44 | 45 | /*:ja 46 | @target MZ MV 47 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ProhibitSkill.js 48 | @plugindesc 指定スキルを習得済みのアクターに使えないアイテムを作れます。 49 | @author munokura 50 | 51 | @help 52 | 指定スキルを習得済みのアクターに使えないアイテム(範囲が味方単体)を作れます。 53 | 54 | アイテムのメモ欄に下記のようにタグを入れてください。 55 | 56 | 57 | 例 58 | 59 | ID99のスキルを覚えているアクターには使えません。 60 | 61 | 62 | ID99か100か101のいずれかスキルを覚えているアクターには使えません。 63 | 64 | 注意 65 | 現バージョンでは下記に対応していません。 66 | - 戦闘中での使用対応 67 | 68 | プラグインコマンドはありません。 69 | 70 | 71 | # 利用規約 72 | MITライセンスです。 73 | http://opensource.org/licenses/mit-license.php 74 | 作者に無断で改変、再配布が可能で、 75 | 利用形態(商用、18禁利用等)についても制限はありません。 76 | */ 77 | 78 | (() => { 79 | "use strict"; 80 | 81 | const _Game_Action_testApply = Game_Action.prototype.testApply; 82 | Game_Action.prototype.testApply = function (target) { 83 | if (this.prohibitSkill(target)) { 84 | return false; 85 | } 86 | return _Game_Action_testApply.call(this, target); 87 | }; 88 | 89 | Game_Action.prototype.prohibitSkill = function (target) { 90 | const itemMeta = this.item().meta.ProhibitSkill || false; 91 | if (target.isActor() && itemMeta) { 92 | const prohibitSkills = itemMeta.split(',').map(Number); 93 | const even = (element) => target.isLearnedSkill(element); 94 | return prohibitSkills.some(even); 95 | } 96 | return false; 97 | }; 98 | 99 | })(); -------------------------------------------------------------------------------- /MNKR_BattleStatusMaxColsMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_BattleStatusMaxColsMZ.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_BattleStatusMaxColsMZ.js 14 | @plugindesc You can specify the number of actors in the battle status window. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can specify the maximum number of actors in the battle status window. 20 | You can specify the gauge width. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, R18+, etc.). 29 | 30 | @param maxCols 31 | @text Maximum number of actors displayed in a window 32 | @desc Maximum number of actors displayed in a window 33 | @type number 34 | @default 1 35 | 36 | @param gaugeWidth 37 | @text Gauge Width 38 | @desc Specify the width of the gauge displayed in the menu 39 | @type number 40 | @default 576 41 | */ 42 | 43 | /*:ja 44 | @target MZ 45 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_BattleStatusMaxColsMZ.js 46 | @plugindesc 戦闘ステータスウィンドウ内のアクター数を指定できます。 47 | @author munokura 48 | 49 | @help 50 | 戦闘ステータスウィンドウ内の最大アクター数を指定できます。 51 | ゲージの幅を指定できます。 52 | 53 | プラグインコマンドはありません。 54 | 55 | 56 | # 利用規約 57 | MITライセンスです。 58 | http://opensource.org/licenses/mit-license.php 59 | 作者に無断で改変、再配布が可能で、 60 | 利用形態(商用、18禁利用等)についても制限はありません。 61 | 62 | 63 | @param maxCols 64 | @text ウィンドウ内の最大表示アクター数 65 | @type number 66 | @desc ウィンドウ内の最大表示アクター数 67 | ツクールデフォルト:4 68 | @default 1 69 | 70 | @param gaugeWidth 71 | @text ゲージ幅 72 | @type number 73 | @desc メニューで表示されるゲージの幅を指定 74 | ツクールデフォルト:128 75 | @default 576 76 | */ 77 | 78 | (() => { 79 | 'use strict'; 80 | 81 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 82 | const parameters = PluginManager.parameters(pluginName); 83 | const PRM_maxCols = Number(parameters['maxCols'] || 1); 84 | const PRM_gaugeWidth = Number(parameters['gaugeWidth'] || 576); 85 | 86 | Window_BattleStatus.prototype.maxCols = function () { 87 | return PRM_maxCols; 88 | }; 89 | 90 | //戦闘シーンのゲージ幅のみ変更 91 | const _Sprite_Gauge_bitmapWidth = Sprite_Gauge.prototype.bitmapWidth; 92 | Sprite_Gauge.prototype.bitmapWidth = function () { 93 | const isSceneBattle = SceneManager._scene.constructor.name === 'Scene_Battle'; 94 | return isSceneBattle ? PRM_gaugeWidth : _Sprite_Gauge_bitmapWidth.call(this); 95 | }; 96 | 97 | })(); -------------------------------------------------------------------------------- /MNKR_TMTopFixMZ_DarkPlasma_FormationPatch.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TMTopFixMZ_DarkPlasma_FormationPatch.js 4 | * Ver.3.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMTopFixMZ_DarkPlasma_FormationPatch.js 14 | @plugindesc Patch to apply the function of MNKR_TMTopFixMZ to DarkPlasma_Formation 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | In DarkPlasma_Formation scenes, 20 | this prevents the actor at the front of the party from being rearranged. 21 | Tested with DarkPlasma_Formation Ver. 3.0.0. 22 | 23 | # How to Use 24 | Turn on DarkPlasma_Formation and MNKR_TMTopFixMZ in the Plugin Manager. 25 | Turn on MNKR_TMTopFixMZ_DarkPlasma_FormationPatch in the Plugin Manager and 26 | place it below DarkPlasma_Formation. 27 | 28 | ## Example of Plugin Manager Arrangement 29 | DarkPlasma_Formation 30 | MNKR_TMTopFixMZ 31 | MNKR_TMTopFixMZ_DarkPlasma_FormationPatch 32 | 33 | There are no plugin commands. 34 | 35 | # Terms of Use 36 | MIT License. 37 | http://opensource.org/licenses/mit-license.php 38 | You may modify and redistribute this without permission from the author, and 39 | there are no restrictions on its use (commercial, R18, etc.). 40 | */ 41 | 42 | /*:ja 43 | @target MZ 44 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMTopFixMZ_DarkPlasma_FormationPatch.js 45 | @plugindesc MNKR_TMTopFixMZの機能をDarkPlasma_Formationに適用するパッチ 46 | @author munokura 47 | @base DarkPlasma_Formation 48 | @base MNKR_TMTopFixMZ 49 | @orderAfter DarkPlasma_Formation 50 | 51 | @help 52 | DarkPlasma_Formation のシーンにおいて、 53 | パーティの先頭にいるアクターの並び替えを禁止します。 54 | DarkPlasma_Formation Ver3.0.0 で動作確認しています。 55 | 56 | # 使い方 57 | DarkPlasma_Formation と MNKR_TMTopFixMZ をプラグイン管理でONにします。 58 | MNKR_TMTopFixMZ_DarkPlasma_FormationPatch をプラグイン管理でONにし、 59 | DarkPlasma_Formation の下側に配置してください。 60 | 61 | ## プラグイン管理の並び例 62 | DarkPlasma_Formation 63 | MNKR_TMTopFixMZ 64 | MNKR_TMTopFixMZ_DarkPlasma_FormationPatch 65 | 66 | 67 | プラグインコマンドはありません。 68 | 69 | 70 | # 利用規約 71 | MITライセンスです。 72 | http://opensource.org/licenses/mit-license.php 73 | 作者に無断で改変、再配布が可能で、 74 | 利用形態(商用、18禁利用等)についても制限はありません。 75 | */ 76 | 77 | (() => { 78 | 'use strict'; 79 | 80 | const _Window_FormationBattleMember_isCurrentItemEnabled = Window_FormationBattleMember.prototype.isCurrentItemEnabled; 81 | Window_FormationBattleMember.prototype.isCurrentItemEnabled = function () { 82 | if ($gameSystem.isTopFix() && this.index() === 0) { 83 | return false; 84 | } 85 | return _Window_FormationBattleMember_isCurrentItemEnabled.call(this); 86 | }; 87 | 88 | })(); -------------------------------------------------------------------------------- /MNKR_OpenWindowLinks.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_OpenWindowLinks.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_OpenWindowLinks.js 14 | @plugindesc Adds a plugin command that opens the specified URL in a new window. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Provides a plugin command that opens a specified URL in a new window. 20 | 21 | # Terms of Use 22 | MIT License. 23 | http://opensource.org/licenses/mit-license.php 24 | Modifications and redistribution are permitted without permission from the 25 | author, 26 | and there are no restrictions on usage (commercial, 18+, etc.). 27 | 28 | # Acknowledgments 29 | The main part of the code is published by Triacontane. 30 | https://gist.github.com/triacontane/8992baccfb35f985ec93107b8ced6c30 31 | We would like to express our gratitude to Triacontane for his work. 32 | 33 | @command newWindow 34 | @text New Window Open URL 35 | @desc Opens the specified URL in a browser. 36 | @arg text 37 | @text URL 38 | @desc Set the URL to open. 39 | @type string 40 | */ 41 | 42 | /*:ja 43 | @target MZ 44 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_OpenWindowLinks.js 45 | @plugindesc 新しいウィンドウに指定されたURLを開くプラグインコマンドを追加します。 46 | @author munokura 47 | 48 | @help 49 | 新しいウィンドウに指定されたURLを開くプラグインコマンドを提供します。 50 | 51 | 52 | # 利用規約 53 | MITライセンスです。 54 | http://opensource.org/licenses/mit-license.php 55 | 作者に無断で改変、再配布が可能で、 56 | 利用形態(商用、18禁利用等)についても制限はありません。 57 | 58 | 59 | # 謝辞 60 | コードの主要部分はトリアコンタン氏が公開しているコードです。 61 | https://gist.github.com/triacontane/8992baccfb35f985ec93107b8ced6c30 62 | トリアコンタン氏の活動に感謝申し上げます。 63 | 64 | 65 | @command newWindow 66 | @text New Window Open URL 67 | @desc 指定のURLをブラウザで開きます。 68 | 69 | @arg text 70 | @type string 71 | @text URL 72 | @desc 開くURLを設定します。 73 | */ 74 | 75 | (() => { 76 | 'use strict'; 77 | 78 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 79 | let url = ""; 80 | 81 | PluginManager.registerCommand(pluginName, "newWindow", args => { 82 | url = String(args.text); 83 | 84 | if (Utils.isNwjs()) { 85 | var exec = require('child_process').exec; 86 | switch (process.platform) { 87 | case 'win32': 88 | exec('rundll32.exe url.dll,FileProtocolHandler "' + url + '"'); 89 | break; 90 | default: 91 | exec('open "' + url + '"'); 92 | break; 93 | } 94 | } else { 95 | window.open(url); 96 | } 97 | }); 98 | 99 | })(); -------------------------------------------------------------------------------- /MNKR_AddTitleLink.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_AddTitleLink.js 4 | * Ver.0.0.6 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AddTitleLink.js 14 | @plugindesc Adds a link command to the title menu. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Adds a link command to the title menu. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param commandText 30 | @text Command Display Name 31 | @desc Command name to display in the title menu 32 | @default Website 33 | 34 | @param url 35 | @text URL 36 | @desc Link URL 37 | @default https://tkool.jp/mz/ 38 | */ 39 | 40 | /*:ja 41 | @target MZ MV 42 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AddTitleLink.js 43 | @plugindesc タイトルメニューにリンクコマンドを追加します。 44 | @author munokura 45 | 46 | @help 47 | タイトルメニューにリンクコマンドを追加します。 48 | 49 | 50 | プラグインコマンドはありません。 51 | 52 | 53 | # 利用規約 54 | MITライセンスです。 55 | http://opensource.org/licenses/mit-license.php 56 | 作者に無断で改変、再配布が可能で、 57 | 利用形態(商用、18禁利用等)についても制限はありません。 58 | 59 | 60 | @param commandText 61 | @text コマンド表示名 62 | @desc タイトルメニューに表示するコマンド名 63 | @default サイトリンク 64 | 65 | @param url 66 | @text URL 67 | @typr string 68 | @desc リンク先のURL 69 | @default https://tkool.jp/mz/ 70 | */ 71 | 72 | (() => { 73 | 'use strict'; 74 | 75 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 76 | const parameters = PluginManager.parameters(pluginName); 77 | const PRM_commandText = parameters['commandText'] || "サイトリンク"; 78 | const PRM_url = parameters['url'] || "https://tkool.jp/mz/"; 79 | 80 | const _Window_TitleCommand_prototype_makeCommandList = Window_TitleCommand.prototype.makeCommandList; 81 | Window_TitleCommand.prototype.makeCommandList = function () { 82 | _Window_TitleCommand_prototype_makeCommandList.call(this); 83 | this.addCommand(PRM_commandText, "MNKR_urlCommandName"); 84 | }; 85 | 86 | const _Scene_Title_prototype_createCommandWindow = Scene_Title.prototype.createCommandWindow; 87 | Scene_Title.prototype.createCommandWindow = function () { 88 | _Scene_Title_prototype_createCommandWindow.call(this); 89 | this._commandWindow.setHandler("MNKR_urlCommandName", this.MNKR_urlCommand.bind(this)); 90 | }; 91 | 92 | Scene_Title.prototype.MNKR_urlCommand = function () { 93 | window.open(PRM_url); 94 | this._commandWindow.activate(); 95 | }; 96 | 97 | })(); -------------------------------------------------------------------------------- /MNKR_SelectCollapseSe.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SelectCollapseSe.js 4 | * Ver.0.0.5 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SelectCollapseSe.js 14 | @plugindesc You can specify the sound effect for enemy disappearance for each enemy character. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can specify the enemy disappearance sound effect for each enemy character. 20 | 21 | Enter the following tag in the enemy character's memo field: 22 | 23 | 24 | Required. File name in audio/se/. Case-sensitive. Extension omitted. 25 | 26 | 27 | If omitted, it will behave the same as . 28 | 29 | No plugin commands. 30 | 31 | # Terms of Use 32 | MIT License. 33 | http://opensource.org/licenses/mit-license.php 34 | Modifications and redistribution are permitted without the author's 35 | permission, and there are no restrictions on usage (commercial, 18+, etc.). 36 | */ 37 | 38 | /*:ja 39 | @target MZ MV 40 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SelectCollapseSe.js 41 | @plugindesc 敵消滅の効果音を敵キャラ毎に指定できます。 42 | @author munokura 43 | 44 | @help 45 | 敵消滅の効果音を敵キャラ毎に指定できます。 46 | 47 | 下記のタグを敵キャラのメモ欄に入れてください。 48 | 49 | 50 | ※必須。audio/se/内のファイル名。大文字小文字を区別。拡張子省略。 51 | 52 | 53 | ※省略時は と同動作になります。 54 | 55 | 56 | プラグインコマンドはありません。 57 | 58 | 59 | # 利用規約 60 | MITライセンスです。 61 | http://opensource.org/licenses/mit-license.php 62 | 作者に無断で改変、再配布が可能で、 63 | 利用形態(商用、18禁利用等)についても制限はありません。 64 | 65 | 66 | @noteParam CollapseSeFile 67 | @noteRequire 1 68 | @noteDir audio/se/ 69 | @noteType file 70 | @noteData enemies 71 | */ 72 | 73 | (() => { 74 | "use strict"; 75 | 76 | const _Game_Enemy_performCollapse = Game_Enemy.prototype.performCollapse; 77 | Game_Enemy.prototype.performCollapse = function () { 78 | Game_Battler.prototype.performCollapse.call(this); 79 | const collapseSe = this.enemy().meta.CollapseSeFile || false; 80 | if (collapseSe) { 81 | this.performCollapseMetaSe(collapseSe); 82 | } else { 83 | _Game_Enemy_performCollapse.call(this); 84 | } 85 | }; 86 | 87 | Game_Enemy.prototype.performCollapseMetaSe = function (collapseSe) { 88 | Game_Battler.prototype.performCollapse.call(this); 89 | if (this.collapseType() === 0) { 90 | const VppMeta = this.enemy().meta.CollapseVPP; 91 | const seParam = VppMeta ? VppMeta.split(',').map(Number) : [90, 100, 0]; 92 | const collapseSeAudio = { "name": collapseSe, "volume": seParam[0], "pitch": seParam[1], "pan": seParam[2] }; 93 | this.requestEffect('collapse'); 94 | AudioManager.playSe(collapseSeAudio); 95 | } 96 | }; 97 | 98 | })(); -------------------------------------------------------------------------------- /MNKR_PartyCommandSkipMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_PartyCommandSkipMZ.js 4 | * Ver.1.1.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_PartyCommandSkipMZ.js 14 | @plugindesc At the start of battle, party commands will be skipped and you will start with actor commands. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Skips party commands at the start of battle and starts with actor commands. 20 | 21 | In turn-based mode, canceling with the leading actor will return to party 22 | commands. 23 | 24 | Cancelling in the party command window will result in choosing "Fight." 25 | 26 | There are no plugin commands. 27 | 28 | # Terms of Use 29 | MIT License. 30 | http://opensource.org/licenses/mit-license.php 31 | Modifications and redistribution are permitted without permission from the 32 | author, and there are no restrictions on use (commercial, R18, etc.). 33 | */ 34 | 35 | /*:ja 36 | @target MZ 37 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_PartyCommandSkipMZ.js 38 | @plugindesc 戦闘開始時にパーティコマンドをスキップし、アクターコマンドから開始します。 39 | @author munokura 40 | 41 | @help 42 | 戦闘開始時にパーティコマンドをスキップし、アクターコマンドから開始します。 43 | 44 | ターン制では、先頭のアクターでキャンセルすると、パーティコマンドに戻ります。 45 | 46 | パーティコマンドウィンドウでキャンセルすると、戦うを選んだ状態になります。 47 | 48 | 49 | プラグインコマンドはありません。 50 | 51 | 52 | # 利用規約 53 | MITライセンスです。 54 | http://opensource.org/licenses/mit-license.php 55 | 作者に無断で改変、再配布が可能で、 56 | 利用形態(商用、18禁利用等)についても制限はありません。 57 | */ 58 | 59 | (() => { 60 | 61 | 'use strict'; 62 | 63 | const _Scene_Battle_createPartyCommandWindow = Scene_Battle.prototype.createPartyCommandWindow 64 | Scene_Battle.prototype.createPartyCommandWindow = function () { 65 | _Scene_Battle_createPartyCommandWindow.call(this); 66 | this._partyCommandWindow.setHandler('cancel', this.commandFight.bind(this)); 67 | }; 68 | 69 | const _Scene_Battle_startPartyCommandSelection = Scene_Battle.prototype.startPartyCommandSelection; 70 | Scene_Battle.prototype.startPartyCommandSelection = function () { 71 | if (this._partyCommandSkipped && !($dataSystem.battleSystem === 0)) { 72 | _Scene_Battle_startPartyCommandSelection.call(this); 73 | } else { 74 | this._partyCommandSkipped = true; 75 | this.selectNextCommand(); 76 | } 77 | }; 78 | 79 | Scene_Battle.prototype.selectPreviousCommand = function () { 80 | BattleManager.selectPreviousCommand(); 81 | if (BattleManager.isInputting() && BattleManager.actor()) { 82 | this.startActorCommandSelection(); 83 | } else { 84 | _Scene_Battle_startPartyCommandSelection.call(this); 85 | } 86 | }; 87 | 88 | })(); -------------------------------------------------------------------------------- /MNKR_SwitchSell.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SwitchSell.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchSell.js 14 | @plugindesc When the specified switch is ON, it will create an item that cannot be sold. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Creates items, weapons, and armor that cannot be sold when the specified 20 | switch is ON. 21 | Enter 22 | in the memo field for items, etc. 23 | 24 | When the switch specified in the plugin parameters is ON, 25 | the item will not be able to be sold in the shop. 26 | 27 | Creates items that can be purchased but cannot be sold. 28 | 29 | # Contact Information 30 | This is a plugin originally created for RPG Maker MV ported for MZ. 31 | Please contact the modifier for any inquiries. 32 | 33 | # Terms of Use 34 | MIT License. 35 | http://opensource.org/licenses/mit-license.php 36 | You may modify and redistribute this without permission from the author, 37 | and there are no restrictions on its use (commercial, 18+, etc.). 38 | 39 | @param switchId 40 | @text No Sale Switch 41 | @desc When ON, items with note tags cannot be sold. 42 | @type switch 43 | @default 0 44 | */ 45 | 46 | /*:ja 47 | @target MZ MV 48 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SwitchSell.js 49 | @plugindesc 指定スイッチがONの時、売却できないアイテムを作ります。 50 | @author munokura 51 | 52 | @help 53 | 指定スイッチがONの時、売却できないアイテム・武器・防具を作ります。 54 | アイテム等のメモ欄に 55 | 56 | と入れてください。 57 | 58 | プラグインパラメーターで指定したスイッチがONの時に、 59 | ショップで売却できなくなります。 60 | 61 | 購入可能で、売却不可のアイテムが作れます。 62 | 63 | 64 | # 問い合わせ先 65 | これはRPGツクールMV用に作成されたプラグインをMZ用に移植したものです。 66 | お問い合わせは改変者へお願いいたします。 67 | 68 | 69 | # 利用規約 70 | MITライセンスです。 71 | http://opensource.org/licenses/mit-license.php 72 | 作者に無断で改変、再配布が可能で、 73 | 利用形態(商用、18禁利用等)についても制限はありません。 74 | 75 | 76 | @param switchId 77 | @text 売却不可スイッチ 78 | @type switch 79 | @default 0 80 | @desc ON時にメモタグがあるアイテムが売却不可になります。 81 | 無指定の場合、常に売却できなくなります。 82 | */ 83 | 84 | (() => { 85 | "use strict"; 86 | 87 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 88 | const parameters = PluginManager.parameters(pluginName); 89 | const switchId = Number(parameters['switchId'] || 0); 90 | 91 | const _Window_ShopSell_isEnabled = Window_ShopSell.prototype.isEnabled; 92 | Window_ShopSell.prototype.isEnabled = function (item) { 93 | const switchSell = switchId === 0 ? true : $gameSwitches.value(switchId); 94 | var isTag = false; 95 | if (item && item.meta) { 96 | isTag = item.meta.MNKR_SwitchSell; 97 | } 98 | return (switchSell && isTag) ? false : _Window_ShopSell_isEnabled.call(this, item); 99 | }; 100 | 101 | })(); -------------------------------------------------------------------------------- /MNKR_SkillRandomAnime.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SkillRandomAnime.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2025 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SkillRandomAnime.js 14 | @plugindesc Randomly selects and plays animations for skills and items. Only works during battle. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Randomly selects and plays a skill/item animation from a list of options. 20 | Only works during battle. 21 | 22 | Enter the animation ID in the skill/item memo field using the following 23 | format: 24 | 25 | 26 | Specify multiple animation IDs, separated by commas. 27 | One of the specified animation IDs will be randomly selected and played. 28 | 29 | No plugin commands are available. 30 | 31 | # Terms of Use 32 | MIT License. 33 | http://opensource.org/licenses/mit-license.php 34 | Modification and redistribution are permitted without permission from the 35 | author, 36 | and there are no restrictions on usage (commercial, R18+, etc.). 37 | */ 38 | 39 | /*:ja 40 | @target MZ MV 41 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SkillRandomAnime.js 42 | @plugindesc スキル・アイテムのアニメーションを候補からランダムに選んで再生します。戦闘中のみで動作します。 43 | @author munokura 44 | 45 | @help 46 | スキル・アイテムのアニメーションを候補からランダムに選んで再生します。 47 | 戦闘中のみで動作します。 48 | 49 | スキル・アイテムのメモ欄に以下の書式でアニメーションIDを記述してください。 50 | 51 | 52 | カンマ区切りで複数のアニメーションIDを指定します。 53 | 指定されたアニメーションIDの中からランダムで1つ選ばれ、再生されます。 54 | 55 | 56 | プラグインコマンドはありません。 57 | 58 | 59 | # 利用規約 60 | MITライセンスです。 61 | http://opensource.org/licenses/mit-license.php 62 | 作者に無断で改変、再配布が可能で、 63 | 利用形態(商用、18禁利用等)についても制限はありません。 64 | */ 65 | 66 | (() => { 67 | "use strict"; 68 | 69 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 70 | 71 | let _itemMetaArr = null; 72 | 73 | const _Window_BattleLog_startAction = Window_BattleLog.prototype.startAction; 74 | Window_BattleLog.prototype.startAction = function (subject, action, targets) { 75 | _Window_BattleLog_startAction.call(this, subject, action, targets); 76 | const itemMeta = action.item().meta[pluginName]; 77 | _itemMetaArr = itemMeta ? itemMeta.split(',').map(Number) : null; 78 | }; 79 | 80 | const _Window_BattleLog_showAnimation = Window_BattleLog.prototype.showAnimation; 81 | Window_BattleLog.prototype.showAnimation = function ( 82 | subject, targets, animationId 83 | ) { 84 | if (!_itemMetaArr) { 85 | _Window_BattleLog_showAnimation.call(this, subject, targets, animationId); 86 | return; 87 | } 88 | const randomIndex = Math.floor(Math.random() * _itemMetaArr.length); 89 | const selectedAnimationId = _itemMetaArr[randomIndex]; 90 | this.showNormalAnimation(targets, selectedAnimationId); 91 | }; 92 | 93 | })(); -------------------------------------------------------------------------------- /MNKR_RandomEnemies.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_RandomEnemies.js 4 | * Ver.1.0.5 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_RandomEnemies.js 14 | @plugindesc Randomly swaps enemy characters in enemy groups. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Randomly swaps enemy characters in an enemy group. 20 | 21 | Enter tags in the enemy character's memo field as follows: 22 | 23 | 24 | 0 will be hidden. 25 | 26 | Example 27 | 28 | 29 | Caution! 30 | Do not use the following tags, as they will cause an infinite loop. 31 | 32 | 33 | There are no plugin commands. 34 | 35 | # Terms of Use 36 | MIT License. 37 | http://opensource.org/licenses/mit-license.php 38 | Modifications and redistribution are permitted without permission from the 39 | author, and there are no restrictions on use (commercial, 18+, etc.). 40 | */ 41 | 42 | /*:ja 43 | @target MZ MV 44 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_RandomEnemies.js 45 | @plugindesc 敵グループの敵キャラをランダムに入れ替えます。 46 | @help 47 | 敵グループの敵キャラをランダムに入れ替えます。 48 | 49 | 敵キャラのメモ欄に下記のようにタグを入れてください。 50 | 51 | 52 | 0は非表示になります。 53 | 54 | 例 55 | 56 | 57 | 注意! 58 | 下記のタグは無限ループが発生するため、使用しないでください。 59 | 60 | 61 | プラグインコマンドはありません。 62 | 63 | 64 | # 利用規約 65 | MITライセンスです。 66 | http://opensource.org/licenses/mit-license.php 67 | 作者に無断で改変、再配布が可能で、 68 | 利用形態(商用、18禁利用等)についても制限はありません。 69 | */ 70 | 71 | (() => { 72 | 'use strict'; 73 | 74 | const _Game_Troop_setup = Game_Troop.prototype.setup; 75 | Game_Troop.prototype.setup = function (troopId) { 76 | _Game_Troop_setup.call(this, troopId); 77 | let condition = true; 78 | while (condition) { 79 | this.clear(); 80 | this._troopId = troopId; 81 | this._enemies = []; 82 | this.troop().members.forEach(function (member) { 83 | const randomEnemyId = selectEnemyId($dataEnemies[member.enemyId]); 84 | const enemy = new Game_Enemy(randomEnemyId || member.enemyId, member.x, member.y); 85 | if (randomEnemyId === 0 || member.hidden) { 86 | enemy.hide(); 87 | } else { 88 | condition = false; 89 | }; 90 | this._enemies.push(enemy); 91 | }, this); 92 | this.makeUniqueNames(); 93 | }; 94 | }; 95 | 96 | function selectEnemyId(enemyArray) { 97 | if (!enemyArray.meta.RandomEnemy) { 98 | return null; 99 | }; 100 | const pool = enemyArray.meta.RandomEnemy.split(',').map(Number); 101 | return Number(pool[Math.randomInt(pool.length)]); 102 | }; 103 | 104 | })(); -------------------------------------------------------------------------------- /MNKR_LevelUpCommon.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_LevelUpCommon.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LevelUpCommon.js 14 | @plugindesc After leveling up, perform a common event on the map screen. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Executes common events on the map screen after leveling up. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission from the author, and 27 | there are no restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param levelUpCommon 30 | @text Common Events 31 | @desc Common events that can be performed on the map screen after leveling up 32 | @type common_event 33 | @default 0 34 | 35 | @param raiseSwitch 36 | @text Enable switch 37 | @desc This plug-in will run when the specified switch is ON. If it is set to "None", it will always run. 38 | @type switch 39 | @default 0 40 | */ 41 | 42 | /*:ja 43 | @target MZ MV 44 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LevelUpCommon.js 45 | @plugindesc レベルアップ後にマップ画面でコモンイベントを実行します。 46 | @author munokura 47 | 48 | @help 49 | レベルアップ後にマップ画面でコモンイベントを実行します。 50 | 51 | 52 | プラグインコマンドはありません。 53 | 54 | 55 | # 利用規約 56 | MITライセンスです。 57 | http://opensource.org/licenses/mit-license.php 58 | 作者に無断で改変、再配布が可能で、 59 | 利用形態(商用、18禁利用等)についても制限はありません。 60 | 61 | 62 | @param levelUpCommon 63 | @text コモンイベント 64 | @type common_event 65 | @default 0 66 | @desc レベルアップ後にマップ画面で実行するコモンイベント 67 | 68 | @param raiseSwitch 69 | @text 有効化スイッチ 70 | @desc 指定スイッチがONの時、このプラグインを動作させます。「なし」の場合、常に動作します。 71 | @type switch 72 | @default 0 73 | */ 74 | 75 | (() => { 76 | "use strict"; 77 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 78 | const parameters = PluginManager.parameters(pluginName); 79 | const param = {}; 80 | param.levelUpCommon = Number(parameters['levelUpCommon'] || 0); 81 | param.raiseSwitch = Number(parameters['raiseSwitch'] || 0); 82 | 83 | const MNKR_LevelUpCommon = { 84 | levelUp: false 85 | }; 86 | 87 | const _Game_Actor_levelUp = Game_Actor.prototype.levelUp; 88 | Game_Actor.prototype.levelUp = function () { 89 | const raise = param.raiseSwitch === 0 ? true : $gameSwitches.value(param.raiseSwitch); 90 | if (raise) { 91 | MNKR_LevelUpCommon.levelUp = true; 92 | } 93 | _Game_Actor_levelUp.call(this); 94 | }; 95 | 96 | const _Scene_Map_update = Scene_Map.prototype.update; 97 | Scene_Map.prototype.update = function () { 98 | if (MNKR_LevelUpCommon.levelUp) { 99 | $gameTemp.reserveCommonEvent(param.levelUpCommon); 100 | MNKR_LevelUpCommon.levelUp = false; 101 | } 102 | _Scene_Map_update.call(this); 103 | }; 104 | 105 | })(); -------------------------------------------------------------------------------- /MNKR_InitTp.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_InitTp.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_InitTp.js 14 | @plugindesc Actor TP at the start of battle is added based on equipment and skills. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | By default, TP is added to all battlers at the start of battle between 0 and 20 | 24. 21 | This plugin adds TP based on the actor's equipment and skills in addition to 22 | the default value. 23 | It does not affect enemy characters. 24 | 25 | # How to Use 26 | Enter the following in the memo field of the actor's weapon, armor, or skill. 27 | 28 | 29 | ## Example 30 | 31 | Actors with weapons, armor, or skills containing this tag will receive an 32 | increment of TP at the start of battle equal to the tag increment. 33 | Entering a negative value will result in a subtraction. 34 | 35 | There are no plugin commands. 36 | 37 | # Terms of Use 38 | MIT License. 39 | http://opensource.org/licenses/mit-license.php 40 | Modification and redistribution are permitted without permission from the 41 | author, and there are no restrictions on use (commercial, 18+, etc.). 42 | */ 43 | 44 | /*:ja 45 | @target MZ MV 46 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_InitTp.js 47 | @plugindesc 戦闘開始時のアクターTPが装備・スキルによって加算されます。 48 | @author munokura 49 | 50 | @help 51 | デフォルトでは戦闘開始時にバトラー全体へTPが0から24加算されます。 52 | 当プラグインはデフォルト加算値に追加で、 53 | アクターの装備・スキルによるTPが加算されます。 54 | 敵キャラには影響しません。 55 | 56 | 57 | # 使用方法 58 | アクターが使用する武器・防具・スキルのメモ欄に下記を入れます。 59 | 60 | 61 | ## 例 62 | 63 | このタグが入っている武器・防具・スキルがあるアクターは戦闘開始時に、 64 | タグの増加量だけ、戦闘開始時にTPが加算されます。 65 | 負の値(マイナス値)を入れると、減算されます。 66 | 67 | 68 | プラグインコマンドはありません。 69 | 70 | 71 | # 利用規約 72 | MITライセンスです。 73 | http://opensource.org/licenses/mit-license.php 74 | 作者に無断で改変、再配布が可能で、 75 | 利用形態(商用、18禁利用等)についても制限はありません。 76 | */ 77 | 78 | (() => { 79 | "use strict"; 80 | 81 | const _Game_Battler_initTp = Game_Battler.prototype.initTp; 82 | Game_Battler.prototype.initTp = function () { 83 | _Game_Battler_initTp.call(this); 84 | let addendTp = 0; 85 | let MNKR_InitTp = 0; 86 | let i = 0; 87 | if (this.isActor()) { 88 | for (i = 0; i < this.equips().length; i++) { 89 | addendTp = this.equips()[i] ? parseInt(this.equips()[i].meta.MNKR_InitTp, 10) : 0; 90 | if (addendTp) { 91 | MNKR_InitTp += addendTp; 92 | } 93 | } 94 | for (i = 0; i < this.skills().length; i++) { 95 | addendTp = this.skills()[i] ? parseInt(this.skills()[i].meta.MNKR_InitTp, 10) : 0; 96 | if (addendTp) { 97 | MNKR_InitTp += addendTp; 98 | } 99 | } 100 | } 101 | this.gainTp(MNKR_InitTp); 102 | }; 103 | 104 | })(); -------------------------------------------------------------------------------- /MNKR_NoLose.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_NoLose.js 4 | * Ver.1.2.3 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_NoLose.js 14 | @plugindesc Even if you are wiped out in battle, it won't be a game over. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | When the switch specified by the parameter is ON, 20 | a complete elimination in battle does not result in a game over. 21 | Instead, the game transitions to the map screen and a common event is 22 | executed. 23 | 24 | There are no plugin commands. 25 | 26 | # Terms of Use 27 | MIT License. 28 | http://opensource.org/licenses/mit-license.php 29 | You may modify and redistribute this without permission from the author, and 30 | there are no restrictions on its use (commercial, R18, etc.). 31 | 32 | @param switchId 33 | @text Switch ID 34 | @desc If you do not specify the switch ID to activate, the common event will not be executed, but the unit will not be wiped out. 35 | @type switch 36 | @default 0 37 | 38 | @param commonId 39 | @text Common Event ID 40 | @desc Common event executed when all enemies are wiped out 41 | @type common_event 42 | @default 0 43 | */ 44 | 45 | /*:ja 46 | @target MZ MV 47 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_NoLose.js 48 | @plugindesc 戦闘で全滅してもゲームオーバーになりません。 49 | @author munokura 50 | 51 | @help 52 | パラメーターで指定したスイッチがONの時、 53 | 戦闘で全滅するとゲームオーバーにならず、 54 | マップ画面へ移行後にコモンイベントを実行します。 55 | 56 | プラグインコマンドはありません。 57 | 58 | 59 | # 利用規約 60 | MITライセンスです。 61 | http://opensource.org/licenses/mit-license.php 62 | 作者に無断で改変、再配布が可能で、 63 | 利用形態(商用、18禁利用等)についても制限はありません。 64 | 65 | 66 | @param switchId 67 | @text スイッチID 68 | @type switch 69 | @desc 発動させるスイッチID。指定しない場合、全滅しませんがコモンイベントを実行しなくなります。 70 | @default 0 71 | 72 | @param commonId 73 | @type common_event 74 | @text コモンイベントID 75 | @desc 全滅時に実行するコモンイベント 76 | 戦闘終了後にマップで実行されます。 77 | @default 0 78 | */ 79 | 80 | (() => { 81 | 82 | 'use strict' 83 | 84 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 85 | const parameters = PluginManager.parameters(pluginName); 86 | const switchId = Number(parameters['switchId'] || 0); 87 | const commonId = Number(parameters['commonId'] || 0); 88 | 89 | const _BattleManager_setup = BattleManager.setup 90 | BattleManager.setup = function (troopId, canEscape, canLose) { 91 | _BattleManager_setup.apply(this, arguments); 92 | if ($gameSwitches.value(switchId)) { 93 | this._canLose = true; 94 | } 95 | }; 96 | 97 | const _BattleManager_updateBattleEnd = BattleManager.updateBattleEnd 98 | BattleManager.updateBattleEnd = function () { 99 | const isAllDead = $gameParty.isAllDead(); 100 | _BattleManager_updateBattleEnd.call(this); 101 | if ($gameSwitches.value(switchId) && commonId > 0 && isAllDead) { 102 | $gameTemp.reserveCommonEvent(commonId); 103 | } 104 | }; 105 | 106 | })(); -------------------------------------------------------------------------------- /MNKR_BattleHelpHideMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_BattleHelpHideMZ.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2025 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_BattleHelpHideMZ.js 14 | @plugindesc Hides the help window after selecting a skill or item in battle. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Hides the help window after selecting a skill or item on the battle screen. 20 | Use the plugin parameters to specify behavior when selecting an enemy 21 | character and an actor. 22 | 23 | There are no plugin commands. 24 | 25 | # Terms of Use 26 | MIT License. 27 | http://opensource.org/licenses/mit-license.php 28 | You may modify and redistribute this without permission from the author, and 29 | there are no restrictions on its use (commercial, R18+, etc.). 30 | 31 | @param EnemySelect 32 | @text When selecting an enemy character 33 | @desc Displays the skill's help window. 34 | @type boolean 35 | @on display 36 | @off hidden 37 | @default false 38 | 39 | @param ActorSelect 40 | @text When selecting an actor 41 | @desc Displays the skill's help window. 42 | @type boolean 43 | @on display 44 | @off hidden 45 | @default false 46 | */ 47 | 48 | /*:ja 49 | @target MZ 50 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_BattleHelpHideMZ.js 51 | @plugindesc 戦闘でスキル・アイテムを選択後にヘルプウィンドウを非表示にします。 52 | @author munokura 53 | 54 | @help 55 | 戦闘画面でスキル・アイテムを選択後にヘルプウィンドウを非表示にします。 56 | プラグインパラメーターで、敵キャラ選択時とアクター選択時での挙動を指定してください。 57 | 58 | 59 | プラグインコマンドはありません。 60 | 61 | 62 | # 利用規約 63 | MITライセンスです。 64 | http://opensource.org/licenses/mit-license.php 65 | 作者に無断で改変、再配布が可能で、 66 | 利用形態(商用、18禁利用等)についても制限はありません。 67 | 68 | @param EnemySelect 69 | @text 敵キャラ選択時 70 | @desc スキルのヘルプウィンドウを表示します。 71 | @type boolean 72 | @on 表示 73 | @off 非表示 74 | @default false 75 | 76 | @param ActorSelect 77 | @text アクター選択時 78 | @desc スキルのヘルプウィンドウを表示します。 79 | @type boolean 80 | @on 表示 81 | @off 非表示 82 | @default false 83 | */ 84 | 85 | (() => { 86 | 'use strict'; 87 | 88 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 89 | const parameters = PluginManager.parameters(pluginName); 90 | const param = {}; 91 | param.EnemySelect = parameters['EnemySelect'] === "true"; 92 | param.ActorSelect = parameters['ActorSelect'] === "true"; 93 | 94 | const _Scene_Battle_startEnemySelection = Scene_Battle.prototype.startEnemySelection; 95 | Scene_Battle.prototype.startEnemySelection = function () { 96 | _Scene_Battle_startEnemySelection.call(this); 97 | if (!param.EnemySelect) { 98 | this._helpWindow.hide(); 99 | } 100 | }; 101 | 102 | const _Scene_Battle_startActorSelection = Scene_Battle.prototype.startActorSelection; 103 | Scene_Battle.prototype.startActorSelection = function () { 104 | _Scene_Battle_startActorSelection.call(this); 105 | if (!param.ActorSelect) { 106 | this._helpWindow.hide(); 107 | } 108 | }; 109 | 110 | })(); -------------------------------------------------------------------------------- /MNKR_ReverseHpMpMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ReverseHpMpMZ.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ReverseHpMpMZ.js 14 | @plugindesc You can invert the HP and MP display. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can change the HP display to accumulated damage. 20 | You can change the MP display from remaining MP to accumulated consumption. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, 18+, etc.). 29 | 30 | @param reverseHp 31 | @text HP Reverse 32 | @desc Changes the HP display from remaining HP to accumulated damage. 33 | @type boolean 34 | @on Invert 35 | @off usually 36 | @default true 37 | 38 | @param reverseMp 39 | @text MP Reverse 40 | @desc Changes the MP display from remaining MP to accumulated consumption. 41 | @type boolean 42 | @on Invert 43 | @off usually 44 | @default true 45 | */ 46 | 47 | /*:ja 48 | @target MZ 49 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ReverseHpMpMZ.js 50 | @plugindesc HP・MPの表示を反転できます。 51 | @author munokura 52 | 53 | @help 54 | HPの表示を蓄積ダメージに変更できます。 55 | MPの表示を残りMPから蓄積消費量に変更できます。 56 | 57 | プラグインコマンドはありません。 58 | 59 | 60 | # 利用規約 61 | MITライセンスです。 62 | http://opensource.org/licenses/mit-license.php 63 | 作者に無断で改変、再配布が可能で、 64 | 利用形態(商用、18禁利用等)についても制限はありません。 65 | 66 | @param reverseHp 67 | @text HP反転化 68 | @type boolean 69 | @on 反転 70 | @off 通常 71 | @default true 72 | @desc HPの表示を残りHPから蓄積ダメージに変更します。 73 | 74 | @param reverseMp 75 | @text MP反転化 76 | @type boolean 77 | @on 反転 78 | @off 通常 79 | @default true 80 | @desc MPの表示を残りMPから蓄積消費量に変更します。 81 | */ 82 | 83 | (() => { 84 | "use strict"; 85 | 86 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 87 | const parameters = PluginManager.parameters(pluginName); 88 | const PRM_reverseHp = parameters['reverseHp'] === 'true'; 89 | const PRM_reverseMp = parameters['reverseMp'] === 'true'; 90 | 91 | const _Sprite_Gauge_currentValue = Sprite_Gauge.prototype.currentValue; 92 | Sprite_Gauge.prototype.currentValue = function () { 93 | if (this._battler) { 94 | switch (this._statusType) { 95 | case "hp": 96 | if (PRM_reverseHp) { 97 | return this._battler.mhp - this._battler.hp; 98 | } 99 | return _Sprite_Gauge_currentValue.call(this); 100 | case "mp": 101 | if (PRM_reverseMp) { 102 | return this._battler.mmp - this._battler.mp; 103 | } 104 | return _Sprite_Gauge_currentValue.call(this); 105 | } 106 | return _Sprite_Gauge_currentValue.call(this); 107 | } 108 | }; 109 | 110 | })(); -------------------------------------------------------------------------------- /MNKR_ChangeBackScreenColor.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ChangeBackScreenColor.js 4 | * Ver.0.0.2 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeBackScreenColor.js 14 | @plugindesc Changes the color of areas where no map tiles are placed. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Changes the color of areas without map tiles (background). 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission, and there are no 27 | restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param backScreenColor 30 | @text background color 31 | @desc Enter the RGB values. 32 | @type struct 33 | @default {"red":"255","green":"0","blue":"0"} 34 | */ 35 | 36 | /*~struct~color: 37 | @param red 38 | @text red 39 | @desc Background color, from 0 to 255. 40 | @type number 41 | @default 255 42 | @min -1 43 | @max 255 44 | 45 | @param green 46 | @text green 47 | @desc Background color, from 0 to 255. 48 | @type number 49 | @default 0 50 | @max 255 51 | 52 | @param blue 53 | @text blue 54 | @desc Background color, from 0 to 255. 55 | @type number 56 | @default 0 57 | @max 255 58 | */ 59 | 60 | /*:ja 61 | @target MZ MV 62 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeBackScreenColor.js 63 | @plugindesc マップタイルが配置されていない箇所の色を変更します。 64 | @author munokura 65 | 66 | @help 67 | マップタイルが配置されていない箇所(背景)の色を変更します。 68 | 69 | 70 | プラグインコマンドはありません。 71 | 72 | 73 | # 利用規約 74 | MITライセンスです。 75 | http://opensource.org/licenses/mit-license.php 76 | 作者に無断で改変、再配布が可能で、 77 | 利用形態(商用、18禁利用等)についても制限はありません。 78 | 79 | 80 | @param backScreenColor 81 | @text 背景色 82 | @type struct 83 | @desc RGBの値を入力します。 84 | @default {"red":"255","green":"0","blue":"0"} 85 | */ 86 | 87 | /*~struct~color:ja 88 | @param red 89 | @text 赤 90 | @default 255 91 | @type number 92 | @min -1 93 | @max 255 94 | @desc 背景の色。0から255。 95 | 96 | @param green 97 | @text 緑 98 | @default 0 99 | @type number 100 | @max 255 101 | @desc 背景の色。0から255。 102 | 103 | @param blue 104 | @text 青 105 | @default 0 106 | @type number 107 | @max 255 108 | @desc 背景の色。0から255。 109 | */ 110 | 111 | (() => { 112 | "use strict"; 113 | 114 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 115 | const parameters = PluginManager.parameters(pluginName); 116 | const PRM_backScreenColor = JSON.parse(parameters['backScreenColor'] || '{}'); 117 | const PRM_Red = Number(PRM_backScreenColor.red); 118 | const PRM_Green = Number(PRM_backScreenColor.green); 119 | const PRM_Blue = Number(PRM_backScreenColor.blue); 120 | 121 | const _Spriteset_Base_createBaseSprite = Spriteset_Base.prototype.createBaseSprite; 122 | Spriteset_Base.prototype.createBaseSprite = function () { 123 | _Spriteset_Base_createBaseSprite.call(this); 124 | this._blackScreen.setColor(PRM_Red, PRM_Green, PRM_Blue); 125 | }; 126 | 127 | })(); -------------------------------------------------------------------------------- /MNKR_HideBattleHelp.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_HideBattleHelp.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2025 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HideBattleHelp.js 14 | @plugindesc Hides the help window after selecting a skill or item in battle. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | # Function 20 | Hides the help window after selecting a skill or item on the battle screen. 21 | 22 | Use the plugin parameters to specify behavior when selecting an enemy 23 | character and an actor. 24 | 25 | There are no plugin commands. 26 | 27 | # Terms of Use 28 | MIT License. 29 | https://licenses.opensource.jp/MIT/MIT.html 30 | You may modify and redistribute this without permission from the author, and 31 | there are no restrictions on its use (commercial, 18+, etc.). 32 | 33 | @param EnemySelect 34 | @text Help display when selecting an enemy character 35 | @desc Displays the skill's help window. 36 | @type boolean 37 | @on display 38 | @off hidden 39 | @default false 40 | 41 | @param ActorSelect 42 | @text Help display when selecting an actor 43 | @desc Displays the skill's help window. 44 | @type boolean 45 | @on display 46 | @off hidden 47 | @default false 48 | */ 49 | 50 | /*:ja 51 | @target MZ MV 52 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HideBattleHelp.js 53 | @plugindesc 戦闘でスキル・アイテムを選択後にヘルプウィンドウを非表示にします。 54 | @author munokura 55 | 56 | @help 57 | # 機能 58 | 戦闘画面でスキル・アイテムを選択後にヘルプウィンドウを非表示にします。 59 | プラグインパラメーターで、敵キャラ選択時とアクター選択時での挙動を指定してください。 60 | 61 | 62 | プラグインコマンドはありません。 63 | 64 | 65 | # 利用規約 66 | MITライセンスです。 67 | https://licenses.opensource.jp/MIT/MIT.html 68 | 作者に無断で改変、再配布が可能で、 69 | 利用形態(商用、18禁利用等)についても制限はありません。 70 | 71 | @param EnemySelect 72 | @text 敵キャラ選択時ヘルプ表示 73 | @desc スキルのヘルプウィンドウを表示します。 74 | @type boolean 75 | @on 表示 76 | @off 非表示 77 | @default false 78 | 79 | @param ActorSelect 80 | @text アクター選択時ヘルプ表示 81 | @desc スキルのヘルプウィンドウを表示します。 82 | @type boolean 83 | @on 表示 84 | @off 非表示 85 | @default false 86 | */ 87 | 88 | (() => { 89 | 'use strict'; 90 | 91 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 92 | const parameters = PluginManager.parameters(pluginName); 93 | const param = {}; 94 | param.EnemySelect = parameters['EnemySelect'] === "true"; 95 | param.ActorSelect = parameters['ActorSelect'] === "true"; 96 | 97 | const _Scene_Battle_startEnemySelection = Scene_Battle.prototype.startEnemySelection; 98 | Scene_Battle.prototype.startEnemySelection = function () { 99 | _Scene_Battle_startEnemySelection.call(this); 100 | if (!param.EnemySelect) { 101 | this._helpWindow.hide(); 102 | } 103 | }; 104 | 105 | const _Scene_Battle_startActorSelection = Scene_Battle.prototype.startActorSelection; 106 | Scene_Battle.prototype.startActorSelection = function () { 107 | _Scene_Battle_startActorSelection.call(this); 108 | if (!param.ActorSelect) { 109 | this._helpWindow.hide(); 110 | } 111 | }; 112 | 113 | })(); -------------------------------------------------------------------------------- /MNKR_GetItemId.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_GetItemId.js 4 | * Ver.1.1.0 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_GetItemId.js 14 | @plugindesc When an item is used, the item ID is assigned to the specified variable. You can create events that start when an item is used. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | When an item is used, the item ID is assigned to the specified variable. 20 | When an item without a specified tag is used, 0 is assigned. 21 | When an item scene is canceled, 0 is also assigned. 22 | 23 | By using this as an event condition or conditional branch, 24 | you can create events that start when an item is used. 25 | 26 | How to Use 27 | Enter the following tag in the memo field of the item you want to use. 28 | 29 | 30 | # Terms of Use 31 | MIT License. 32 | http://opensource.org/licenses/mit-license.php 33 | You may modify and redistribute this without permission, and there are no 34 | restrictions on its use (commercial, R18, etc.). 35 | 36 | @param itemIdVariables 37 | @text Item ID substitution variable 38 | @desc This is the variable to which the ID will be assigned when the tagged item is used. 39 | @type variable 40 | @default 0 41 | */ 42 | 43 | /*:ja 44 | @target MZ MV 45 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_GetItemId.js 46 | @plugindesc アイテムを使用した時、アイテムIDを指定変数に代入します。アイテムを使用すると開始するイベント等が作成できます。 47 | @author munokura 48 | 49 | @help 50 | アイテムを使用した時、アイテムIDを指定変数に代入します。 51 | タグ指定していないアイテムを使用すると、0を代入します。 52 | アイテムシーンをキャンセルした時にも、0を代入します。 53 | 54 | イベントの出現条件・条件分岐に使用することで、 55 | アイテムを使用すると開始するイベント等が作成できます。 56 | 57 | 58 | 使い方 59 | 使用対象にしたいアイテムのメモ欄に下記のタグを入れてください。 60 | 61 | 62 | 63 | # 利用規約 64 | MITライセンスです。 65 | http://opensource.org/licenses/mit-license.php 66 | 作者に無断で改変、再配布が可能で、 67 | 利用形態(商用、18禁利用等)についても制限はありません。 68 | 69 | 70 | @param itemIdVariables 71 | @text アイテムID代入変数 72 | @type variable 73 | @default 0 74 | @desc タグ指定されたアイテムを使用した時にIDを代入する先の変数です。 75 | */ 76 | 77 | (() => { 78 | "use strict"; 79 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 80 | const parameters = PluginManager.parameters(pluginName); 81 | const PRM_itemIdVariables = Number(parameters['itemIdVariables'] || 0); 82 | 83 | const _Scene_Item_onItemOk = Scene_Item.prototype.onItemOk; 84 | Scene_Item.prototype.onItemOk = function () { 85 | const hasItemMeta = this.item().meta.MNKR_GetItemId; 86 | if (hasItemMeta) { 87 | const usedItemId = this.item().id; 88 | $gameVariables.setValue(PRM_itemIdVariables, usedItemId); 89 | } else { 90 | $gameVariables.setValue(PRM_itemIdVariables, 0); 91 | } 92 | _Scene_Item_onItemOk.call(this); 93 | }; 94 | 95 | const _Scene_Item_onItemCancel = Scene_Item.prototype.onItemCancel; 96 | Scene_Item.prototype.onItemCancel = function () { 97 | $gameVariables.setValue(PRM_itemIdVariables, 0); 98 | _Scene_Item_onItemCancel.call(this); 99 | }; 100 | 101 | })(); -------------------------------------------------------------------------------- /MNKR_LevelUpSwitch.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_LevelUpSwitch.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LevelUpSwitch.js 14 | @plugindesc After leveling up, turn on the specified switch. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Turns the specified switch ON after leveling up. 20 | Please note that it does not automatically turn OFF. 21 | 22 | Intended use: 23 | ・Switch for parallel processing of common events 24 | ・Combination with other plugins 25 | 26 | -- Example plugins ----- 27 | For MZ 28 | ・Keke_TimingCommon (Timing Common) 29 | https://kekeelabo.com/ 30 | 31 | For MV 32 | ・FTKR_ExBattleEvent 33 | https://github.com/futokoro/RPGMaker/blob/master/FTKR_ExBattleEvent.ja.md 34 | 35 | # Terms of Use 36 | MIT License. 37 | http://opensource.org/licenses/mit-license.php 38 | Modifications and redistribution are permitted without permission from the 39 | author, and there are no restrictions on use (commercial, R18+, etc.). 40 | 41 | @param levelUpSwitch 42 | @text Switch to turn on after level up 43 | @desc This is the switch that turns on after leveling up. 44 | @type switch 45 | @default 0 46 | 47 | @param raiseSwitch 48 | @text Enable switch 49 | @desc This plug-in will run when the specified switch is ON. If it is set to "None", it will always run. 50 | @type switch 51 | @default 0 52 | */ 53 | 54 | /*:ja 55 | @target MZ MV 56 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_LevelUpSwitch.js 57 | @plugindesc レベルアップ後に指定スイッチをONにします。 58 | @author munokura 59 | 60 | @help 61 | レベルアップ後に指定スイッチをONにします。 62 | 自動的にOFFにはならない点に注意してください。 63 | 64 | 下記のような使用方法を想定しています。 65 | ・コモンイベントの並列処理のスイッチ 66 | ・他プラグインとの組み合わせ 67 | 68 | ----- プラグイン例 ----- 69 | MZ用 70 | ・Keke_TimingCommon(タイミングコモン) 71 | https://kekeelabo.com/ 72 | 73 | MV用 74 | ・FTKR_ExBattleEvent 75 | https://github.com/futokoro/RPGMaker/blob/master/FTKR_ExBattleEvent.ja.md 76 | 77 | 78 | # 利用規約 79 | MITライセンスです。 80 | http://opensource.org/licenses/mit-license.php 81 | 作者に無断で改変、再配布が可能で、 82 | 利用形態(商用、18禁利用等)についても制限はありません。 83 | 84 | 85 | @param levelUpSwitch 86 | @text レベルアップ後にONするスイッチ 87 | @desc レベルアップ後にONするスイッチです。 88 | @type switch 89 | @default 0 90 | 91 | @param raiseSwitch 92 | @text 有効化スイッチ 93 | @desc 指定スイッチがONの時、このプラグインを動作させます。「なし」の場合、常に動作します。 94 | @type switch 95 | @default 0 96 | */ 97 | 98 | (() => { 99 | "use strict"; 100 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 101 | const parameters = PluginManager.parameters(pluginName); 102 | const PRM_levelUpSwitch = Number(parameters['levelUpSwitch'] || 0); 103 | const PRM_raiseSwitch = Number(parameters['raiseSwitch'] || 0); 104 | 105 | const _Game_Actor_levelUp = Game_Actor.prototype.levelUp; 106 | Game_Actor.prototype.levelUp = function () { 107 | const raise = PRM_raiseSwitch === 0 ? true : $gameSwitches.value(PRM_raiseSwitch); 108 | if (raise) { 109 | $gameSwitches.setValue(PRM_levelUpSwitch, true); 110 | } 111 | _Game_Actor_levelUp.call(this); 112 | }; 113 | 114 | })(); -------------------------------------------------------------------------------- /MNKR_AddSkillWtype.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_AddSkillWtype.js 4 | * Ver.0.0.5 5 | * Copyright (c) 2022 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AddSkillWtype.js 14 | @plugindesc You can add required weapon types for skills to your equipment. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can add required weapon types 1 and 2 to equipment under Skills > Required 20 | Weapons. 21 | 22 | Adding required weapon types to equipment allows you to use skills even if you 23 | are not equipped with the required weapon type. 24 | 25 | Enter the following tag in the weapon/armor memo field: 26 | 27 | 28 | 29 | Example 30 | By default, weapon type ID 1 is a dagger. 31 | This allows you to use skills that require a dagger. 32 | 33 | 34 | 35 | To specify multiple types, use the following: 36 | 37 | 38 | There is no plugin command. 39 | 40 | # Terms of Use 41 | MIT License. 42 | http://opensource.org/licenses/mit-license.php 43 | Modification and redistribution are permitted without permission from the 44 | author, and there are no restrictions on use (commercial, R18+, etc.). 45 | */ 46 | 47 | /*:ja 48 | @target MZ MV 49 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AddSkillWtype.js 50 | @plugindesc 装備に、スキルの必要武器タイプを追加できます。 51 | @author munokura 52 | 53 | @help 54 | 装備に、スキル>必要武器>必要武器タイプ1・2を追加できます。 55 | 装備で追加した場合、 56 | スキルで必要とされる武器タイプの武器を装備していなくても、 57 | スキル使用可能になります。 58 | 59 | 武器・防具のメモ欄に下記のタグを入れてください。 60 | 61 | 62 | 63 | 例 64 | デフォルトで武器タイプID1は短剣 65 | 短剣が必要なスキルを使用可能になります。 66 | 67 | 68 | 複数のタイプを指定する場合、下記のように記述します。 69 | 70 | 71 | 72 | プラグインコマンドはありません。 73 | 74 | 75 | # 利用規約 76 | MITライセンスです。 77 | http://opensource.org/licenses/mit-license.php 78 | 作者に無断で改変、再配布が可能で、 79 | 利用形態(商用、18禁利用等)についても制限はありません。 80 | */ 81 | 82 | (() => { 83 | "use strict"; 84 | 85 | const _Game_Actor_isSkillWtypeOk = Game_Actor.prototype.isSkillWtypeOk; 86 | Game_Actor.prototype.isSkillWtypeOk = function (skill) { 87 | const equipsArray = this.weapons().concat(this.armors()); 88 | const equipsMetaArray = getEquipsMeta(equipsArray); 89 | if (equipsMetaArray.length === 0) { 90 | return _Game_Actor_isSkillWtypeOk.call(this, skill); 91 | } 92 | const wtypeId1 = skill.requiredWtypeId1; 93 | const wtypeId2 = skill.requiredWtypeId2; 94 | if (equipsMetaArray.includes(wtypeId1) || equipsMetaArray.includes(wtypeId2)) { 95 | return true; 96 | } 97 | return _Game_Actor_isSkillWtypeOk.call(this, skill); 98 | }; 99 | 100 | function getEquipsMeta(equipsArray) { 101 | const hasMetaEquipsArray = equipsArray.filter(element => element.meta.MNKR_AddSkillWtype); 102 | const equipsMetaArray = hasMetaEquipsArray.flatMap(element => element.meta.MNKR_AddSkillWtype.split(',').map(Number)); 103 | const uniqueEquipsMetaArray = equipsMetaArray.filter((value, index, element) => element.indexOf(value) === index); 104 | return uniqueEquipsMetaArray; 105 | } 106 | 107 | })(); -------------------------------------------------------------------------------- /MNKR_ChangeActorImagesMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ChangeActorImagesMZ.js 4 | * Ver.0.0.3 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeActorImagesMZ.js 14 | @plugindesc Changes the behavior of the specified actor in "Change actor image" to the variable value. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Ignores the actor specified in the "Change Actor Image" event command, 20 | and changes the behavior of the specified actor ID to the variable value. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, 28 | and there are no restrictions on its use (commercial, 18+, etc.). 29 | 30 | @param raiseSwitch 31 | @text Enable switch 32 | @desc This plug-in will run when the specified switch is ON. If it is 0, it will always run. 33 | @type switch 34 | @default 0 35 | 36 | @param actorIdVariableId 37 | @text Actor ID variable 38 | @desc Variable to store the actor ID to be changed. 39 | @type variable 40 | @default 1 41 | */ 42 | 43 | /*:ja 44 | @target MZ 45 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeActorImagesMZ.js 46 | @plugindesc 「アクターの画像変更」の指定アクターを変数値の挙動に変更します。 47 | @author munokura 48 | 49 | @help 50 | イベントコマンド「アクターの画像変更」の指定アクターを無視し、 51 | 指定アクターIDを変数値の挙動に変更します。 52 | 53 | 54 | プラグインコマンドはありません。 55 | 56 | 57 | # 利用規約 58 | MITライセンスです。 59 | http://opensource.org/licenses/mit-license.php 60 | 作者に無断で改変、再配布が可能で、 61 | 利用形態(商用、18禁利用等)についても制限はありません。 62 | 63 | 64 | @param raiseSwitch 65 | @text 有効化スイッチ 66 | @desc 指定スイッチがONの時、このプラグインを動作させます。0の場合、常に動作します。 67 | @type switch 68 | @default 0 69 | 70 | @param actorIdVariableId 71 | @text アクターID変数 72 | @desc 「アクターの画像変更」の対象になるアクターIDを入れる変数 73 | @type variable 74 | @default 1 75 | */ 76 | 77 | (() => { 78 | "use strict"; 79 | 80 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 81 | const pluginParameters = PluginManager.parameters(pluginName); 82 | const PRM_raiseSwitch = Number(pluginParameters['raiseSwitch'] || 0); 83 | const PRM_actorIdVariableId = Number(pluginParameters['actorIdVariableId'] || 0); 84 | 85 | // Change Actor Images 86 | const _Game_Interpreter_command322 = Game_Interpreter.prototype.command322; 87 | Game_Interpreter.prototype.command322 = function (params) { 88 | const raise = PRM_raiseSwitch === 0 ? true : $gameSwitches.value(PRM_raiseSwitch); 89 | const actorId = $gameVariables.value(PRM_actorIdVariableId); 90 | if (raise && actorId > 0) { 91 | const actor = $gameActors.actor(actorId); 92 | if (actor) { 93 | actor.setCharacterImage(params[1], params[2]); 94 | actor.setFaceImage(params[3], params[4]); 95 | actor.setBattlerImage(params[5]); 96 | } 97 | $gamePlayer.refresh(); 98 | return true; 99 | } else { 100 | return _Game_Interpreter_command322.call(this, params); 101 | } 102 | }; 103 | 104 | })(); -------------------------------------------------------------------------------- /MNKR_SelectWinAction.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SelectWinAction.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SelectWinAction.js 14 | @plugindesc Depending on the value of the specified variable, you can specify the SV actor's behavior when the battle is won. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | The specified variable value determines the SV actor's behavior upon victory. 20 | 21 | Variable Value: Action 22 | 0: Victory (Tkool default) 23 | 1: Advance 24 | 2: Normal standby 25 | 3: Casting standby 26 | 4: Defense 27 | 5: Damage 28 | 6: Evade 29 | 7: Thrust 30 | 8: Swing 31 | 9: Projectile 32 | 10: General skill 33 | 11: Magic 34 | 12: Item 35 | 13: Escape 36 | 14: Near death 37 | 15: Abnormal status 38 | 16: Sleep 39 | 17: Incapacitated 40 | 41 | There are no plugin commands. 42 | 43 | # Terms of Use 44 | MIT License. 45 | http://opensource.org/licenses/mit-license.php 46 | Modifications and redistribution are permitted without permission from the 47 | author, and there are no restrictions on use (commercial, R18, etc.). 48 | 49 | @param Variable Id 50 | @text Designated variables 51 | @desc The variable ID to specify 52 | @type variable 53 | @default 0 54 | */ 55 | 56 | /*:ja 57 | @target MZ MV 58 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SelectWinAction.js 59 | @plugindesc 指定変数の値により、戦闘勝利時のSVアクター動作を指定できます。 60 | @author munokura 61 | 62 | @help 63 | 指定変数の値により、戦闘勝利時のSVアクター動作を指定できます。 64 | 65 | 変数の値:動作 66 | 0:勝利(ツクールデフォルト) 67 | 1:前進 68 | 2:通常待機 69 | 3:詠唱待機 70 | 4:防御 71 | 5:ダメージ 72 | 6:回避 73 | 7:突き 74 | 8:振り 75 | 9:飛び道具 76 | 10:汎用スキル 77 | 11:魔法 78 | 12:アイテム 79 | 13:逃げる 80 | 14:瀕死 81 | 15:状態異常 82 | 16:睡眠 83 | 17:戦闘不能 84 | 85 | 86 | プラグインコマンドはありません。 87 | 88 | 89 | # 利用規約 90 | MITライセンスです。 91 | http://opensource.org/licenses/mit-license.php 92 | 作者に無断で改変、再配布が可能で、 93 | 利用形態(商用、18禁利用等)についても制限はありません。 94 | 95 | 96 | @param Variable Id 97 | @text 指定変数 98 | @type variable 99 | @desc 指定する変数ID 100 | @default 0 101 | */ 102 | 103 | (() => { 104 | 'use strict'; 105 | 106 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 107 | const parameters = PluginManager.parameters(pluginName); 108 | const variableId = Number(parameters['Variable Id'] || 0); 109 | const motionObject = { 110 | 1: 'walk', 111 | 2: 'wait', 112 | 3: 'chant', 113 | 4: 'guard', 114 | 5: 'damage', 115 | 6: 'evade', 116 | 7: 'thrust', 117 | 8: 'swing', 118 | 9: 'missile', 119 | 10: 'skill', 120 | 11: 'spell', 121 | 12: 'item', 122 | 13: 'escape', 123 | 14: 'dying', 124 | 15: 'abnormal', 125 | 16: 'sleep' 126 | }; 127 | 128 | const _Game_Actor_performVictory = Game_Actor.prototype.performVictory; 129 | Game_Actor.prototype.performVictory = function () { 130 | var motionId = $gameVariables.value(variableId); 131 | if (motionId !== 0 && this.canMove()) { 132 | var motionKey = (motionObject[motionId] || 'dead'); 133 | this.requestMotion(motionKey); 134 | } else { 135 | _Game_Actor_performVictory.apply(this, arguments); 136 | }; 137 | }; 138 | 139 | })(); -------------------------------------------------------------------------------- /MNKR_TextCodeHelpMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TextCodeHelpMZ.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TextCodeHelpMZ.js 14 | @plugindesc Displays help to make it easier to copy control character codes when entering text. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | The help display for control characters that can be used in "Display Text" is 20 | very difficult to read. 21 | Also, control characters added in RPG Maker MZ have not been added to the 22 | help. 23 | (As of v1.0.2) 24 | 25 | Right-clicking on the text editing screen will display "Plugin Help." 26 | Copying control characters from this plugin's help will reduce typos. 27 | 28 | Control Characters Added in MZ 29 | 30 | \PX[n] Shifts the character position of the line horizontally by n pixels. 31 | \PY[n] Shifts the character position of the line vertically by n pixels. 32 | \FS[n] Sets the font size to n. 33 | 34 | Continuation Control Characters from MV 35 | 36 | \V[n] Replaced with the value of variable n. 37 | \N[n] Replaced with the name of actor n. 38 | \P[n] Replaced with the name of party member n. 39 | \G Replaced with the currency unit. 40 | \C[n] Displays the following text in color n. *See the color number chart at 41 | the bottom. 42 | \I[n] Replaces with icon number n. 43 | \{ Increases text size by one level. 44 | \} Decrease text size by one level. 45 | \$ Opens the money window. 46 | \\ Replaces with a backslash. 47 | \. Waits 1/4 second. 48 | \| Waits 1 second. 49 | \! Waits for button input. 50 | \> Instantly displays all characters on the same line. 51 | \< Cancels the instant display effect. 52 | \^ Does not wait for input after displaying text. 53 | 54 | No plugin commands or settings. 55 | 56 | # Terms of Use 57 | MIT License. 58 | http://opensource.org/licenses/mit-license.php 59 | Modifications and redistribution are permitted without permission from the 60 | author, and there are no restrictions on usage (commercial, R18, etc.). 61 | */ 62 | 63 | /*:ja 64 | @target MZ 65 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TextCodeHelpMZ.js 66 | @plugindesc 文章の入力時に制御文字のコードをコピーしやすくヘルプを表示します。 67 | @author munokura 68 | 69 | @help 70 | 「文章の表示」に使用できる制御文字のヘルプ表示は非常に見づらいです。 71 | また、RPGツクールMZで追加された制御文字はヘルプに追加されていません。 72 | (v1.0.2現在) 73 | 74 | 文章の編集画面で右クリックすると「プラグインヘルプ」が出ます。 75 | このプラグインのヘルプから制御文字をコピーすれば、打ち間違いも減ります。 76 | 77 | MZで追加された制御文字 78 | 79 | \PX[n] 行の文字位置をnピクセル分、横にずらす。 80 | \PY[n] 行の文字位置をnピクセル分、縦にずらす。 81 | \FS[n] フォントサイズをnサイズにする。 82 | 83 | 84 | MVから継続の制御文字 85 | 86 | \V[n] 変数 n 番の値に置き換えられます。 87 | \N[n] アクター n 番の名前に置き換えられます。 88 | \P[n] パーティーメンバー n 番の名前に置き換えられます。 89 | \G 通貨単位に置き換えられます。 90 | \C[n] 以降の文字色を n 番の色で表示します。※最下部に色番号表あり 91 | \I[n] アイコン n 番に置き換えられます。 92 | \{ 文字サイズを 1 段階大きくします。 93 | \} 文字サイズを 1 段階小さくする。 94 | \$ 所持金のウィンドウを開きます。 95 | \\ バックスラッシュに置き換えられます 96 | \. 1/4 秒待ちます。 97 | \| 1 秒待ちます。 98 | \! ボタンの入力を待ちます。 99 | \> 同じ行にある文字を一瞬で表示します。 100 | \< 文字を一瞬で表示する効果を取り消します。 101 | \^ 文章表示後の入力待ちをしません。 102 | 103 | プラグインコマンドや設定はありません。 104 | 105 | 106 | # 利用規約 107 | MITライセンスです。 108 | http://opensource.org/licenses/mit-license.php 109 | 作者に無断で改変、再配布が可能で、 110 | 利用形態(商用、18禁利用等)についても制限はありません。 111 | */ -------------------------------------------------------------------------------- /MNKR_PartyAbilityExp.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_PartyAbilityExp.js 4 | * Ver.0.1.2 5 | * Copyright (c) 2024 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_PartyAbilityExp.js 14 | @plugindesc Adds experience gain to party skills. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | # Function 20 | Adds an experience point increase to a party skill. 21 | 22 | # Usage 23 | Enter the following in the memo field of a database with a feature field. 24 | 25 | If multiple rates overlap, the highest value will be used. 26 | 27 | ## Example 28 | 29 | Party experience points will be increased by 200%. 30 | 31 | 32 | Party experience points will be increased by 0%. 33 | *Negative values will be treated as 0. 34 | 35 | ## Database with a feature field 36 | - Actor 37 | - Occupation 38 | - Weapon 39 | - Armor 40 | - State 41 | 42 | # Terms of Use: 43 | MIT License. 44 | http://opensource.org/licenses/mit-license.php 45 | Modifications and redistribution are permitted without permission from the 46 | author, and there are no restrictions on use (commercial, 18+, etc.). 47 | */ 48 | 49 | /*:ja 50 | @target MZ MV 51 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_PartyAbilityExp.js 52 | @plugindesc パーティスキルに経験値の増加を追加します。 53 | @author munokura 54 | 55 | @help 56 | # 機能 57 | パーティスキルに経験値の増加を追加します。 58 | 59 | # 使い方 60 | 特徴欄があるデータベースのメモ欄に以下を入力してください。 61 | 62 | 複数のレートが重複した場合、最大の数値が採用されます。 63 | 64 | ## 記述例 65 | 66 | パーティの獲得経験値が200%になります。 67 | 68 | 69 | パーティの獲得経験値が0%になります。 70 | ※負の値を入れても0として扱われます。 71 | 72 | ## 特徴欄があるデータベース 73 | - アクター 74 | - 職業 75 | - 武器 76 | - 防具 77 | - ステート 78 | 79 | # 利用規約: 80 | MITライセンスです。 81 | http://opensource.org/licenses/mit-license.php 82 | 作者に無断で改変、再配布が可能で、 83 | 利用形態(商用、18禁利用等)についても制限はありません。 84 | */ 85 | 86 | (() => { 87 | 'use strict'; 88 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 89 | 90 | Game_BattlerBase.prototype.partyExpRate = function (pluginName) { 91 | let metaArray = []; 92 | const battlerTrait = this.traitObjects(); 93 | metaArray = battlerTrait.map(obj => obj.meta[pluginName]); 94 | metaArray = metaArray.filter(item => item).map(Number); 95 | const maxMeta = Math.max(...metaArray); 96 | return maxMeta; 97 | }; 98 | 99 | Game_Party.prototype.partyExpRate = function (pluginName) { 100 | let result = null; 101 | this.battleMembers().forEach(function (actor) { 102 | result = actor.partyExpRate(pluginName); 103 | }); 104 | result === null ? 100 : result; 105 | return result; 106 | }; 107 | 108 | const _Game_Troop_expTotal = Game_Troop.prototype.expTotal; 109 | Game_Troop.prototype.expTotal = function () { 110 | return Math.floor(_Game_Troop_expTotal.call(this) * this.expRate()); 111 | }; 112 | 113 | Game_Troop.prototype.expRate = function () { 114 | const rate = 1 * $gameParty.getExpRate() / 100; 115 | return rate; 116 | }; 117 | 118 | Game_Party.prototype.getExpRate = function () { 119 | const expRate = this.partyExpRate(pluginName) < 0 ? 0 : this.partyExpRate(pluginName); 120 | return expRate; 121 | }; 122 | 123 | })(); 124 | -------------------------------------------------------------------------------- /MNKR_AddIconSave.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_AddIconSave.js 4 | * Ver.0.1.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AddIconSave.js 14 | @plugindesc You can add icons to your save data. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can add an icon to your save data. 20 | Specify a variable ID in the plugin parameters 21 | and assign the icon ID to that variable to display it. 22 | 23 | To hide the icon, assign 0. 24 | 25 | There is no plugin command. 26 | 27 | # Terms of Use 28 | MIT License. 29 | http://opensource.org/licenses/mit-license.php 30 | You may modify and redistribute this without permission from the author, and 31 | there are no restrictions on its use (commercial, R18+, etc.). 32 | 33 | @param iconVariableId 34 | @text Display icon variable ID 35 | @desc Specify the variable that contains the icon ID value to display. 36 | @type variable 37 | @default 0 38 | 39 | @param offSetX 40 | @text Icon Position X 41 | @desc Amount to offset the display icon horizontally. Positive: Right / Negative: Left 42 | @type number 43 | @default 0 44 | @min -9007 45 | @max 9007 46 | 47 | @param offSetY 48 | @text Icon Position Y 49 | @desc Amount to offset the display icon horizontally. Positive: Up / Negative: Down 50 | @type number 51 | @default 0 52 | @min -9007 53 | @max 9007 54 | */ 55 | 56 | /*:ja 57 | @target MZ MV 58 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_AddIconSave.js 59 | @plugindesc セーブデータにアイコンを追加表示できます。 60 | @author munokura 61 | 62 | @help 63 | セーブデータにアイコンを追加表示できます。 64 | プラグインパラメーターで変数IDを指定し、 65 | その変数にアイコンIDを代入すると表示されます。 66 | 67 | 非表示にするには0を代入してください。 68 | 69 | 70 | プラグインコマンドはありません。 71 | 72 | 73 | # 利用規約 74 | MITライセンスです。 75 | http://opensource.org/licenses/mit-license.php 76 | 作者に無断で改変、再配布が可能で、 77 | 利用形態(商用、18禁利用等)についても制限はありません。 78 | 79 | 80 | @param iconVariableId 81 | @text 表示アイコン変数ID 82 | @type variable 83 | @desc 表示するアイコンIDの値を入れる変数を指定します。 84 | @default 0 85 | 86 | @param offSetX 87 | @text アイコン位置X 88 | @type number 89 | @min -9007 90 | @max 9007 91 | @desc 表示アイコンを横方向にオフセットする量。正:右/負:左 92 | @default 0 93 | 94 | @param offSetY 95 | @text アイコン位置Y 96 | @type number 97 | @min -9007 98 | @max 9007 99 | @desc 表示アイコンを横方向にオフセットする量。正:上/負:下 100 | 参考値 MV:0 / MZ:36 101 | @default 0 102 | */ 103 | 104 | (() => { 105 | "use strict"; 106 | 107 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 108 | const parameters = PluginManager.parameters(pluginName); 109 | const PRM_iconVariableId = Number(parameters['iconVariableId'] || 0); 110 | const PRM_offSetX = Number(parameters['offSetX'] || 0); 111 | const PRM_offSetY = Number(parameters['offSetY'] || 0); 112 | 113 | const _Window_SavefileList_drawContents = Window_SavefileList.prototype.drawContents; 114 | Window_SavefileList.prototype.drawContents = function (info, rect, valid) { 115 | _Window_SavefileList_drawContents.call(this, info, rect, valid); 116 | if (info.variableIconId > 0) { 117 | const bottom = rect.y + rect.height; 118 | const lineHeight = this.lineHeight(); 119 | this.drawIcon(info.variableIconId, rect.x + PRM_offSetX, bottom - lineHeight * 2 + PRM_offSetY); 120 | } 121 | }; 122 | 123 | const _DataManager_makeSavefileInfo = DataManager.makeSavefileInfo; 124 | DataManager.makeSavefileInfo = function () { 125 | const info = _DataManager_makeSavefileInfo.call(this); 126 | const iconId = $gameVariables.value(PRM_iconVariableId); 127 | info.variableIconId = iconId > 0 ? iconId : 0; 128 | return info; 129 | }; 130 | 131 | })(); -------------------------------------------------------------------------------- /MNKR_ShowMapName.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ShowMapName.js 4 | * Ver.0.2.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ShowMapName.js 14 | @plugindesc Keep the map name visible. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Keeps the map name displayed. 20 | 21 | This setting will be reflected on maps where you enter 22 | 23 | in the map's memo field. 24 | 25 | To temporarily toggle the map name display on or off, 26 | use the "Change Map Name Display" event command. 27 | Example: During fade-out 28 | 29 | There are no plugin commands. 30 | 31 | # Terms of Use 32 | MIT License. 33 | http://opensource.org/licenses/mit-license.php 34 | You may modify and redistribute this without permission, and 35 | there are no restrictions on its use (commercial, 18+, etc.). 36 | 37 | @param globalSetting 38 | @text Display map name on all maps 39 | @desc Keep map name visible on all maps. 40 | @type boolean 41 | @on All maps 42 | @off Maps with tags 43 | @default false 44 | 45 | @param fadeOutSetting 46 | @text Hide map name when fading out 47 | @desc Hide the map name when fading out, and show the map name when fading in. 48 | @type boolean 49 | @on valid 50 | @off invalid 51 | @default true 52 | */ 53 | 54 | /*:ja 55 | @target MZ MV 56 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ShowMapName.js 57 | @plugindesc マップ名を表示したままにします。 58 | @author munokura 59 | 60 | @help 61 | マップ名を表示したままにします。 62 | 63 | マップのメモ欄に 64 | 65 | と入れたマップに反映されます。 66 | 67 | マップ名表示マップで一時的に表示・非表示を切り替えたい場合、 68 | イベントコマンド「マップ名表示の変更」を使用してください。 69 | 例:フェードアウト時 70 | 71 | 72 | プラグインコマンドはありません。 73 | 74 | 75 | # 利用規約 76 | MITライセンスです。 77 | http://opensource.org/licenses/mit-license.php 78 | 作者に無断で改変、再配布が可能で、 79 | 利用形態(商用、18禁利用等)についても制限はありません。 80 | 81 | 82 | @param globalSetting 83 | @text 全マップでマップ名表示 84 | @desc 全マップでマップ名を表示したままにします。 85 | @type boolean 86 | @on 全マップ 87 | @off タグがあるマップ 88 | @default false 89 | 90 | @param fadeOutSetting 91 | @text フェードアウト時のマップ名非表示化 92 | @desc フェードアウト時にマップ名を非表示にし、フェードイン時にマップ名を表示するようにします。 93 | @type boolean 94 | @on 有効 95 | @off 無効 96 | @default true 97 | */ 98 | 99 | (() => { 100 | "use strict"; 101 | 102 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 103 | const parameters = PluginManager.parameters(pluginName); 104 | const PRM = {}; 105 | PRM.globalSetting = parameters['globalSetting'] === 'true'; 106 | PRM.fadeOutSetting = parameters['fadeOutSetting'] === 'true'; 107 | 108 | const _Window_MapName_update = Window_MapName.prototype.update; 109 | Window_MapName.prototype.update = function () { 110 | if (DataManager.isEventTest()) { 111 | _Window_MapName_update.call(this); 112 | return; 113 | }; 114 | const showMapName = $dataMap.meta[pluginName] || PRM.globalSetting; 115 | if (!showMapName) { 116 | _Window_MapName_update.call(this); 117 | return; 118 | } 119 | if ($gameMap.isNameDisplayEnabled()) { 120 | this.updateFadeIn(); 121 | } else { 122 | this.updateFadeOut(); 123 | } 124 | }; 125 | 126 | const _Game_Screen_startFadeOut = Game_Screen.prototype.startFadeOut; 127 | Game_Screen.prototype.startFadeOut = function (duration) { 128 | if (PRM.fadeOutSetting) { 129 | $gameMap.disableNameDisplay(); 130 | } 131 | _Game_Screen_startFadeOut.call(this, duration); 132 | }; 133 | 134 | const _Game_Screen_startFadeIn = Game_Screen.prototype.startFadeIn; 135 | Game_Screen.prototype.startFadeIn = function (duration) { 136 | if (PRM.fadeOutSetting) { 137 | $gameMap.enableNameDisplay(); 138 | } 139 | _Game_Screen_startFadeIn.call(this, duration); 140 | }; 141 | 142 | })(); -------------------------------------------------------------------------------- /MNKR_EnemyIconMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_EnemyIconMZ.js 4 | * Ver.1.1.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_EnemyIconMZ.js 14 | @plugindesc An icon will be displayed in front of the enemy character's name on the battle screen. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Displays an icon before the enemy character's name on the battle screen. 20 | 21 | Enter the tag below in the enemy character's memo field. 22 | 23 | You can specify multiple icon IDs, separated by commas. 24 | 25 | Example 26 | 27 | 28 | Notes 29 | 30 | 31 | If you enter a number less than 0, the icon will not be displayed. 32 | 33 | Also, if you specify a number of icons that exceeds the width of the enemy 34 | character's name frame (the default is 9 or more), the icons will not shrink. 35 | The icons will overflow the frame and the enemy character's name will not be 36 | displayed. 37 | 38 | There are no plugin commands. 39 | 40 | # Terms of Use 41 | MIT License. 42 | http://opensource.org/licenses/mit-license.php 43 | Modifications and redistribution are permitted without the author's 44 | permission, and there are no restrictions on use (commercial, 18+, etc.). 45 | 46 | Ver. 1.1.0 47 | Added the ability to display multiple icons. 48 | 49 | @param defaultIcon 50 | @text Default Icon 51 | @desc Icon to display when no note tag is entered. Default 16 52 | @type number 53 | @default 16 54 | */ 55 | 56 | /*:ja 57 | @target MZ 58 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_EnemyIconMZ.js 59 | @plugindesc 戦闘画面で敵キャラの名前の前にアイコンを表示します。 60 | @author munokura 61 | 62 | @help 63 | 戦闘画面で敵キャラの名前の前にアイコンを表示します。 64 | 65 | 敵キャラのメモ欄に下記のようにタグを入れてください。 66 | 67 | アイコンIDはカンマ区切りで複数を指定できます。 68 | 69 | 例 70 | 71 | 72 | 注意事項 73 | 74 | 75 | のように0以下の数値を入れるとアイコンが表示されません。 76 | 77 | また、敵キャラの名前の枠の幅を超えたアイコン数(デフォルトでは9個以上)を 78 | 指定するとアイコンは縮まりません。 79 | アイコンが枠をはみ出し、敵キャラ名が表示されません。 80 | 81 | 82 | プラグインコマンドはありません。 83 | 84 | 85 | # 利用規約 86 | MITライセンスです。 87 | http://opensource.org/licenses/mit-license.php 88 | 作者に無断で改変、再配布が可能で、 89 | 利用形態(商用、18禁利用等)についても制限はありません。 90 | 91 | 92 | Ver.1.1.0 93 | アイコンを複数表示可能に機能追加 94 | 95 | @param defaultIcon 96 | @text デフォルトアイコン 97 | @type number 98 | @desc メモタグを入れない場合に表示するアイコン。デフォルト16 99 | 0にすると、非表示で左に詰まります。 100 | @default 16 101 | */ 102 | 103 | (() => { 104 | 'use strict'; 105 | 106 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 107 | const parameters = PluginManager.parameters(pluginName); 108 | const PRM_defaultIcon = Number(parameters['defaultIcon'] || 16); 109 | 110 | const _Window_BattleEnemy_drawItem = Window_BattleEnemy.prototype.drawItem 111 | Window_BattleEnemy.prototype.drawItem = function (index) { 112 | const enemyObj = this._enemies[index]; 113 | const icons = enemyObj.enemy().meta.MNKR_EnemyIcon; 114 | const iconArr = icons ? icons.split(',').map(Number) : [PRM_defaultIcon]; 115 | if (iconArr[0] > 0) { 116 | const iconMargin = ImageManager.iconWidth + 2; 117 | const name = enemyObj.name(); 118 | const rect = this.itemLineRect(index); 119 | const iconY = rect.y + (this.lineHeight() - ImageManager.iconHeight) / 2; 120 | const textMargin = iconMargin * iconArr.length + 2; 121 | const itemWidth = Math.max(1, rect.width - textMargin); 122 | this.resetTextColor(); 123 | for (let i in iconArr) { 124 | this.drawIcon(iconArr[i], rect.x + iconMargin * i, iconY); 125 | } 126 | this.drawText(name, rect.x + textMargin, rect.y, itemWidth); 127 | } else { 128 | _Window_BattleEnemy_drawItem.call(this, index); 129 | }; 130 | }; 131 | 132 | })(); -------------------------------------------------------------------------------- /MNKR_ChangeWinAction.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ChangeWinAction.js 4 | * Ver.1.0.2 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ChangeWinAction.js 14 | @plugindesc If the designated switch is ON, the SV actor will perform the designated action when the battle is won. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | When the designated switch is ON, the SV actor will perform the specified 20 | action upon victory. 21 | 22 | There are no plugin commands. 23 | 24 | Terms of Use: 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, 18+, etc.). 29 | 30 | @param Switch Id 31 | @text Activation switch 32 | @desc The switch ID to activate. If 0 (none) is specified, it will always be activated. 33 | @type switch 34 | @default 11 35 | 36 | @param Select Action 37 | @text Specified Action 38 | @desc Action to be performed when the switch is turned on and you win 39 | @type select 40 | @default dying 41 | @option forward 42 | @value walk 43 | @option Normal standby 44 | @value wait 45 | @option Chant standby 46 | @value chant 47 | @option defense 48 | @value guard 49 | @option damage 50 | @value damage 51 | @option Avoid 52 | @value evade 53 | @option thrust 54 | @value thrust 55 | @option Swing 56 | @value swing 57 | @option Projectile 58 | @value missile 59 | @option General Skills 60 | @value skill 61 | @option magic 62 | @value spell 63 | @option item 64 | @value item 65 | @option run away 66 | @value escape 67 | @option victory 68 | @value victory 69 | @option dying 70 | @value dying 71 | @option abnormal status 72 | @value abnormal 73 | @option sleep 74 | @value sleep 75 | @option Incapacitated 76 | @value dead 77 | */ 78 | 79 | /*:ja 80 | @target MZ MV 81 | @url https://raw.githubusercontent.com/munokura/MNKR-MV-plugins/master/MNKR_ChangeWinAction.js 82 | @plugindesc 指定スイッチがONの場合、戦闘勝利時にSVアクターが指定動作をします。 83 | @author munokura 84 | 85 | @param Switch Id 86 | @text 発動スイッチ 87 | @type switch 88 | @desc 発動させるスイッチID。0(なし)を指定した場合、常に発動します。 89 | @default 11 90 | 91 | @param Select Action 92 | @text 指定動作 93 | @type select 94 | @option 前進 95 | @value walk 96 | @option 通常待機 97 | @value wait 98 | @option 詠唱待機 99 | @value chant 100 | @option 防御 101 | @value guard 102 | @option ダメージ 103 | @value damage 104 | @option 回避 105 | @value evade 106 | @option 突き 107 | @value thrust 108 | @option 振り 109 | @value swing 110 | @option 飛び道具 111 | @value missile 112 | @option 汎用スキル 113 | @value skill 114 | @option 魔法 115 | @value spell 116 | @option アイテム 117 | @value item 118 | @option 逃げる 119 | @value escape 120 | @option 勝利 121 | @value victory 122 | @option 瀕死 123 | @value dying 124 | @option 状態異常 125 | @value abnormal 126 | @option 睡眠 127 | @value sleep 128 | @option 戦闘不能 129 | @value dead 130 | @desc スイッチON時の勝利時に行う動作 131 | @default dying 132 | 133 | @help 134 | 指定スイッチがONの場合、戦闘勝利時にSVアクターが指定動作をします。 135 | 136 | プラグインコマンドはありません。 137 | 138 | 利用規約: 139 | MITライセンスです。 140 | http://opensource.org/licenses/mit-license.php 141 | 作者に無断で改変、再配布が可能で、 142 | 利用形態(商用、18禁利用等)についても制限はありません。 143 | */ 144 | 145 | (() => { 146 | 'use strict'; 147 | 148 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 149 | const parameters = PluginManager.parameters(pluginName); 150 | const param = {}; 151 | param.switchId = Number(parameters['Switch Id'] || 11); 152 | param.selectAction = parameters['Select Action'] || 'dying'; 153 | 154 | const _Game_Actor_performVictory = Game_Actor.prototype.performVictory; 155 | Game_Actor.prototype.performVictory = function () { 156 | const switchevalue = param.switchId > 0 ? $gameSwitches.value(param.switchId) : true; 157 | if (switchevalue && this.canMove()) { 158 | this.requestMotion(param.selectAction); 159 | } else { 160 | _Game_Actor_performVictory.call(this); 161 | }; 162 | }; 163 | 164 | })(); 165 | -------------------------------------------------------------------------------- /MNKR_SetMessageDefaultBack.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_SetMessageDefaultBack.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SetMessageDefaultBack.js 14 | @plugindesc Changes the default background for the "Show Text" command. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | In RPG Maker MZ and MV, the default background for the "Show Text" command is 20 | "Window." 21 | Change this to a different background type. 22 | 23 | Specify the default background in the plugin parameters. 24 | The "Window" background setting for the "Show Text" command 25 | will be changed to the "Dark" or "Transparent" background specified by the 26 | plugin. 27 | 28 | If you need to use a "Window" background, 29 | set the background for the "Show Text" command 30 | to the same background as the type specified in the plugin parameters. 31 | 32 | There is no plugin command. 33 | 34 | # Terms of Use 35 | MIT License. 36 | http://opensource.org/licenses/mit-license.php 37 | You may modify and redistribute this without permission from the author, 38 | and there are no restrictions on its use (commercial, 18+, etc.). 39 | 40 | # Acknowledgments 41 | This plugin was created based on the specifications of Kuina Tsutamori's 42 | Message Window Background Default Setting Plugin. 43 | 44 | At first, the code was completely different, 45 | but after organizing and comparing it, it ended up being very similar to the 46 | above plugin. 47 | I think my code is cheaper, 48 | but I couldn't understand Tsutamori Kuina's code. 49 | Then I discovered that the above plugin works with MZ...that's how it 50 | happened. 51 | Since I went to the trouble of making it, I decided to make it public. 52 | 53 | @param messageDefaultBack 54 | @text Default background for displaying text 55 | @desc Default background type for text display 56 | @type select 57 | @default clear 58 | @option Darken 59 | @value dark 60 | @option transparent 61 | @value clear 62 | */ 63 | 64 | /*:ja 65 | @target MZ MV 66 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SetMessageDefaultBack.js 67 | @plugindesc 「文章の表示」コマンドのデフォルト指定の背景を変更します。 68 | @author munokura 69 | 70 | @help 71 | RPGツクールMZ・MVで「文章の表示」コマンドのデフォルト指定の背景は 72 | 「ウィンドウ」が指定されています。 73 | これを別の背景タイプに変更します。 74 | 75 | プラグインパラメータで背景のデフォルトを指定して下さい。 76 | 「文章の表示」コマンドの背景指定「ウィンドウ」を 77 | プラグインで指定した「暗くする」や「透明」の背景に変更して表示されます。 78 | 79 | 「ウィンドウ」タイプの背景を使う必要がある場合、 80 | 「文章の表示」コマンドの背景を、 81 | プラグインパラメーターで指定したタイプと同じ背景に設定します。 82 | 83 | 84 | プラグインコマンドはありません。 85 | 86 | 87 | # 利用規約 88 | MITライセンスです。 89 | http://opensource.org/licenses/mit-license.php 90 | 作者に無断で改変、再配布が可能で、 91 | 利用形態(商用、18禁利用等)についても制限はありません。 92 | 93 | 94 | # 謝辞 95 | このプラグインは蔦森くいな氏作 96 | メッセージウィンドウ背景デフォルト指定プラグイン 97 | の仕様を参考に作成を開始しました。 98 | 最初は全く違うコードだったのですが、 99 | 整理して比較した結果、上記プラグインと非常に似通ったコードになりました。 100 | 当方のコードのほうがチープと思うのですが、 101 | 蔦森くいな氏のコードが理解できませんでした。 102 | そして、上記プラグインがMZで動くことが判明しました…という経緯があります。 103 | せっかく作ったので、公開することにしました。 104 | 105 | 106 | @param messageDefaultBack 107 | @text 文章の表示のデフォルト背景 108 | @type select 109 | @option 暗くする 110 | @value dark 111 | @option 透明 112 | @value clear 113 | @desc デフォルトにする文章の表示の背景タイプ 114 | @default clear 115 | */ 116 | 117 | (() => { 118 | "use strict"; 119 | 120 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 121 | const parameters = PluginManager.parameters(pluginName); 122 | const messageDefaultBack = Number(parameters['messageDefaultBack'] === "dark" ? 1 : 2); 123 | 124 | const _Game_Message_setBackground = Game_Message.prototype.setBackground; 125 | Game_Message.prototype.setBackground = function (background) { 126 | switch (background) { 127 | case 0: 128 | background = messageDefaultBack; 129 | break; 130 | case messageDefaultBack: 131 | background = 0; 132 | break; 133 | } 134 | _Game_Message_setBackground.call(this, background); 135 | }; 136 | 137 | })(); -------------------------------------------------------------------------------- /MNKR_TMholdDirectionMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TMholdDirectionMZ.js 4 | * Ver.1.0.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | //============================================================================= 11 | // TMPlugin - 移動機能拡張 12 | // バージョン: 1.3.1 13 | // 最終更新日: 2017/06/16 14 | // 配布元 : http://hikimoki.sakura.ne.jp/ 15 | //----------------------------------------------------------------------------- 16 | // Copyright (c) 2015 tomoaky 17 | // Released under the MIT license. 18 | // http://opensource.org/licenses/mit-license.php 19 | //============================================================================= 20 | 21 | /*: 22 | @target MZ 23 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMholdDirectionMZ.js 24 | @plugindesc Adds the ability to change the player's orientation without moving. 25 | @author tomoaky,munokura 26 | @license MIT License 27 | 28 | @help 29 | How to Use: 30 | 31 | Hold down the S key and press the directional keys to change the player's 32 | orientation without moving. When using the mouse (tap), click where the player 33 | is to rotate 90 degrees clockwise. 34 | 35 | You can set the key used to change orientation without moving by changing the 36 | value of turnKeyCode. Do not set keys already used for standard functions, 37 | such as X or Z. 38 | 39 | # Contact Information 40 | This is a plugin originally created for RPG Maker MV that has been ported to 41 | MZ. 42 | Please contact the modifier for any inquiries. 43 | 44 | # Terms of Use 45 | MIT License. 46 | http://opensource.org/licenses/mit-license.php 47 | You may modify and redistribute this without permission, and there are no 48 | restrictions on its use (commercial, R18, etc.). 49 | 50 | @param turnKeyCode 51 | @text Orientation change key 52 | @desc Keys used to change orientation on the fly 53 | @type string 54 | @default S 55 | */ 56 | 57 | /*:ja 58 | @target MZ 59 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMholdDirectionMZ.js 60 | @author tomoaky (改変:munokura) 61 | @plugindesc 移動せずにプレイヤーの向きだけを変える機能を追加します。 62 | 63 | @help 64 | 使い方: 65 | 66 | Sキーを押しながら方向キーを押すと、移動せずにプレイヤーの向きだけを 67 | 変えることができます。マウス(タップ)操作の場合はプレイヤーがいる場所 68 | をクリックすることで、時計回りに90度回転します。 69 | 70 | その場で移動せずに向きを変更する機能で使用するキーは turnKeyCode の値を 71 | 変更することで設定できます。XやZなど標準機能で既に使用しているキーは 72 | 設定しないでください。 73 | 74 | 75 | # 問い合わせ先 76 | これはRPGツクールMV用に作成されたプラグインをMZ用に移植したものです。 77 | お問い合わせは改変者へお願いいたします。 78 | 79 | 80 | # 利用規約 81 | MITライセンスです。 82 | http://opensource.org/licenses/mit-license.php 83 | 作者に無断で改変、再配布が可能で、 84 | 利用形態(商用、18禁利用等)についても制限はありません。 85 | 86 | 87 | @param turnKeyCode 88 | @text 向き変更キー 89 | @desc その場で向き変更に使うキー 90 | 初期値: S 91 | @default S 92 | @type string 93 | */ 94 | 95 | 96 | (() => { 97 | 'use strict'; 98 | 99 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 100 | const parameters = PluginManager.parameters(pluginName); 101 | 102 | //----------------------------------------------------------------------------- 103 | // Input 104 | // 105 | 106 | Input.keyMapper[parameters['turnKeyCode'].charCodeAt()] = 'turn'; 107 | 108 | //----------------------------------------------------------------------------- 109 | // Game_Player 110 | // 111 | 112 | const _Game_Player_moveByInput = Game_Player.prototype.moveByInput; 113 | Game_Player.prototype.moveByInput = function () { 114 | if (!this.isMoving() && this.canMove()) { 115 | const direction = this.getInputDirection(); 116 | if (Input.isPressed('turn') && direction > 0) { 117 | this.setDirection(direction); 118 | return; 119 | } 120 | if (TouchInput.isTriggered() && $gameTemp.isDestinationValid()) { 121 | const x = $gameTemp.destinationX(); 122 | const y = $gameTemp.destinationY(); 123 | if (this.pos(x, y)) { 124 | this.turnRight90(); 125 | return; 126 | } 127 | } 128 | } 129 | _Game_Player_moveByInput.call(this); 130 | }; 131 | 132 | })(); -------------------------------------------------------------------------------- /MNKR_MOG_TittleCommandsPatchMZ.js: -------------------------------------------------------------------------------- 1 | //============================================================================= 2 | // MNKR_MOG_TittleCommandsPatchMZ.js 3 | //============================================================================= 4 | 5 | /*: 6 | @target MZ 7 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MOG_TittleCommandsPatchMZ.js 8 | @plugindesc If there is no saved data, MOG_TitleCommands can change the hue of the image or replace it. 9 | @author munokura 10 | @license MIT License 11 | 12 | @help 13 | The following is a patch plugin for MOG_TitleCommands. 14 | ============================================================================== 15 | +++ MOG - Title Picture Commands (v1.3) +++ 16 | By Moghunter 17 | https://mogplugins.wordpress.com 18 | ========================================================================================= 19 | Please follow the terms of use of the plugin above. 20 | 21 | There are no plugin commands. 22 | 23 | # Contact 24 | Please contact the modifier for any inquiries. 25 | 26 | Changes the continue image displayed when no save data is available. 27 | You can change the color tone or replace the image. 28 | 29 | Save the replacement image in the following folder: 30 | img/titles2/ 31 | 32 | If you specify a replacement image, the color tone change setting will be 33 | ignored. 34 | 35 | @param replaceImage 36 | @text Image when continue is not possible 37 | @desc Specifies the image to display for the continue command when there is no saved data. 38 | @type file 39 | @require 1 40 | @dir img/titles2 41 | 42 | @param continueTone 43 | @text Continuity image tone 44 | @desc If there is no saved data, the color to change the continue command image to. Red, green, blue, gray (0, 0, 0, 128) 45 | @type string 46 | @default 0, 0, 0, 128 47 | */ 48 | 49 | /*:ja 50 | @target MZ 51 | @plugindesc MOG_TitleCommands でセーブデータがない場合、画像の色相を変えたり、差し替えたり出来ます。 52 | @author Moghunter (改変:munokura) 53 | @base MOG_TitleCommands 54 | @orderAfter MOG_TitleCommands 55 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MOG_TittleCommandsPatchMZ.js 56 | 57 | @help 58 | 下記、MOG_TitleCommands のパッチプラグインです。 59 | ============================================================================ 60 | +++ MOG - Title Picture Commands (v1.3) +++ 61 | By Moghunter 62 | https://mogplugins.wordpress.com 63 | ============================================================================ 64 | 利用規約は上記プラグインのものに従ってください。 65 | 66 | 67 | プラグインコマンドはありません。 68 | 69 | 70 | # 問い合わせ先 71 | お問い合わせは改変者へお願いいたします。 72 | 73 | 74 | セーブデータがない場合に、コンティニュー画像の表示を変更します。 75 | 色調を変えたり、差し替えたり出来ます。 76 | 77 | 差し替える画像は下記のフォルダに保存してください。 78 | img/titles2/ 79 | 80 | 差し替える画像を指定した場合、色調変更の指定は無視されます。 81 | 82 | 83 | @param replaceImage 84 | @text コンティニュー不可時画像 85 | @type file 86 | @require 1 87 | @dir img/titles2 88 | @default 89 | @desc セーブデータがない場合にコンティニューコマンドに表示する画像を指定します。 90 | 91 | @param continueTone 92 | @text コンティニュー画像色調 93 | @type string 94 | @desc セーブデータがない場合、コンティニューコマンド画像を変化させる色調です。赤,緑,青,グレー(0, 0, 0, 128) 95 | @default 0, 0, 0, 128 96 | */ 97 | 98 | //============================================================================= 99 | // ** PLUGIN PARAMETERS 100 | //============================================================================= 101 | 102 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 103 | const parameters = PluginManager.parameters(pluginName); 104 | 105 | const param = {}; 106 | param.replaceImage = parameters['replaceImage'] || ''; 107 | param.continueTone = parameters[['continueTone']] || [0, 0, 0, 0]; 108 | 109 | //============================== 110 | // * Prepare Bitmap Patch by munokura 111 | //============================== 112 | const _TpictureCom_prepareBitmap = TpictureCom.prototype.prepareBitmap; 113 | TpictureCom.prototype.prepareBitmap = function () { 114 | const hasReplaceImage = param.replaceImage ? true : false; 115 | const name = hasReplaceImage ? param.replaceImage : "Command_" + String(this._index); 116 | if (this._index === 1 && !DataManager.isAnySavefileExists()) { 117 | if (hasReplaceImage) { 118 | this.bitmap = ImageManager.loadTitle2(name); 119 | } else { 120 | this.blendMode = 1; 121 | this.setBlendColor([0, 0, 0, 128]); 122 | this.bitmap = ImageManager.loadTitle2(name); 123 | } 124 | } else { 125 | _TpictureCom_prepareBitmap.call(this); 126 | } 127 | }; -------------------------------------------------------------------------------- /MNKR_ActorCommandChoice.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_ActorCommandChoice.js 4 | * Ver.1.0.3 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ActorCommandChoice.js 14 | @plugindesc Changed the display of common actor battle commands 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can specify the display of common actor combat commands (attack, skill, 20 | defense, item). 21 | Use the plugin parameters to specify whether to show or hide these commands. 22 | 23 | Please place this plugin as high up in your plugin management list as 24 | possible. 25 | 26 | # Terms of Use: 27 | MIT License. 28 | http://opensource.org/licenses/mit-license.php 29 | You may modify and redistribute this plugin without permission from the 30 | author, and there are no restrictions on its use (commercial, 18+, etc.). 31 | 32 | @param addAttack 33 | @text attack 34 | @desc Specifies whether to show or hide the attack command. 35 | @type boolean 36 | @on display 37 | @off hidden 38 | @default false 39 | 40 | @param addSkill 41 | @text skill 42 | @desc Specifies whether to show or hide skill commands. 43 | @type boolean 44 | @on display 45 | @off hidden 46 | @default true 47 | 48 | @param addGuard 49 | @text defense 50 | @desc Specifies whether to show or hide the defense command. 51 | @type boolean 52 | @on display 53 | @off hidden 54 | @default true 55 | 56 | @param addItem 57 | @text item 58 | @desc Specifies whether to show or hide the item command. 59 | @type boolean 60 | @on display 61 | @off hidden 62 | @default true 63 | 64 | @param commandCols 65 | @text Number of command columns 66 | @desc Specifies the number of columns in the actor command. 67 | @type number 68 | @default 1 69 | */ 70 | 71 | /*:ja 72 | @target MZ MV 73 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_ActorCommandChoice.js 74 | @plugindesc アクター共通の戦闘コマンドの表示を変更 75 | @author munokura 76 | 77 | @help 78 | アクター共通の戦闘コマンド(攻撃、スキル、防御、アイテム)表示を指定できます。 79 | プラグインパラメーターで、表示・非表示を指定してください。 80 | 81 | このプラグインは、プラグイン管理リストの出来るだけ上の方に配置してください。 82 | 83 | 84 | # 利用規約: 85 | MITライセンスです。 86 | http://opensource.org/licenses/mit-license.php 87 | 作者に無断で改変、再配布が可能で、 88 | 利用形態(商用、18禁利用等)についても制限はありません。 89 | 90 | 91 | @param addAttack 92 | @text 攻撃 93 | @desc 攻撃コマンドの表示/非表示を指定します。 94 | @type boolean 95 | @on 表示 96 | @off 非表示 97 | @default false 98 | 99 | @param addSkill 100 | @text スキル 101 | @desc スキルコマンドの表示/非表示を指定します。 102 | @type boolean 103 | @on 表示 104 | @off 非表示 105 | @default true 106 | 107 | @param addGuard 108 | @text 防御 109 | @desc 防御コマンドの表示/非表示を指定します。 110 | @type boolean 111 | @on 表示 112 | @off 非表示 113 | @default true 114 | 115 | @param addItem 116 | @text アイテム 117 | @desc アイテムコマンドの表示/非表示を指定します。 118 | @type boolean 119 | @on 表示 120 | @off 非表示 121 | @default true 122 | 123 | @param commandCols 124 | @text コマンド列数 125 | @desc アクターコマンドの列数を指定します。 126 | @type number 127 | @default 1 128 | */ 129 | 130 | (() => { 131 | 'use strict'; 132 | 133 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 134 | const parameters = PluginManager.parameters(pluginName); 135 | const PRM_addAttack = parameters['addAttack'] === 'true'; 136 | const PRM_addSkill = parameters['addSkill'] === 'true'; 137 | const PRM_addGuard = parameters['addGuard'] === 'true'; 138 | const PRM_addItem = parameters['addItem'] === 'true'; 139 | const PRM_commandCols = Number(parameters['commandCols'] || 1); 140 | 141 | Window_ActorCommand.prototype.maxCols = function () { 142 | return PRM_commandCols; 143 | }; 144 | 145 | Window_ActorCommand.prototype.makeCommandList = function () { 146 | if (this._actor) { 147 | if (PRM_addAttack) { 148 | this.addAttackCommand(); 149 | } 150 | if (PRM_addSkill) { 151 | this.addSkillCommands(); 152 | } 153 | if (PRM_addGuard) { 154 | this.addGuardCommand(); 155 | } 156 | if (PRM_addItem) { 157 | this.addItemCommand(); 158 | } 159 | } 160 | }; 161 | 162 | })(); -------------------------------------------------------------------------------- /MNKR_HenshinMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_HenshinMZ.js 4 | * Ver.1.1.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HenshinMZ.js 14 | @plugindesc You can swap actors using plugin commands. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can swap actors using plugin commands. 20 | The party order remains the same. 21 | 22 | You can swap actors both on the map and during battle. 23 | This is intended for use in situations such as swapping protagonists or 24 | transforming. 25 | 26 | Plugin Commands 27 | - Actor Swap 28 | 29 | Notes 30 | Nothing will happen in the following situations: 31 | - If the pre-transformation actor is not in the party 32 | - If the post-transformation actor is in the party 33 | 34 | # Terms of Use 35 | MIT License. 36 | http://opensource.org/licenses/mit-license.php 37 | Modification and redistribution are permitted without permission from the 38 | author, 39 | and there are no restrictions on usage (commercial, R18+, etc.). 40 | 41 | @command henshin 42 | @text Actor replacement 43 | @desc Swaps actors without changing their order. 44 | @arg ActorId1 45 | @text Actor ID before swapping 46 | @desc Specify the actor ID before swapping. 47 | @type actor 48 | @arg ActorId2 49 | @text Actor ID after swapping 50 | @desc Specify the actor ID after swapping. 51 | @type actor 52 | */ 53 | 54 | /*:ja 55 | @target MZ 56 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_HenshinMZ.js 57 | @plugindesc プラグインコマンドでアクターを入れ替えられます。 58 | @author munokura 59 | 60 | @help 61 | プラグインコマンドでアクターを入れ替えられます。 62 | パーティの並び順がそのままで入れ替わります。 63 | 64 | マップでも戦闘中でも入れ替えられます。 65 | 主人公の入換や変身を表現する等への使用を想定しています。 66 | 67 | 68 | プラグインコマンド 69 | ・アクター入れ替え 70 | 71 | 注意点 72 | 下記の状況では、何も起こりません。 73 | - パーティに変身前のアクターがいない場合 74 | - パーティに変身後のアクターがいる場合 75 | 76 | 77 | # 利用規約 78 | MITライセンスです。 79 | http://opensource.org/licenses/mit-license.php 80 | 作者に無断で改変、再配布が可能で、 81 | 利用形態(商用、18禁利用等)についても制限はありません。 82 | 83 | 84 | @command henshin 85 | @text アクター入れ替え 86 | @desc アクターを並び順を変えずに入れ替えます。 87 | 88 | @arg ActorId1 89 | @text 入換前のアクターID 90 | @desc 入換前のアクターIDを指定します。 91 | @type actor 92 | @default 93 | 94 | @arg ActorId2 95 | @text 入換後のアクターID 96 | @desc 入換後のアクターIDを指定します。 97 | @type actor 98 | @default 99 | */ 100 | 101 | (() => { 102 | 103 | 'use strict' 104 | 105 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 106 | 107 | // 2021/06/02 chronicle氏に提示いただいたコードに全面差し替え 108 | 109 | PluginManager.registerCommand(pluginName, "henshin", args => { 110 | const actor = $gameActors.actor(Number(args.ActorId1)); 111 | if (actor) actor.transform(Number(args.ActorId2)); 112 | }); 113 | 114 | Game_Actor.prototype.transform = function (actorId) { 115 | const allMemberIndex = actor => $gameParty.allMembers().indexOf(actor); 116 | 117 | const index = allMemberIndex(this); 118 | const transformActor = $gameActors.actor(actorId); 119 | let transformIndex = allMemberIndex(transformActor); 120 | if (!transformActor || index < 0 || transformIndex >= 0) return; 121 | 122 | const wasBattleMember = $gameParty.battleMembers().includes(this); 123 | if (wasBattleMember) $gameParty._transformActorId = actorId; 124 | $gameParty.addActor(actorId); 125 | transformIndex = allMemberIndex(transformActor); 126 | if (transformIndex >= 0) { 127 | $gameParty.swapOrder(index, allMemberIndex(transformActor)); 128 | if (wasBattleMember) $gameParty._transformActorId = this.actorId(); 129 | $gameParty.removeActor(this.actorId()); 130 | } 131 | $gameParty._transformActorId = null; 132 | }; 133 | 134 | const _Game_Party_initialize = Game_Party.prototype.initialize; 135 | Game_Party.prototype.initialize = function () { 136 | _Game_Party_initialize.apply(this, arguments); 137 | this._transformActorId = null; 138 | }; 139 | 140 | const _Game_Party_battleMembers = Game_Party.prototype.battleMembers; 141 | Game_Party.prototype.battleMembers = function () { 142 | const members = _Game_Party_battleMembers.apply(this, arguments); 143 | if (this._transformActorId) members.push($gameActors.actor(this._transformActorId)); 144 | return members; 145 | }; 146 | 147 | })(); -------------------------------------------------------------------------------- /MNKR_BattleActorNameMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_BattleActorNameMZ.js 4 | * Ver.0.1.0 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_BattleActorNameMZ.js 14 | @plugindesc Changes the font of actor names in the battle status window. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Changes the font of actor names in the battle status window. 20 | 21 | No plugin commands. 22 | 23 | # Terms of Use 24 | MIT License. 25 | http://opensource.org/licenses/mit-license.php 26 | You may modify and redistribute this without permission, and there are no 27 | restrictions on its use (commercial, R18+, etc.). 28 | 29 | @param fontSize 30 | @text Font size 31 | @desc Actor name font size 32 | @default 26 33 | 34 | @param textColor 35 | @text Text Color 36 | @desc Actor name text color, specified in HEX 37 | @default #ffffff 38 | 39 | @param outlineWidth 40 | @text Outline Width 41 | @desc Actor Name Text Outline Width 42 | @default 3 43 | 44 | @param outlineColor 45 | @text Outline Color 46 | @desc Actor name text outline color, specified as RGBA 47 | @type struct 48 | @default {"red":"0","green":"0","blue":"0","alpha":"60"} 49 | */ 50 | 51 | /*~struct~RGBA: 52 | @param red 53 | @text red 54 | @desc R in RGBA. 0-255 55 | @type number 56 | @default 0 57 | @max 255 58 | 59 | @param green 60 | @text green 61 | @desc G in RGBA. 0-255 62 | @type number 63 | @default 0 64 | @max 255 65 | 66 | @param blue 67 | @text blue 68 | @desc B in RGBA. 0-255 69 | @type number 70 | @default 0 71 | @max 255 72 | 73 | @param alpha 74 | @text Opacity 75 | @desc A in RGBA. Opacity. 0-100 76 | @type number 77 | @default 60 78 | @max 100 79 | */ 80 | 81 | /*:ja 82 | @target MZ 83 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_BattleActorNameMZ.js 84 | @plugindesc 戦闘ステータスウィンドウ内アクター名のフォントを変更します。 85 | @author munokura 86 | 87 | @help 88 | 戦闘ステータスウィンドウ内アクター名のフォントを変更します。 89 | 90 | 91 | プラグインコマンドはありません。 92 | 93 | 94 | # 利用規約 95 | MITライセンスです。 96 | http://opensource.org/licenses/mit-license.php 97 | 作者に無断で改変、再配布が可能で、 98 | 利用形態(商用、18禁利用等)についても制限はありません。 99 | 100 | 101 | @param fontSize 102 | @text フォントサイズ 103 | @default 26 104 | @desc アクター名のフォントサイズ 105 | ツクールデフォルト:26 106 | 107 | @param textColor 108 | @text テキスト色 109 | @default #ffffff 110 | @desc アクター名のテキスト色。HEXで指定 111 | ツクールデフォルト:#ffffff 112 | 113 | @param outlineWidth 114 | @text アウトライン幅 115 | @default 3 116 | @desc アクター名のテキストアウトライン幅 117 | ツクールデフォルト:3 118 | 119 | @param outlineColor 120 | @text アウトライン色 121 | @default {"red":"0","green":"0","blue":"0","alpha":"60"} 122 | @desc アクター名のテキストアウトライン色。RGBAで指定 123 | ツクールデフォルト:0, 0, 0, 60 124 | @type struct 125 | */ 126 | 127 | /*~struct~RGBA:ja 128 | @param red 129 | @text 赤 130 | @default 0 131 | @desc RGBAのR。0-255 132 | @type number 133 | @max 255 134 | 135 | @param green 136 | @text 緑 137 | @default 0 138 | @desc RGBAのG。0-255 139 | @type number 140 | @max 255 141 | 142 | @param blue 143 | @text 青 144 | @default 0 145 | @desc RGBAのB。0-255 146 | @type number 147 | @max 255 148 | 149 | @param alpha 150 | @text 不透明度 151 | @default 60 152 | @desc RGBAのA。不透明度。0-100 153 | @type number 154 | @max 100 155 | */ 156 | 157 | (() => { 158 | "use strict"; 159 | 160 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 161 | const parameters = PluginManager.parameters(pluginName); 162 | const PRM_fontSize = Number(parameters['fontSize'] || 26); 163 | const PRM_textColor = parameters['textColor'] || '#ffffff'; 164 | const PRM_outlineWidth = Number(parameters['outlineWidth'] || 3); 165 | const PRM_outlineColorJson = JSON.parse(parameters['outlineColor']); 166 | const PRM_outlineColor = 'rgba(' + 167 | (PRM_outlineColorJson.red, PRM_outlineColorJson.green, PRM_outlineColorJson.blue, PRM_outlineColorJson.alpha / 100) 168 | + ')'; 169 | 170 | const _Sprite_Name_setupFont = Sprite_Name.prototype.setupFont; 171 | Sprite_Name.prototype.setupFont = function () { 172 | _Sprite_Name_setupFont.call(this); 173 | this.bitmap.fontSize = PRM_fontSize; 174 | this.bitmap.textColor = PRM_textColor; 175 | this.bitmap.outlineColor = PRM_outlineColor; 176 | this.bitmap.outlineWidth = PRM_outlineWidth; 177 | }; 178 | 179 | })(); -------------------------------------------------------------------------------- /MNKR_EncounterEffect.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_EncounterEffect.js 4 | * Ver.1.1.2 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_EncounterEffect.js 14 | @plugindesc You can adjust the encounter effects. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | You can adjust the encounter effects. 20 | Set this in the plugin parameters. 21 | 22 | If you are using other encounter-related plugins, 23 | place this plugin at the top of the plugin management list. 24 | 25 | There are no plugin commands. 26 | 27 | # Terms of Use 28 | MIT License. 29 | http://opensource.org/licenses/mit-license.php 30 | You may modify and redistribute this without permission from the author, 31 | and there are no restrictions on its use (commercial, 18+, etc.). 32 | 33 | @param zoomProcess 34 | @text Zoom processing? 35 | @desc Zoom effect before battle when encountering 36 | @type boolean 37 | @on Zoom 38 | @off Do not zoom 39 | @default false 40 | 41 | @param flashProcess 42 | @text Flash processing? 43 | @desc Flash effect before battle when encountering 44 | @type boolean 45 | @on Flash 46 | @off Do not flash 47 | @default false 48 | 49 | @param fadeOut 50 | @text Fade out? 51 | @desc Fade-out effect before battle when encountering an enemy 52 | @type boolean 53 | @on Fade out 54 | @off No fade out 55 | @default false 56 | */ 57 | 58 | /*:ja 59 | @target MZ MV 60 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_EncounterEffect.js 61 | @plugindesc エンカウント時の演出を調整できます。 62 | @author munokura 63 | 64 | @help 65 | エンカウント時の演出を調整できます。 66 | プラグインパラメーターで設定してください。 67 | 68 | エンカウントに関係する他のプラグインを併用する場合、 69 | このプラグインをプラグイン管理リストで上位に配置してください。 70 | 71 | 72 | プラグインコマンドはありません。 73 | 74 | 75 | # 利用規約 76 | MITライセンスです。 77 | http://opensource.org/licenses/mit-license.php 78 | 作者に無断で改変、再配布が可能で、 79 | 利用形態(商用、18禁利用等)についても制限はありません。 80 | 81 | 82 | @param zoomProcess 83 | @text ズーム処理? 84 | @type boolean 85 | @on ズームする 86 | @off ズームしない 87 | @desc エンカウント時に戦闘前のズーム演出 88 | ツクールデフォルト:する 89 | @default false 90 | 91 | @param flashProcess 92 | @text フラッシュ処理? 93 | @type boolean 94 | @on フラッシュする 95 | @off フラッシュしない 96 | @desc エンカウント時に戦闘前のフラッシュ演出 97 | ツクールデフォルト:する 98 | @default false 99 | 100 | @param fadeOut 101 | @text フェードアウト? 102 | @type boolean 103 | @on フェードアウトする 104 | @off フェードアウトしない 105 | @desc エンカウント時に戦闘前のフェードアウト演出 106 | ツクールデフォルト:する 107 | @default false 108 | */ 109 | 110 | (() => { 111 | 'use strict' 112 | 113 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 114 | const parameters = PluginManager.parameters(pluginName); 115 | const PRM_zoomProcess = parameters['zoomProcess'] === 'true'; 116 | const PRM_flashProcess = parameters['flashProcess'] === 'true'; 117 | const PRM_fadeOut = parameters['fadeOut'] === 'true'; 118 | 119 | Scene_Map.prototype.updateEncounterEffect = function () { 120 | if (this._encounterEffectDuration > 0) { 121 | this._encounterEffectDuration--; 122 | const speed = this.encounterEffectSpeed(); 123 | const n = speed - this._encounterEffectDuration; 124 | const p = n / speed; 125 | const q = ((p - 1) * 20 * p + 5) * p + 1; 126 | const zoomX = $gamePlayer.screenX(); 127 | const zoomY = $gamePlayer.screenY() - 24; 128 | if (n === 2) { 129 | $gameScreen.setZoom(zoomX, zoomY, 1); 130 | this.snapForBattleBackground(); 131 | if (PRM_flashProcess) { 132 | this.startFlashForEncounter(speed / 2); 133 | } 134 | } 135 | if (PRM_zoomProcess) { 136 | $gameScreen.setZoom(zoomX, zoomY, q); 137 | } 138 | if (n === Math.floor(speed / 6)) { 139 | if (PRM_flashProcess) { 140 | this.startFlashForEncounter(speed / 2); 141 | } 142 | } 143 | if (n === Math.floor(speed / 2)) { 144 | BattleManager.playBattleBgm(); 145 | if (PRM_fadeOut) { 146 | this.startFadeOut(this.fadeSpeed()); 147 | } 148 | } 149 | } 150 | }; 151 | 152 | })(); -------------------------------------------------------------------------------- /MNKR_Excalibur.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_Excalibur.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_Excalibur.js 14 | @plugindesc Make the key to the promised victory. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Pressing the victory key during battle 20 | inflicts the "Incapacitated" state on all enemies and ends the turn. 21 | 22 | There are no plugin commands. 23 | 24 | # Terms of Use 25 | MIT License. 26 | http://opensource.org/licenses/mit-license.php 27 | You may modify and redistribute this without permission from the author, and 28 | there are no restrictions on its use (commercial, 18+, etc.). 29 | 30 | @param activation 31 | @text Activation Switch ID 32 | @desc This is the switch that enables the function. It is enabled when ON. If not specified, it is always enabled. 33 | @type switch 34 | @default 0 35 | 36 | @param Excalibur Key 37 | @text Winning Key 38 | @desc Specify the key to win. You can also set keys other than the options. 39 | @type select 40 | @default pagedown 41 | @option Tab 42 | @value tab 43 | @option A button / Enter / Space / Z 44 | @value ok 45 | @option X button / Shift 46 | @value shift 47 | @option Control / Alt 48 | @value control 49 | @option Escape / Numpad 0 / X / Insert 50 | @value escape 51 | @option RB button / Page down / W 52 | @value pagedown 53 | @option LB button / Page up / Q 54 | @value pageup 55 | @option Down button / Cursor down / Numeric keypad 2 56 | @value down 57 | @option Left button / Cursor left / Numeric keypad 4 58 | @value left 59 | @option Right button / Cursor right / Numeric keypad 6 60 | @value right 61 | @option Up button / Cursor up / Numeric keypad 8 62 | @value up 63 | @option F9 64 | @value debug 65 | */ 66 | 67 | /*:ja 68 | @target MZ MV 69 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_Excalibur.js 70 | @plugindesc 約束された勝利のキーを作ります。 71 | @author munokura 72 | 73 | @help 74 | 戦闘中に勝利キーを押すと、 75 | 敵全体に「戦闘不能」ステートを付与し、ターン終了へ移行します。 76 | 77 | 78 | プラグインコマンドはありません。 79 | 80 | 81 | # 利用規約 82 | MITライセンスです。 83 | http://opensource.org/licenses/mit-license.php 84 | 作者に無断で改変、再配布が可能で、 85 | 利用形態(商用、18禁利用等)についても制限はありません。 86 | 87 | 88 | @param activation 89 | @text 有効化スイッチID 90 | @type switch 91 | @desc 機能を有効化するスイッチです。ONの時に有効化されます。指定しない場合、常に有効化されます。 92 | @default 0 93 | 94 | @param Excalibur Key 95 | @text 勝利キー 96 | @desc 勝利するキーを指定します。選択肢以外のキーも設定できます。 97 | @type select 98 | @option Tab 99 | @value tab 100 | @option Aボタン / Enter / スペース / Z 101 | @value ok 102 | @option Xボタン / Shift 103 | @value shift 104 | @option Control / Alt 105 | @value control 106 | @option Escape / テンキー0 / X / Insert 107 | @value escape 108 | @option RBボタン / Pagedown / W 109 | @value pagedown 110 | @option LBボタン / Pageup / Q 111 | @value pageup 112 | @option 下ボタン / カーソル下 / テンキー2 113 | @value down 114 | @option 左ボタン / カーソル左 / テンキー4 115 | @value left 116 | @option 右ボタン / カーソル右 / テンキー6 117 | @value right 118 | @option 上ボタン / カーソル上 / テンキー8 119 | @value up 120 | @option F9 121 | @value debug 122 | @default pagedown 123 | */ 124 | 125 | (() => { 126 | 127 | "use strict"; 128 | 129 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 130 | const parameters = PluginManager.parameters(pluginName); 131 | const activation = Number(parameters['activation'] || 0); 132 | const excaliburKey = String(parameters['Excalibur Key'] || 'pagedown'); 133 | 134 | const _Scene_Battle_update = Scene_Battle.prototype.update; 135 | Scene_Battle.prototype.update = function () { 136 | _Scene_Battle_update.call(this); 137 | if (Input.isTriggered(excaliburKey) && (activation === 0 || $gameSwitches.value(activation))) { 138 | $gameTroop.members().forEach(function (enemy) { 139 | enemy.addState(1); 140 | }); 141 | this._skillWindow.hide(); 142 | this._skillWindow.deactivate(); 143 | this._itemWindow.hide(); 144 | this._itemWindow.deactivate(); 145 | this._actorWindow.hide(); 146 | this._actorWindow.deactivate(); 147 | this._enemyWindow.hide(); 148 | this._enemyWindow.deactivate(); 149 | this._actorCommandWindow.deactivate(); 150 | this._partyCommandWindow.deactivate(); 151 | BattleManager.endTurn(); 152 | } 153 | }; 154 | 155 | })(); -------------------------------------------------------------------------------- /MNKR_MoveEventPointMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_MoveEventPointMZ.js 4 | * Ver.0.0.1 5 | * Copyright (c) 2021 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MoveEventPointMZ.js 14 | @plugindesc Adds a plugin command that moves the specified event to the specified coordinates on the map. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | Adds a plugin command that moves a specified event to a specified coordinate 20 | on the map. 21 | Similar to the player's touch movement, it moves while avoiding obstacles up 22 | to the coordinate. 23 | 24 | Event ID - -1: Player / 0: Executing Event / 1 or higher: Event ID on the map 25 | X Coordinate - X coordinate within the map 26 | Y Coordinate - Y coordinate within the map 27 | Wait - Wait until completion/No 28 | 29 | # Notes 30 | This plugin uses the same mechanism used by RPG Maker's player to move to 31 | specified coordinates by touch. 32 | Specifying a location far off-screen is likely to cause problems. 33 | It is recommended to specify closer coordinates. 34 | 35 | # Terms of Use 36 | MIT License. 37 | http://opensource.org/licenses/mit-license.php 38 | Modifications and redistribution are permitted without permission from the 39 | author, and there are no restrictions on use (commercial, 18+, etc.). 40 | 41 | # Acknowledgments 42 | Thank you to jp_asty for your guidance. 43 | 44 | @command moveEvewtPoint 45 | @text Moves the event to the specified coordinates. 46 | @desc Moves the event to the specified coordinates in the map. 47 | @arg eventId 48 | @text Event ID to move 49 | @desc Event ID - -1: Player / 0: Execution event / 1 or more: Event ID on the map 50 | @default 0 51 | @arg mapX 52 | @text Destination X coordinate 53 | @desc Destination X coordinate on the map 54 | @default 0 55 | @arg mapY 56 | @text Destination Y coordinate 57 | @desc Destination Y coordinate on the map 58 | @default 0 59 | @arg waitOn 60 | @text Wait until completion 61 | @desc Wait until the movement is complete. 62 | @type boolean 63 | @on Wait 64 | @off No wait 65 | @default false 66 | */ 67 | 68 | /*:ja 69 | @target MZ 70 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_MoveEventPointMZ.js 71 | @plugindesc 指定イベントをマップの指定座標へ移動させるプラグインコマンドを追加します。 72 | @author munokura 73 | 74 | @help 75 | 指定イベントをマップの指定座標へ移動させるプラグインコマンドを追加します。 76 | プレイヤーのタッチ移動と同じで、座標までの障害物を避けて移動します。 77 | 78 | イベントID - -1:プレイヤー / 0:実行イベント / 1以上:マップ上のイベントID 79 | X座標 - マップ内のX座標 80 | Y座標 - マップ内のY座標 81 | ウェイト - 完了までウェイトする/しない 82 | 83 | 84 | # 注意事項 85 | ツクールのプレイヤーがタッチ指定された座標へ移動する仕組みを流用しています。 86 | 画面外の遠い位置への指定はトラブルを生みやすいです。 87 | 近めの座標を指定することを推奨します。 88 | 89 | 90 | # 利用規約 91 | MITライセンスです。 92 | http://opensource.org/licenses/mit-license.php 93 | 作者に無断で改変、再配布が可能で、 94 | 利用形態(商用、18禁利用等)についても制限はありません。 95 | 96 | 97 | # 謝辞 98 | ご指導いただきました、jp_asty氏に感謝いたします。 99 | 100 | 101 | @command moveEvewtPoint 102 | @text イベントを指定座標へ移動 103 | @desc イベントをマップ内の指定座標へ移動させます。 104 | 105 | @arg eventId 106 | @text 移動するイベントID 107 | @desc イベントID - -1:プレイヤー / 0:実行イベント / 1以上:マップ上のイベントID 108 | @default 0 109 | 110 | @arg mapX 111 | @text 移動先X座標 112 | @desc 移動先のマップ内X座標 113 | @default 0 114 | 115 | @arg mapY 116 | @text 移動先Y座標 117 | @desc 移動先のマップ内Y座標 118 | @default 0 119 | 120 | @arg waitOn 121 | @text 完了までウェイト 122 | @desc 移動が完了するまでウェイトする。 123 | @type boolean 124 | @on ウェイトする 125 | @off ウェイトしない 126 | @default false 127 | */ 128 | 129 | (() => { 130 | "use strict"; 131 | 132 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 133 | 134 | PluginManager.registerCommand(pluginName, "moveEvewtPoint", function (args) { 135 | 136 | const eventId = Number(args.eventId); 137 | const mapX = args.mapX; 138 | const mapY = args.mapY; 139 | const waitOn = args.waitOn === "true"; 140 | 141 | this.character(eventId).forceMoveRoute({ 142 | "list": [{ 143 | "code": 45, "parameters": 144 | ["this.moveStraight(this.findDirectionTo(" + mapX + ", " + mapY + ")); this._moveRoute.repeat = !this.pos(" + mapX + ", " + mapY + ");"] 145 | }, 146 | { "code": 0 }], 147 | "repeat": true, 148 | "skippable": false 149 | }) 150 | this._character = this.character(eventId); 151 | 152 | if (waitOn) { 153 | this.setWaitMode('route'); 154 | } 155 | }); 156 | 157 | })(); -------------------------------------------------------------------------------- /MNKR_TimerEX.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TimerEX.js 4 | * Ver.1.1.0 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | 11 | /*: 12 | @target MZ MV 13 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TimerEX.js 14 | @plugindesc You can count up/down the timer and toggle its visibility. 15 | @author munokura 16 | @license MIT License 17 | 18 | @help 19 | This allows you to count up or down a timer. 20 | You can show or hide the timer with a switch. 21 | 22 | Regardless of whether the timer is counting up or down, the value when it 23 | stops is saved to a variable. 24 | The saved value is the frame value (1 frame = 1/60 seconds). 25 | To convert to minutes or seconds, please calculate and use. 26 | 27 | There are no plugin commands. 28 | 29 | # Contact Information 30 | This is a plugin originally created for RPG Maker MV that has been adapted for 31 | MZ. 32 | Please contact the modifier for any inquiries. 33 | 34 | # Terms of Use 35 | MIT License. 36 | http://opensource.org/licenses/mit-license.php 37 | You may modify and redistribute this without permission from the author, and 38 | there are no restrictions on its use (commercial, R18, etc.). 39 | 40 | @param countUpSwitch 41 | @text Count-up activation switch 42 | @desc Counts up when the specified switch is ON. Counts down when the switch is OFF. 43 | @type switch 44 | @default 0 45 | 46 | @param hideSwitch 47 | @text Timer hide switch 48 | @desc The timer is hidden when the specified switch is ON. It is displayed when it is OFF. 49 | @type switch 50 | @default 0 51 | 52 | @param countStopValue 53 | @text Saved Variable ID 54 | @desc Variable ID to save the value when the timer is stopped. The acquired value is the frame value (1 frame: 1/60 seconds). 55 | @type variable 56 | @default 0 57 | */ 58 | 59 | /*:ja 60 | @target MZ MV 61 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TimerEX.js 62 | @plugindesc タイマーをカウントアップ・ダウン、表示・非表示を切り替えできるようにします。 63 | @author munokura 64 | 65 | @help 66 | タイマーをカウントアップ・ダウンできるようにします。 67 | タイマーをスイッチで表示・非表示を切り替えられます。 68 | 69 | カウントアップ・ダウンに関わらず、タイマー停止時の値を変数に保存します。 70 | 保存される値はフレーム値(1フレーム:1/60秒)です。 71 | 分や秒に換算する場合、計算して使用してください。 72 | 73 | 74 | プラグインコマンドはありません。 75 | 76 | 77 | # 問い合わせ先 78 | これはRPGツクールMV用に作成されたプラグインをMZ用に移植したものです。 79 | お問い合わせは改変者へお願いいたします。 80 | 81 | 82 | # 利用規約 83 | MITライセンスです。 84 | http://opensource.org/licenses/mit-license.php 85 | 作者に無断で改変、再配布が可能で、 86 | 利用形態(商用、18禁利用等)についても制限はありません。 87 | 88 | 89 | @param countUpSwitch 90 | @text カウントアップ発動スイッチ 91 | @type switch 92 | @desc 指定スイッチがON時カウントアップ。OFF時カウントダウン。 93 | 無指定の場合、常にカウントアップになります。 94 | @default 0 95 | 96 | @param hideSwitch 97 | @text タイマー非表示スイッチ 98 | @type switch 99 | @desc 指定スイッチがON時タイマーを非表示。OFF時に表示。 100 | 無指定の場合、常に表示になります。 101 | @default 0 102 | 103 | @param countStopValue 104 | @text 保存変数ID 105 | @type variable 106 | @desc タイマーを停止した時の値を保存する変数ID。取得値はフレーム値(1フレーム:1/60秒) 107 | @default 0 108 | */ 109 | 110 | (() => { 111 | "use strict"; 112 | 113 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 114 | const parameters = PluginManager.parameters(pluginName); 115 | const countUpSwitch = Number(parameters['countUpSwitch'] || 0); 116 | const hideSwitch = Number(parameters['hideSwitch'] || 0); 117 | const countStopValue = Number(parameters['countStopValue'] || 0); 118 | 119 | const _Game_Timer_update = Game_Timer.prototype.update; 120 | Game_Timer.prototype.update = function (sceneActive) { 121 | if (($gameSwitches.value(countUpSwitch) || countUpSwitch === 0) && sceneActive && this._working) { 122 | this._frames++; 123 | } else { 124 | _Game_Timer_update.apply(this, arguments); 125 | } 126 | }; 127 | 128 | const _Game_Timer_stop = Game_Timer.prototype.stop; 129 | Game_Timer.prototype.stop = function () { 130 | _Game_Timer_stop.call(this); 131 | if (countStopValue) { 132 | $gameVariables.setValue(countStopValue, this._frames); 133 | } 134 | }; 135 | 136 | const _Sprite_Timer_redraw = Sprite_Timer.prototype.redraw; 137 | Sprite_Timer.prototype.redraw = function () { 138 | if ((!$gameSwitches.value(hideSwitch) || hideSwitch === 0)) { 139 | _Sprite_Timer_redraw.call(this); 140 | } else { 141 | this.bitmap.clear(); 142 | } 143 | }; 144 | 145 | })(); -------------------------------------------------------------------------------- /MNKR_TMTopFixMZ.js: -------------------------------------------------------------------------------- 1 | /* 2 | * -------------------------------------------------- 3 | * MNKR_TMTopFixMZ.js 4 | * Ver.1.0.1 5 | * Copyright (c) 2020 Munokura 6 | * This software is released under the MIT license. 7 | * http://opensource.org/licenses/mit-license.php 8 | * -------------------------------------------------- 9 | */ 10 | //============================================================================= 11 | // TMPlugin - 先頭並び替え不可 12 | // バージョン: 1.0.1 13 | // 最終更新日: 2017/02/17 14 | // 配布元 : http://hikimoki.sakura.ne.jp/ 15 | //----------------------------------------------------------------------------- 16 | // Copyright (c) 2015 tomoaky 17 | // Released under the MIT license. 18 | // http://opensource.org/licenses/mit-license.php 19 | //============================================================================= 20 | 21 | /*: 22 | @target MZ 23 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMTopFixMZ.js 24 | @plugindesc Prevents rearrangement of the actor at the head of the party. 25 | @author tomoaky,munokura 26 | @license MIT License 27 | 28 | @help 29 | Prevents rearranging of the actor at the head of the party. 30 | 31 | Usage: 32 | 33 | At the start of the game, rearranging of the top actor will be disabled. 34 | 35 | Cancel this setting using the plugin command if necessary. 36 | 37 | Plugin Commands: 38 | 39 | stopTopFix 40 | Removes the prohibition on rearranging the top actor. 41 | 42 | startTopFix 43 | Prevents rearranging the top actor. 44 | 45 | # Contact Information 46 | This is a plugin originally created for RPG Maker MV ported for MZ. 47 | Please contact the modifier for any inquiries. 48 | 49 | # Terms of Use 50 | MIT License. 51 | http://opensource.org/licenses/mit-license.php 52 | You may modify and redistribute this without permission, and there are no 53 | restrictions on its use (commercial, 18+, etc.). 54 | 55 | @command stopTopFix 56 | @text Unsort top 57 | @desc Cancels the prohibition on sorting to the beginning. 58 | 59 | @command startTopFix 60 | @text No sorting at the beginning 61 | @desc Prohibits sorting to the beginning. 62 | */ 63 | 64 | /*:ja 65 | @target MZ 66 | @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMTopFixMZ.js 67 | @plugindesc パーティの先頭にいるアクターの並び替えを禁止します。 68 | @author tomoaky (改変:munokura) 69 | 70 | @help 71 | パーティの先頭にいるアクターの並び替えを禁止します。 72 | 73 | 使い方: 74 | 75 | ゲーム開始時は先頭アクターの並び替えが禁止の状態になります。 76 | 必要に応じてプラグインコマンドで解除してください。 77 | 78 | 79 | プラグインコマンド: 80 | 81 | stopTopFix 82 | 先頭並び替え禁止を解除します。 83 | 84 | startTopFix 85 | 先頭並び替えを禁止します。 86 | 87 | 88 | # 問い合わせ先 89 | これはRPGツクールMV用に作成されたプラグインをMZ用に移植したものです。 90 | お問い合わせは改変者へお願いいたします。 91 | 92 | 93 | # 利用規約 94 | MITライセンスです。 95 | http://opensource.org/licenses/mit-license.php 96 | 作者に無断で改変、再配布が可能で、 97 | 利用形態(商用、18禁利用等)についても制限はありません。 98 | 99 | 100 | @command stopTopFix 101 | @text 先頭並び替え解除 102 | @desc 先頭並び替え禁止を解除します。 103 | 104 | @command startTopFix 105 | @text 先頭並び替え禁止 106 | @desc 先頭並び替えを禁止します。 107 | */ 108 | 109 | 110 | var Imported = Imported || {}; 111 | Imported.TMTopFix = true; 112 | 113 | (() => { 114 | 'use strict'; 115 | 116 | const pluginName = document.currentScript.src.split("/").pop().replace(/\.js$/, ""); 117 | 118 | //----------------------------------------------------------------------------- 119 | // Game_System 120 | // 121 | 122 | Game_System.prototype.setTopFix = function (topFix) { 123 | this._topFix = topFix; 124 | }; 125 | 126 | Game_System.prototype.isTopFix = function () { 127 | if (this._topFix == null) this._topFix = true; 128 | return this._topFix; 129 | }; 130 | 131 | //----------------------------------------------------------------------------- 132 | // PluginManager 133 | // 134 | 135 | PluginManager.registerCommand(pluginName, "stopTopFix", args => { 136 | $gameSystem.setTopFix(false); 137 | }); 138 | 139 | PluginManager.registerCommand(pluginName, "startTopFix", args => { 140 | $gameSystem.setTopFix(true); 141 | }); 142 | 143 | //----------------------------------------------------------------------------- 144 | // Window_MenuStatus 145 | // 146 | 147 | const _Window_MenuStatus_isCurrentItemEnabled = Window_MenuStatus.prototype.isCurrentItemEnabled; 148 | Window_MenuStatus.prototype.isCurrentItemEnabled = function () { 149 | if ($gameSystem.isTopFix() && this._formationMode && this.index() === 0) { 150 | return false; 151 | } 152 | return _Window_MenuStatus_isCurrentItemEnabled.call(this); 153 | }; 154 | 155 | })(); --------------------------------------------------------------------------------