Skip to content

Instantly share code, notes, and snippets.

View triacontane's full-sized avatar

トリアコンタン triacontane

View GitHub Profile
@triacontane
triacontane / NoAutoSaveInSaveScreen.js
Created February 24, 2024 05:22
セーブ画面でオートセーブを無視する
/*:
* @target MZ
* @plugindesc セーブ画面でオートセーブを無視する
* @author RPG Maker MZ Mentor
* @help NoAutoSaveInSaveScreen.js
*
* このプラグインは、セーブ画面でオートセーブを無視します。
*/
(() => {
@triacontane
triacontane / InvalidFollowerCollided.js
Last active November 30, 2023 13:55
フォロワーの衝突判定を完全に無効化
/*:
* @target MZ
* @plugindesc フォロワーの衝突判定を完全に無効化
* @author トリアコンタン MarkⅡ
*
* @help
* このプラグインは、フォロワーによる全ての衝突判定を無効にします。
* Game_Followers.prototype.isSomeoneCollided メソッドをオーバーライドして、
* 常に false を返すようにします。
*
@triacontane
triacontane / DisablePageButtons.js
Last active November 7, 2023 13:45
アクター切り替え禁止プラグイン[PD]
/*:
* @target MZ
* @plugindesc アクター切り替え禁止プラグイン[PD]
* @author ChatGPT
*
* @param DisableSwitchID
* @text 無効化スイッチID
* @desc ページ切り替え機能を無効にするスイッチのID
* @type switch
* @default 1
@triacontane
triacontane / NoDoublePurchase.js
Created October 28, 2023 12:54
所持済みアイテム購入禁止プラグイン
/*:
* @plugindesc 所持済みアイテム購入禁止プラグイン
* @author ChatGPT
* @target MZ
*
* @param message
* @text 所持済みメッセージ
* @desc 既に所持しているアイテムを選択したときに表示されるメッセージ
* @default このアイテムはすでに所持しています。
*
@triacontane
triacontane / WeatherSwitch.js
Created October 19, 2023 14:30
天候に応じたスイッチの自動切り替え
/*:
* @plugindesc 天候に応じたスイッチの自動切り替え
* @author ChatGPT
* @target MZ
*
* @param Rain Switch
* @text 雨スイッチID
* @desc 雨のときにONになるスイッチのID
* @type switch
* @default 1
@triacontane
triacontane / CommandRememberReset.js
Created October 18, 2023 11:36
コマンド記憶のリセット
$gameParty.members().forEach(a => a.setLastCommandSymbol(''));
@triacontane
triacontane / MapNameInfinity.js
Created October 14, 2023 08:15
マップ名をずっと表示したままにしておく
SceneManager._scene._mapNameWindow.open();
SceneManager._scene._mapNameWindow._showCount = Infinity;
@triacontane
triacontane / OptionWindowWidth.js
Last active October 8, 2023 14:27
オプションウィンドウの横幅を自由に変更する。(RPGツクールMV)
/*:
* @plugindesc オプション画面のウィンドウの横幅を変更するプラグイン
* @author ChatGPT
*
* @param Window Width
* @desc オプション画面のウィンドウの横幅
* @type number
* @default 400
*
* @help
@triacontane
triacontane / StateIcons.js
Created October 3, 2023 13:49
パーティメンバのステートアイコンを制御文字形式で取得
$gameParty.members()[0].allIcons().map(i => `\\i[${i}]`).join('') || ' '
@triacontane
triacontane / SaveWindowResize.js
Created August 23, 2023 13:25
セーブ画面のウィンドウサイズを変更するためのプラグイン
/*:
* @plugindesc Changes the size of the save window in RPG Maker MZ.
* @author YourName
* @target MZ
*
* @param Window Width
* @desc The width of the save window.
* @type number
* @default 816
*