Item Identification / Hidden Item Description

Hello! So I was looking around and I did find what I was looking for, however the links for the scripts were gone 🙁
What I'm here to ask is if anybody knew a script or could make a simple script that would hide an items description until it's been used once.

This is the page I found that had the exact same idea as me, though one of the scripts supposedly doesn't work, and then another that DOES work's link doesn't have the script anymore. Any help would be great, and thanks in advance ^_^
I've gone ahead and checked the Script Repository on GitHub, and unfortunately I can't seem to find an archive of either of the two scripts... Unless someone has either of the two, I doubt we're going to be able to find it.

I might try and create my own script in this case, although I'd like to quickly ask how many items you'd have in your game that would have "hidden" descriptions like these.
Spoiler: Hide unused item description
Ruby:
# ╔═══════════════════════════════════════════════╦════════════════════╗
# ║ Title: Hide Item Description until used       ║  Version: 1.01     ║
# ║ Author: Roninator2                            ║                    ║
# ╠═══════════════════════════════════════════════╬════════════════════╣
# ║ Function:                                     ║   Date Created     ║
# ║                                               ╠════════════════════╣
# ║   Script Function                             ║    12 Apr 2025     ║
# ╚═══════════════════════════════════════════════╩════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Requires: nil                                                      ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Brief Description:                                                 ║
# ║       Don't give info unless you have used it                      ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Instructions:                                                      ║
# ║   Add note tag to items <hidden desc>                              ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Updates:                                                           ║
# ║ 1.00 - 12 Apr 2025 - Script finished                               ║
# ║ 1.01 - 12 Apr 2025 - Added checks for Skills                       ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Credits and Thanks:                                                ║
# ║   Roninator2                                                       ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Terms of use:                                                      ║
# ║  Follow the original Authors terms of use where applicable         ║
# ║    - When not made by me (Roninator2)                              ║
# ║  Free for all uses in RPG Maker except nudity                      ║
# ║  Anyone using this script in their project before these terms      ║
# ║  were changed are allowed to use this script even if it conflicts  ║
# ║  with these new terms. New terms effective 03 Apr 2024             ║
# ║  No part of this code can be used with AI programs or tools        ║
# ║  Credit must be given                                              ║
# ╚════════════════════════════════════════════════════════════════════╝

module R2_HIDE_ITEM_DESC
  # text to show when not used
  DESC = "Unknown properties"
  # note tag for hidden description
  TAG = /<hidden desc>/i
end

# ╔════════════════════════════════════════════════════════════════════╗
# ║                      End of editable region                        ║
# ╚════════════════════════════════════════════════════════════════════╝

#==============================================================================
# ■ DataManager
#==============================================================================

module DataManager
  class <<self; alias load_objects_itemdesc create_game_objects; end
  def self.create_game_objects
    load_objects_itemdesc
    load_notetags_itemdesc
  end
  def self.load_notetags_itemdesc
    for obj in $data_items
      next if obj.nil?
      obj.load_notetags_itemdesc
    end
  end
end

#==============================================================================
# ■ RPG::Item
#==============================================================================

class RPG::Item
  def load_notetags_itemdesc
    @desc_hidden = false
    self.note.split(/[\r\n]+/).each { |line|
      case line
      when R2_HIDE_ITEM_DESC::TAG
        @desc_hidden = true
      end
    }
  end
  def desc_hidden
    @desc_hidden
  end
  def change_desc_hidden
    @desc_hidden = false
  end
end

#==============================================================================
# ■ RPG::Weapon
#==============================================================================

class RPG::Weapon
  def desc_hidden
    false
  end
end

#==============================================================================
# ■ RPG::Armor
#==============================================================================

class RPG::Armor
  def desc_hidden
    false
  end
end

#==============================================================================
# ■ RPG::Skills
#==============================================================================

class RPG::Skills
  def desc_hidden
    false
  end
end

#==============================================================================
# ** Window_Help
#==============================================================================

class Window_Help < Window_Base
  def set_item(item)
    if item && item.is_a?(RPG::Item) && item.desc_hidden
      set_text(R2_HIDE_ITEM_DESC::DESC)
    else
      set_text(item ? item.description : "")
    end
  end
end

#==============================================================================
# ** Scene_ItemBase
#==============================================================================

class Scene_ItemBase < Scene_MenuBase
  alias :r2_use_item_desc_shown :use_item
  def use_item
    r2_use_item_desc_shown
    item.change_desc_hidden if item.desc_hidden == true
  end
end
I've gone ahead and checked the Script Repository on GitHub, and unfortunately I can't seem to find an archive of either of the two scripts... Unless someone has either of the two, I doubt we're going to be able to find it.

I might try and create my own script in this case, although I'd like to quickly ask how many items you'd have in your game that would have "hidden" descriptions like these.
Oh not many. The idea is you can find scrolls and you don't know what they do until they're used, once used you then know what they do through the item description. Each scroll would use the same hidden description of something like "You can't seem to make out what the scroll is about"
Spoiler: Hide unused item description
Ruby:
# ╔═══════════════════════════════════════════════╦════════════════════╗
# ║ Title: Hide Item Description until used       ║  Version: 1.00     ║
# ║ Author: Roninator2                            ║                    ║
# ╠═══════════════════════════════════════════════╬════════════════════╣
# ║ Function:                                     ║   Date Created     ║
# ║                                               ╠════════════════════╣
# ║   Hide Item Description                       ║    12 Apr 2025     ║
# ╚═══════════════════════════════════════════════╩════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Requires: nil                                                      ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Brief Description:                                                 ║
# ║       Don't give info unless you have used it                      ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Instructions:                                                      ║
# ║   Add note tag to items <hidden desc>                              ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Updates:                                                           ║
# ║ 1.00 - 12 Apr 2025 - Script finished                               ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Credits and Thanks:                                                ║
# ║   Roninator2                                                       ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Terms of use:                                                      ║
# ║  Follow the original Authors terms of use where applicable         ║
# ║    - When not made by me (Roninator2)                              ║
# ║  Free for all uses in RPG Maker except nudity                      ║
# ║  Anyone using this script in their project before these terms      ║
# ║  were changed are allowed to use this script even if it conflicts  ║
# ║  with these new terms. New terms effective 03 Apr 2024             ║
# ║  No part of this code can be used with AI programs or tools        ║
# ║  Credit must be given                                              ║
# ╚════════════════════════════════════════════════════════════════════╝

module R2_HIDE_ITEM_DESC
  # text to show when not used
  DESC = "Unknown properties"
  # note tag for hidden description
  TAG = /<hidden desc>/i
end

# ╔════════════════════════════════════════════════════════════════════╗
# ║                      End of editable region                        ║
# ╚════════════════════════════════════════════════════════════════════╝

#==============================================================================
# ■ DataManager
#==============================================================================

module DataManager
  class <<self; alias load_objects_itemdesc create_game_objects; end
  def self.create_game_objects
    load_objects_itemdesc
    load_notetags_itemdesc
  end
  def self.load_notetags_itemdesc
    for obj in $data_items
      next if obj.nil?
      obj.load_notetags_itemdesc
    end
  end
end

#==============================================================================
# ■ RPG::Item
#==============================================================================

class RPG::Item
  def load_notetags_itemdesc
    @desc_hidden = false
    self.note.split(/[\r\n]+/).each { |line|
      case line
      when R2_HIDE_ITEM_DESC::TAG
        @desc_hidden = true
      end
    }
  end
  def desc_hidden
    @desc_hidden
  end
  def change_desc_hidden
    @desc_hidden = false
  end
end

#==============================================================================
# ■ RPG::Weapon
#==============================================================================

class RPG::Weapon
  def desc_hidden
    false
  end
end

#==============================================================================
# ■ RPG::Armor
#==============================================================================

class RPG::Armor
  def desc_hidden
    false
  end
end

#==============================================================================
# ** Window_Help
#==============================================================================

class Window_Help
  def set_item(item)
    if item && item.desc_hidden
      set_text(R2_HIDE_ITEM_DESC::DESC)
    else
      set_text(item ? item.description : "")
    end
  end
end

#==============================================================================
# ** Scene_ItemBase
#==============================================================================

class Scene_ItemBase
  alias :r2_use_item_desc_shown :use_item
  def use_item
    r2_use_item_desc_shown
    item.change_desc_hidden if item.desc_hidden == true
  end
end
Oh damn thanks! I literally just woke up so I'll have to test this later but thank you very much!
Poor timing on my end, I just finished writing my own script... 😢
Well, no worries! If OP still wants/needs my script, I'll leave it here too:

Spoiler: SCRIPT
Ruby:
#===============================================================================
# First Use Item Replacement [v1.0] for RPG Maker VX Ace
# By ARIOSODEV
#===============================================================================
# USAGE RIGHTS & CREDITS
# You are not required by any means to provide credit for using my script(s)
# in your project. You are also free to edit and modify my scripts for any
# purpose.
#
# I would love to hear about your game though!!
#===============================================================================
# HOW TO USE?
# Firstly, you're going to want to create 2 versions of an item.
#   - Before First Use
#   - After First Use
#
# In the notes of the Before item, make sure to add this:
# <hidden item: A+B>
#
# Replace "A" with: ID of the Switch used to check for this item
# Replace "B" with: ID of the After item
#
# Once you've done that, you can now use this Script call:
# give_hidden_item(C, D)
#
# Replace "C" with: ID of the Before item
# Replace "D" with: Amount you want to give to the player.
#
# NOTE 1: If an Undiscovered item ID is not used, it will act like a normal
# "Change Items" event.
# NOTE 2: If you want to take away items from the player, simply make "D" a
# negative number.
#===============================================================================
# ADDITIONAL SUGGESTIONS
# I would personally recommend creating a Common Event tied to the Before
# items so that you can display a message for the player! I recommend these
# events:
#
#   > Show Text [ ... ]
#   > Script [ SceneManager.call(Scene_Item) ]
#
# You can add onto this if you wish!
#===============================================================================

#===============================================================================
# They told me to tell you not to edit the code past this point. So, uh...
#===============================================================================

class Game_Party < Game_Unit
  def consume_item(item)
    lose_item(item, 1) if item.is_a?(RPG::Item) && item.consumable
    if item.hidden_item != 0
      item_count = item_number(item)
      lose_item(item, item_count)
      gain_item($data_items[item.hidden_newitem], item_count)
      $game_switches[item.hidden_item] = true
      #Audio.se_stop
      #SceneManager.call(Scene_Item)
    end
  end
 
  def gain_hidden_item(item, amount, include_equip = false)
    $game_variables[2] = item
    $game_variables[3] = item.hidden_newitem
    if item.hidden_item != 0 && $game_switches[item.hidden_item]
      gain_item($data_items[item.hidden_newitem], amount)
    else
      container = item_container(item.class)
      return unless container
      last_number = item_number(item)
      new_number = last_number + amount
      container[item.id] = [[new_number, 0].max, max_item_number(item)].min
      container.delete(item.id) if container[item.id] == 0
      if include_equip && new_number < 0
        discard_members_equip(item, -new_number)
      end
      $game_map.need_refresh = true
    end
  end
end

class Game_Interpreter
 
  def give_hidden_item(item, amount)
    $game_party.gain_hidden_item($data_items[item], amount)
  end
end


module ARIOSODEV
  module HIDE
    HIDDEN_ITEM = /<hidden item:[ ]*(\d+)[+](\d+)>/i
  end
end

module DataManager
  class <<self; alias load_database_ari load_database; end
  def self.load_database
    load_database_ari
    load_notetags_ari
  end
 
  def self.load_notetags_ari
    groups = [$data_items]
    for group in groups
      for obj in group
        next if obj.nil?
        obj.load_notetags_ari
      end
    end
  end
end

class RPG::UsableItem < RPG::BaseItem
  attr_accessor :hidden_item
  attr_accessor :hidden_newitem
  def load_notetags_ari
    @hidden_item = 0
    @hidden_newitem = 0
    #---
    self.note.split(/[\r\n]+/).each { |line|
      case line
      #---
      when ARIOSODEV::HIDE::HIDDEN_ITEM
        @hidden_item = $1.to_i
        @hidden_newitem = $2.to_i
      end
    } # self.note.split
    #---
  end
end
Spoiler: Hide unused item description
Ruby:
# ╔═══════════════════════════════════════════════╦════════════════════╗
# ║ Title: Hide Item Description until used       ║  Version: 1.00     ║
# ║ Author: Roninator2                            ║                    ║
# ╠═══════════════════════════════════════════════╬════════════════════╣
# ║ Function:                                     ║   Date Created     ║
# ║                                               ╠════════════════════╣
# ║   Hide Item Description                       ║    12 Apr 2025     ║
# ╚═══════════════════════════════════════════════╩════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Requires: nil                                                      ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Brief Description:                                                 ║
# ║       Don't give info unless you have used it                      ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Instructions:                                                      ║
# ║   Add note tag to items <hidden desc>                              ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Updates:                                                           ║
# ║ 1.00 - 12 Apr 2025 - Script finished                               ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Credits and Thanks:                                                ║
# ║   Roninator2                                                       ║
# ║                                                                    ║
# ╚════════════════════════════════════════════════════════════════════╝
# ╔════════════════════════════════════════════════════════════════════╗
# ║ Terms of use:                                                      ║
# ║  Follow the original Authors terms of use where applicable         ║
# ║    - When not made by me (Roninator2)                              ║
# ║  Free for all uses in RPG Maker except nudity                      ║
# ║  Anyone using this script in their project before these terms      ║
# ║  were changed are allowed to use this script even if it conflicts  ║
# ║  with these new terms. New terms effective 03 Apr 2024             ║
# ║  No part of this code can be used with AI programs or tools        ║
# ║  Credit must be given                                              ║
# ╚════════════════════════════════════════════════════════════════════╝

module R2_HIDE_ITEM_DESC
  # text to show when not used
  DESC = "Unknown properties"
  # note tag for hidden description
  TAG = /<hidden desc>/i
end

# ╔════════════════════════════════════════════════════════════════════╗
# ║                      End of editable region                        ║
# ╚════════════════════════════════════════════════════════════════════╝

#==============================================================================
# ■ DataManager
#==============================================================================

module DataManager
  class <<self; alias load_objects_itemdesc create_game_objects; end
  def self.create_game_objects
    load_objects_itemdesc
    load_notetags_itemdesc
  end
  def self.load_notetags_itemdesc
    for obj in $data_items
      next if obj.nil?
      obj.load_notetags_itemdesc
    end
  end
end

#==============================================================================
# ■ RPG::Item
#==============================================================================

class RPG::Item
  def load_notetags_itemdesc
    @desc_hidden = false
    self.note.split(/[\r\n]+/).each { |line|
      case line
      when R2_HIDE_ITEM_DESC::TAG
        @desc_hidden = true
      end
    }
  end
  def desc_hidden
    @desc_hidden
  end
  def change_desc_hidden
    @desc_hidden = false
  end
end

#==============================================================================
# ■ RPG::Weapon
#==============================================================================

class RPG::Weapon
  def desc_hidden
    false
  end
end

#==============================================================================
# ■ RPG::Armor
#==============================================================================

class RPG::Armor
  def desc_hidden
    false
  end
end

#==============================================================================
# ** Window_Help
#==============================================================================

class Window_Help
  def set_item(item)
    if item && item.desc_hidden
      set_text(R2_HIDE_ITEM_DESC::DESC)
    else
      set_text(item ? item.description : "")
    end
  end
end

#==============================================================================
# ** Scene_ItemBase
#==============================================================================

class Scene_ItemBase
  alias :r2_use_item_desc_shown :use_item
  def use_item
    r2_use_item_desc_shown
    item.change_desc_hidden if item.desc_hidden == true
  end
end

Okok so I tried this out, works pretty well, the only flaw with it that I can tell is that when I go into battles (Both the battle test AND in the play test) I get this error.

1744469133759.png
Okok so I tried this out, works pretty well, the only flaw with it that I can tell is that when I go into battles (Both the battle test AND in the play test) I get this error.

View attachment 337315

Okok it's also just the Skills menu in general, cause i was play testing and opened up the skills menu and this same error occurred.
it's also just the Skills menu in general, cause i was play testing and opened up the skills menu and this same error occurred.
Can I ask if you're using any other scripts? I tried playtesting it on a blank project and no error showed up for me.
Can I ask if you're using any other scripts? I tried playtesting it on a blank project and no error showed up for me.
1744481657187.png


I think it's just the script, I slapped the script into a test game that has no other scripts and it still occurred
I think it's just the script, I slapped the script into a test game that has no other scripts and it still occurred
Huh... So it crashes specifically with the Skills menu? I'm assuming you're using a default actor with no skills if you're using a blank project, then?

I can't think of what could be causing this issue, is the script in the correct place?


EDIT: I just had a double take on the error message and finally realised what it's saying.

To put it simply, it's trying to use a method that's located within a Skill in the project, but that method doesn't exist in the Skill, so it fails and crashes. Are you sure you placed the note tag in an Item?
Huh... So it crashes specifically with the Skills menu? I'm assuming you're using a default actor with no skills if you're using a blank project, then?

I can't think of what could be causing this issue, is the script in the correct place?


EDIT: I just had a double take on the error message and finally realised what it's saying.

To put it simply, it's trying to use a method that's located within a Skill in the project, but that method doesn't exist in the Skill, so it fails and crashes. Are you sure you placed the note tag in an Item?

Yep, I'm sure I did. The note tag is only placed in three items, and none of the skills have the <hidden desc> note tag put inside of them.
Yep, I'm sure I did. The note tag is only placed in three items, and none of the skills have the <hidden desc> note tag put inside of them.
Can I ask what those three items are?
Can I ask what those three items are?
1744485062978.png
1744485079703.png
1744485040879.png


Just some scrolls.
Ended up fixing it somehow by the power of ing Around and Finding Out, turns out the game wanted code similar to the "class RPG: :Weapon" and "class RPG: :Armor" for Skills? Or something, I'm not a coder I really couldn't say. But I just copy and pasted the armor one and replaced the "Armor" with "Skill" aaand it works now! So. Yay!
1744492011912.png
Looks like a simple honest mistake from the original script writer, probably just forgot to write that one in.

Glad to hear that you got the script working!
But I just copy and pasted the armor one and replaced the "Armor" with "Skill" aaand it works now!
simple honest mistake from the original script writer,
It was not remembering that skills use the same help window when writing this.

The other way to specify was to use this
if item && item.is_a?(RPG::Item) && item.desc_hidden

Original thread: https://forums.rpgmakerweb.com/threads/item-identification-hidden-item-description.176894/