RMMV Yanfly Item Core Instanced Weapons Break Item Type Detection

Capitán

kind of a big deal
Veteran
Joined
Jul 9, 2013
Messages
572
Reaction score
145
First Language
Engilsh
Primarily Uses
RMMV
Yanfly Item Core Instanced Weapons Break Item Type Detection,

When using Yanfly Item Core's feature to give weapons, armor and item a limit and making them independent, the DataManager.isItem(); DataManager.isWeapon(); DataManager.isArmor(); functions no longer work properly. When either of these functions are called no matter what false is returned. Has anyone else ran into this problem? The only solution I thought of so far would be to write a note into each item individually with something like <Item Type: Weapon> and writing a function that can read this but this feels a bit messy.

Thanks for your help!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,240
Reaction score
7,618
First Language
German
Primarily Uses
RMMV
are the plugins in the correct order?
in most cases where strange behaviour happens with yanfly's plugins, that happens because the plugins arein the wrong order...
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
768
Reaction score
476
First Language
English
Primarily Uses
RMMV
It doesn't look like ItemCore makes any change to that function. In fact DataManager.isIndependent() uses those functions inside it, so it would seem that it not only should be working, but is expected to be working, as it was used in a function added by this plugin.

Load order is the most likely cause of this issue, I'd say.
 

Capitán

kind of a big deal
Veteran
Joined
Jul 9, 2013
Messages
572
Reaction score
145
First Language
Engilsh
Primarily Uses
RMMV
@ramza @Andar Wow that plugin order seemed to be the problem, I had not even thought of that as I usually don't have problems with my self-written plugins compatibility with Yanfly, thanks a ton.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Profile Posts

currently listening to Driftwood Gaming streaming some MZ dev time and it's delightful! had no idea they were this entertaining, love it
In quarantine, will be tested soon. This year is really something... special.
I was at another orientation yesterday and I realized I'll be working with an old friend! We met at the local water park a few years back and it was so nice to see her again! We had a chat, and next week when I officially start, I'll see if maybe we can trade our Zoom IDs so we can talk!
I made some sideview closets for MV!
You can find them in my MV resource thread.

Forum statistics

Threads
105,509
Messages
1,014,319
Members
137,194
Latest member
purboy
Top