XP How do you hide certain items in Inventory?

Hi, me again! I have a rather strange question... how do you hide certain items from the inventory? I cheat and use certain items as stats to appear in my Journal (>.<), so it's not really an item, and I don't want it to appear in my inventory, if that makes sense? Is there a solution for this?

Thank you all <3
This doesn't sound like you're having a problem with rpg maker, but rather with an rpg maker game that isn't yours? In which case we can't tell you how to remove something you have cheated in.
I think you've misunderstood me... I am creating my own game, and when I say I'm "cheating", it means I'm finding another, non-scripting way to get some stats into my Journal page, which is through items, because it's hard to find XP scripters who can help nowadays (or I feel bad constantly pestering the ones who've been helping me always).

I've managed to set up a system using common events via Items, BUT I don't want the items to be displayed in my Inventory, because they're technically Not Items, and are Just There to get the stats into my Journal. If that makes sense?
Well, I suggest not using terminology that's incorrect then. Sadly, I don't remember enough about XP to really help with that. I could only guess if XP has an item category script, you could use that to give those "system-items" a category, but not actually display that category in the inventory. At leas that's how I managed something similar on MV.

Alternatively, if those "items" aren't items that the player actually use, couldn't you just use variables? Variables can be strings as well as numbers, which sounds like what you need (Judging based on you saying stats). I'm just spitting ideas here, since nobody knows what kind of journal script / Event you've made. (Unless they've followed your previous posts perhaps? Who knows)
Thanks for the suggestion. I've tried Variables earlier as well but it wouldn't work because the stats I need are tied to the Item's ID, hence the need to use the Item as a null object.
That depends 100% on your item menu script. Which one are you using right now?
Ah shucks, I misread your sentence. I'm playing about with
Spoiler: ForeverZero's Journal Script
.
I first thought he'd rely on some modification of the Window_Item class to make it happen, but that was not the case. So you'd have to control what gets included in the items list via Journal.add_item script call. A quick review of the code shows that Game_Party calls it while adding an item to its bag in add_item...

I guess you could use this minimal patch to make it avoid certain items from being added.

Ruby:
module Journal
  EXCLUDE_ITEMS = []
  def self.add_item(id)
    return if $game_system.journal['Items'].include?(id)
    return if EXCLUDE_ITEMS.include?(id)
    list = $game_system.journal
    list['Items'].push(id)
    list['Items'].sort!
  end
end

Just include item IDs in the EXCLUDE_ITEMS array and you'll be fine.
Can we see a screenshot of how you're setting up ForeverZero's journal, what what types of items you're using to represent stats? I'm curious, more than anything, but maybe there's a way around using items and still achieve what you're looking for.
I didn't change much from his original script, so what I was trying to do, is to convert the Weapons and Armors tab into items. Changing the names are easy enough, but not the content. However, I didn't want to go through the scripts, so I made items out of weapons and armor, so I could convert them into a Bestiary and Collections tab, etc. Not a problem so far.

But then, this is where I was trying to figure out... for these items' stats to appear in the Journal, you have to acquire the item... and that clogs up the Inventory scene :') hence why I say I'm just using the items for the stats to appear in the Journal, and don't want them to appear in Inventory, because they're Not Items xDDD

1761276779488.png


1761276928508.png

1761277277749.png
So the Weapons category is going to serve as your Bestiary, and the Armor category is going to serve as your Collections, got it. It's been a while since I used the script, so this is just bouncing an idea off the wall--but if you just have to acquire the item and not necessarily keep it in the inventory, could you add it to the inventory when it's discovered and then remove it straight away?

If you look at the staff on the shopkeeper's table and he tells you it's an orb staff that can accommodate a variety of orbs, you could add the item "Orb Staff" to the inventory so that it triggers in the journal (collection), then Show Text "Orb Staff added to your journal!", then remove the item "Orb Staff" from the inventory. Like I said, it's been ages since I last experimented with this script, but I think that could work--depending on how you learn about the items and the monsters, at least.

I can experiment tomorrow, when I have two brain cells to rub together XD
for these items' stats to appear in the Journal, you have to acquire the item
That's only because of this configuration:
Code:
  # Configure if you would like for items, weapons, and armors to be unlocked
  # automatically when they are first aquired by the player. If using this
  # options, IDs MUST match the IDs used in the Database. You will also need to
  # manually add anything the player begins with at game start.
  AUTO_WEAPONS = true
  AUTO_ARMORS = true
  AUTO_ITEMS = true
It says in the instructions you just use a script call to add things to the journal:
Code:
#   - All you have to do is assign arbitrary "ids" to each person and location
#     respectively. After you have completed configuration, when you want the
#     person/place to be added to the Journal, use these script calls:
#
#       Journal.add_character(ID)
#       Journal.add_location(ID)
#       Journal.add_weapon(ID)
#       Journal.add_armor(ID)
#       Journal.add_item(ID)
If "Lorem Ipsum" is Weapon ID 1, then just do the script call Journal.add_weapon(1)
No need to add the item to your inventory.
I'm going to... crawl into a hole right now xD Thanks a lot KK20!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-hide-certain-items-in-inventory.180667/