累计送礼: 0 个 累计收礼: 1 个 TA的每日心情 开心 2026-7-12 04:10
签到天数: 209 天
连续签到: 2 天
[LV.7]常住居民III
管理员
VIP
7
卡币
58883
OK点
16
推广点
0
同能卷
50
积分 68848
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.
本贴来自国际rpgmaker官方论坛作者:Sketchward处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/heirukichi-vocab.112110/