Change Inventory Commands Name Mid-Game

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Finneess, Aug 2, 2019.

  1. Finneess

    Finneess Villager Member

    Messages:
    6
    Likes Received:
    2
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    Introduction
    This little script allows the user to change multiple of the commands names of the inventory just by activating a switch.

    Screenshots
    upload_2019-8-1_17-8-27.png upload_2019-8-1_17-9-14.png upload_2019-8-1_17-9-36.png


    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
    class Window_ItemCategory < Window_HorzCommand
    def make_command_list
    if !$game_switches[28] #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.
     
    Last edited: Aug 2, 2019
    #1
    Ebanyle likes this.

Share This Page