パーティーメニューをカスタマイズしましょう – HIME_MenuCommandManager.js

タイトル
- Customize your party menu.
作者名
ヘルプ
-------------------------------------------------------------------------------
== Description ==

Video: https://www.youtube.com/watch?v=ncfMXeMOz84

In RPG Maker, you have access to a number of commands in the menu.

You can also disable some of them using events, such as the save command, or
the formation command.

From the System database, you can choose which commands you want to hide or
show in the menu.

However, these may not be enough for your project!
With the menu command manager, you have full control over your menu commands!

You can hide or show any commands at anytime.
You can disable or enable any commands at anytime.
You can even rename commands at anytime.

If you have multiple parties, each party can have their own set of commands.
Need some more control over your commands? Try this plugin out!

== Terms of Use ==

- Free for use in non-commercial projects with credits
- Free for use in commercial projects, but it would be nice to let me know
- Please provide credits to HimeWorks

== Change Log ==

1.0 - Mar 16, 2016
- initial release

== Usage ==

Before we begin, here is some terminology.
Commands are composed of three basic properties:

1. A symbol, which is the ID of the command.
2. A name, which is the text that is displayed to players
3. Extra data, which is information that comes with the command

For example, if you think of the "Item" command, we can describe it as:

1. Symbol = item
2. Name = Item
3. No extra data

Here are a list of default symbols, assuming default command names:

SYMBOL - NAME
==============
item - Item
skill - Skill
equip - Equip
status - Status
formation - Formation
options - Options
save - Save
gameEnd - Game End

-- Party Menu Commands --

When you access the menu, you are accessing the current party's menu.
All of the commands that are available are therefore assigned to the party.

In order to access the current party's list of commands, you could say

$gameParty.menuCommands()

-- Disabling Party Menu Commands --

To disable or enable commands, use the following script calls

$gameParty.disableMenuCommand(SYMBOL)
$gameParty.enableMenuCommand(SYMBOL)

For example, assuming "item" is the symbol for your "Item" command, you
can disable or enable it using

$gameParty.disableMenuCommand("item")
$gameParty.enableMenuCommand("item")

-- Hiding Party Menu Commands --

To hide or show commands, use the following script calls

$gameParty.hideMenuCommand(SYMBOL)
$gameParty.showMenuCommand(SYMBOL)

For example, assuming "item" is the symbol for your "Item" command, you
can hide or show it using

$gameParty.hideMenuCommand("item")
$gameParty.showMenuCommand("item")

-- Renaming Commands --

Commands can be renamed at anytime. To rename a command, use the script call

$gameParty.renameMenuCommand(SYMBOL, NAME)

For example, if you wanted to make make the Item command unknown until it is
enabled, you can disable it and then rename it to "???" as follows:

$gameParty.disableMenuCommand("item");
$gameParty.renameMenuCommand("item", "???");

-------------------------------------------------------------------------------
パラメータ
title Menu Command Manager
version 1.0
date Mar 16, 2016
filename HIME_MenuCommandManager.js
url http://himeworks.com/2016/03/menu-command-manager-mv

If you enjoy my work, consider supporting me on Patreon!

https://www.patreon.com/himeworks

If you have any questions or concerns, you can contact me at any of
the following sites:

Main Website: http://himeworks.com
Facebook: https://www.facebook.com/himeworkscom/
Twitter: https://twitter.com/HimeWorks
Youtube: https://www.youtube.com/c/HimeWorks
Tumblr: http://himeworks.tumblr.com/

-------------------------------------------------------------------------------
ライセンス表記
- Free for use in non-commercial projects with credits
- Free for use in commercial projects, but it would be nice to let me know

紹介ページ http://himeworks.com/2016/03/menu-command-manager-mv/