I know (hope) I'm probably missing something simple but this problem has me stumped. Some (not all) armor items, which have been renamed to "artifacts" via VisuStella plugins, simply do not appear in inventory when acquired and cannot be equipped. I've attached a picture of the armor information and the chest event which should allow the armor to appear in inventory. These events are copied and pasted, so I'm at a loss as to why they would all work except a small handful of newer ones. I'm happy to provide for info/screenshots.
Some armors not being added to player inventory
RPG Maker MZ SupportI cannot think of anything else but your actors not being able to equip "artifact" armor from the Traits options as the problem. Otherwise no idea.
They can all theoretically equip it (see attached), and it works with nearly all of the armors except the ones I've recently added. These armors are not even showing up in the inventory. It's as if the event is not conferring the armor.
does that happen when you start a new playtest game or when you continue a saved file or in both cases?
are you using any plugins? If yes please make a screenshot of your plugin manager so we can see which ones and in which order they are loaded.
EDIT:
and please give a complete screenshot of the dreamcatcher, your cropped screenshot does not include the IDs
are you using any plugins? If yes please make a screenshot of your plugin manager so we can see which ones and in which order they are loaded.
EDIT:
and please give a complete screenshot of the dreamcatcher, your cropped screenshot does not include the IDs
The error occurs in both cases. Even when I start in front of the chest with an empty inventory. Here are the requested screenshots.
You'll see two dreamcatchers; that was just me trying a different slot. Neither one works.
in such a case, ALWAYS use different names, even if it is only "Dreamc test 3" or whatever.
that is because the engine works on IDs only, but the editor displays mainly the names.
in fact, please rename both differently, save the project, and then check which name is displayed in the event code - just to make sure it is one of those two and not a third one that is selected there.
as for the plugins: please order them correctly, even if the one out of order is currently switched off anyway. The plugin order is too important just in case you ever activate that one.
So you have three artifact slots, and multiple items named Dreamcatcher? I don't know what the problem is right away, but I can already tell you what is going to make it hard to troubleshoot.
As requested, I have narrowed down to one artifact called dreamcatcher (and sequenced my plugins); the error persists. As far as the slots, the artifacts can be equipped interchangeably between all characters. Each character can have three. The dreamcatcher is one such artifact. Other artifacts are working as intended. I can't figure out what is different with this one.
let's start from a different direction:
where and how are you checking the inventory for the item?
perhaps it is given but not visible due to other problems...
and have you corrected the plugin order and checked for a possible third dreamcatcher the way I described above?
where and how are you checking the inventory for the item?
perhaps it is given but not visible due to other problems...
and have you corrected the plugin order and checked for a possible third dreamcatcher the way I described above?
Yes, I have checked all item, armor, and weapons for redundant dreamcatchers and I resequenced my plugins as requested. I am checking the armor by starting the game just in front of the chest where it is hidden. I then open the chest, triggering the event posted above. When I check both the equip and inventory screens, the dreamcatcher is absent.
I assume you mean the item screen, and you checked all four item categories?
OK, let's add a few commands to the chest event for testing.
Change the "change Armor Dreamcatcher" to +2 instead of giving only one.
add a command "Control variable: itemcount : Dreamcatcher in inventory" (it's in the game data section) below the change armor command
then modify the show text to include a \V[n], with n being the id of the variable itemcount above.
and remove the switches so that the chest can be opened multiple times in a single playthrough.
if you do this and go to the chest multiple times, what number is shown for the variable in the text each time?
OK, let's add a few commands to the chest event for testing.
Change the "change Armor Dreamcatcher" to +2 instead of giving only one.
add a command "Control variable: itemcount : Dreamcatcher in inventory" (it's in the game data section) below the change armor command
then modify the show text to include a \V[n], with n being the id of the variable itemcount above.
and remove the switches so that the chest can be opened multiple times in a single playthrough.
if you do this and go to the chest multiple times, what number is shown for the variable in the text each time?
1. What does the Rust Chest switch do?
2. What happens if you do a Quick Event treasure chest and select the Dreamcatcher? Does it work? What if you set up two or three such chests?
2. What happens if you do a Quick Event treasure chest and select the Dreamcatcher? Does it work? What if you set up two or three such chests?
Okay, I followed Andar's instructions (screenshot) and I've also recorded a short video to illustrate the effects:
In the video, the dreamcatcher continues to cause an error. The dried rose, which is also an artifact, is working as intended.
The rusted chest switch is a good question: this area has two maps which allow for the player to travel over and under catwalks. This switch remembers whether the chest should appear open or closed. This event was built from the quick event treasure chest and adjusted with only a few extra commands.
In the video, the dreamcatcher continues to cause an error. The dried rose, which is also an artifact, is working as intended.
The rusted chest switch is a good question: this area has two maps which allow for the player to travel over and under catwalks. This switch remembers whether the chest should appear open or closed. This event was built from the quick event treasure chest and adjusted with only a few extra commands.
Both the dreamcatcher and the event are completely OK, or the number would not count up in the video.
The problem is the visibility and/or usability of the armor, and that can ONLY be changed by a plugin as it is never part of functionality in the default engine.
Please check each and every option in your Visustella plugins.
I don't know them myself, but at the moment I would make almost any bet that there is an option to declare some armors as invisible or plot item or something like that, and that the default lists item ID 51 there for whatever reason.
The problem is the visibility and/or usability of the armor, and that can ONLY be changed by a plugin as it is never part of functionality in the default engine.
Please check each and every option in your Visustella plugins.
I don't know them myself, but at the moment I would make almost any bet that there is an option to declare some armors as invisible or plot item or something like that, and that the default lists item ID 51 there for whatever reason.
I disabled every plugin (one by one and all together) and the armor is still not equipable. I did find a switch in one of the plugins which allowed the armor to appear in the inventory screen, but it's still not equipable. Interestingly, it also doesn't show the stat improvements. I am mystified.
that it is now visible is one tiny step ahead - but you need to make tiny steps because some of the confusion comes from you making too many steps at once.
just in the last example you first claim that you disabled all plugins, but then show a screenshot where you obviously have several plugins active.
disable all plugins, you first need to find out why the dreamcatcher is not equipable and get it to equip now.
then rename the item with a different name, just to make sure that you can find any accidental ID mismatches by it having a different name somewhere.
second, remove the additional artefact equipment slots, so that you have only one slot for it.
and then test again after saving the project and with starting a new game.
and please give a screenshot of your types database so that we can see your default types instead of only the notetag.
just in the last example you first claim that you disabled all plugins, but then show a screenshot where you obviously have several plugins active.
disable all plugins, you first need to find out why the dreamcatcher is not equipable and get it to equip now.
then rename the item with a different name, just to make sure that you can find any accidental ID mismatches by it having a different name somewhere.
second, remove the additional artefact equipment slots, so that you have only one slot for it.
and then test again after saving the project and with starting a new game.
and please give a screenshot of your types database so that we can see your default types instead of only the notetag.
Okay, all plugins are disabled, I've given a unique name to the dreamcatcher, and I've cut the inventory to one artifact (the plugins allow for the three anyway). The problem persists. Here is a screenshot of plugins, the inventory screen (which is correct), and the types I have.
and you still can't equip the artefact, even in that configuration?
please check the dreamcatcher in the database with that specific configuration. Is it still listed as artefact there now, or is one of the two fields suddenly empty?
and check the actor/class as well, is there still an armor type "artefact" in the traits somewhere?
The reason for this is that unless one of the later updates changed that, the equip slots are also identified by ID in the engine. This means that without plugins, an slot ID2:artefact cannot hold equipment set to ID3:artefact - you would see that by several identical names in the list when assigning equip type to dreamcatcher.
And my latest guess was that the plugin to allow armors in slots of same name but different ID did not work, and you just accidentally tested with the wrong slot every time.
please check the dreamcatcher in the database with that specific configuration. Is it still listed as artefact there now, or is one of the two fields suddenly empty?
and check the actor/class as well, is there still an armor type "artefact" in the traits somewhere?
The reason for this is that unless one of the later updates changed that, the equip slots are also identified by ID in the engine. This means that without plugins, an slot ID2:artefact cannot hold equipment set to ID3:artefact - you would see that by several identical names in the list when assigning equip type to dreamcatcher.
And my latest guess was that the plugin to allow armors in slots of same name but different ID did not work, and you just accidentally tested with the wrong slot every time.
So, the type of the armor is Artifact, and the name of the slot is also Artifact. I wonder if the script commands are snarfing up the wrong data. Since the types aren't usually visible, player-side, try changing the name of the type to something else, like Accessory.
Original thread: https://forums.rpgmakerweb.com/threads/some-armors-not-being-added-to-player-inventory.178721/