じ☆ve冰风 发表于 2026-8-2 11:12:55

Change Inventory Commands Name Mid-Game

Introduction
This little script allows the user to change multiple of the commands names of the inventory just by activating a switch.

Screenshots
Spoiler










Instructions
To install just copy/paste it below Materials and above Main. Let it be said, any script that alters how the items menu behaves may have compatibility issues.

Script
Spoilerclass Window_ItemCategory < Window_HorzCommand
def make_command_list
    if !$game_switches #switch id, 28 by default
      add_command("Items",   :item)      # item's name by default
      add_command("Weapons",   :weapon)# weapon's name by default
      add_command("Armors",   :armor)         # armor's name by default
      add_command("Key Items", :key_item)    # key item's name by default
    else
      add_command("Stuff",   :item)      # item's new name upon using switch
      add_command("Magic?",   :weapon)      # weapon's name upon using switch
      add_command("Songs",    :armor)# armor's name upon using switch
      add_command("Important", :key_item)    # key item's name upon using switch
end
end
end




Terms of Use
You are free to use the script for both commercial and non-commercial games, as long as I recibe proper credit. Don't really care about reposts, yet I'd prefer to people just giving a link to this thread in case of any update.


本贴来自国际rpgmaker官方论坛作者:Finneess处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/change-inventory-commands-name-mid-game.111700/
页: [1]
查看完整版本: Change Inventory Commands Name Mid-Game