Heirukichi Vocab

HRK Vocab 1.0.4
Heirukichi

Introduction

Allows players to toggle a switch on and off that will change all game vocabulary stored on the "Terms" tab of the Database to a secondary copy of those terms, and back again if switched off.

How to Use
Players must create a Switch to be used with the script. Make sure to change all four instances of the "SWITCH_ID_HERE" with the number of the Switch you are using. For example, if it's "switch 0008", you would replace SWITCH_ID_HERE with 8.

Script
Spoiler
Code:
#==============================================================================
#    Heirukichi Vocab
#    Version: 1.0.4
#    Author: Heirukichi (forums.rpgmakerweb.com)
#    Date: 12 August 2019
#==============================================================================

module Vocab
  #--------------------------------------------------------------------------
  # Change the following values with the names you need (no empty spaces)
  #--------------------------------------------------------------------------
  BASIC_STATUS_NAMES = [ # <- keep this
    "Level", #Level
    "LV", #Level (Short)
    "HP", #HP
    "HP", #HP (Short)
    "EP", #MP
    "EP", #MP (Short)
    "TP", #TP
    "TP" #TP (Short)
    # List Basic Status here, in the same order as in the engine
    # Separate them with a comma, keep in mind that you need to list 8 values
  ] # <- keep this

  PARAM_NAMES = [ # <- Keep this
    "MHP", #MHP
    "MMP", #MMP
    "ATK", #ATK
    "DEF", #DEF
    "MAT", #MAT
    "MDF", #MDF
    "AGI", #AGI
    "LUK" #LUK
    # List Parameters here, in the same order as in the engine
    # Separate them with a comma, keep in mind that you need to list 8 values
  ] # <- keep this

  ETYPE_NAMES = [ # <- keep this
    "Weapon", #Weapon
    "Shield", #Shield
    "Head", #Head
    "Body", #Head
    "Accessory" #Accessory
    # List Equipment here, in the same order as in the engine
    # Separate them with a comma, keep in mind that you need to list 5 values
  ] # <- keep this

  COMMAND_NAMES = [ # <- Keep this
    "Fight", # Fight
    "Escape", # Escape
    "Attack", # Attack
    "Guard", # Guard
    "Items", # Items
    "Skills", # Skills
    "Equip", # Equip
    "Status", # Status
    "Change Formation", # Change Formation
    "Save", # Save
    "Exit", # Exit Game
    "Weapons", # Weapons
    "Armor", # Armor
    "Key Items", # Key Items
    "Equipment", # Change Equipment
    "Optimize", # Ultimate Equipment
    "Remove All", # Remove All
    "New Game", # New Game
    "Continue", # Continue
    "Shut Down", # Shut Down
    "Title", # Go to Title
    "Cancel" # Cancel
    # List Commands here, in the same order as in the engine
    # Separate them with a comma, keep in mind that you need to list 23 values
  ] # <- Keep this
  #--------------------------------------------------------------------------
  # ** Vocab class (used to alias methods in the Vocab module)
  #--------------------------------------------------------------------------
  class << Vocab
    #------------------------------------------------------------------------
    # * Aliased method: Basic Status
    #------------------------------------------------------------------------
    alias hrk_vcb_basic_status_old basic
    def basic(basic_id)
      if $game_switches[SWITCH_ID_HERE]
        BASIC_STATUS_NAMES[basic_id]
      else
        hrk_vcb_basic_status_old(basic_id)
      end
    end # Basic Status
    #------------------------------------------------------------------------
    # * Aliased method: Parameters
    #------------------------------------------------------------------------
    alias hrk_vcb_param_old param
    def param(param_id)
      if $game_switches[SWITCH_ID_HERE]
        PARAM_NAMES[param_id]
      else
        hrk_vcb_param_old(param_id)
      end
    end # Parameters
    #------------------------------------------------------------------------
    # * Aliased method: Equip Type
    #------------------------------------------------------------------------
    alias hrk_vcb_etype_old etype
    def etype(etype_id)
      if $game_switches[SWITCH_ID_HERE]
        ETYPE_NAMES[etype_id]
      else
        hrk_vcb_etype(etype_id)
      end
    end # Equip Type
    #------------------------------------------------------------------------
    # * Aliased method: Commands
    #------------------------------------------------------------------------
    alias hrk_vcb_commands_old command
    def commands(command_id)
      if $game_switches[SWITCH_ID_HERE]
        COMMAND_NAMES[command_id]
      else
        hrk_vcb_commands_old(command_id)
      end
    end # Commands
  end # end of Vocab class
end # end of Vocab module

Credit and Thanks
- Heirukichi (author)
- Roninator2 (bug fix)

Author's Notes
A script request of mine that Heirukichi has filled. Allows players to toggle a switch on and off that will change all game vocabulary stored on the "Terms" tab of the Database.
You don't need to have me in these credits.

Original thread: https://forums.rpgmakerweb.com/threads/heirukichi-vocab.112110/