.
RGSS3 Script RequestsThere is a plugin called "KeyItemAlone" in the Kadokawa folder, you might wanna give that one a try.
Edit: Sorry I didn't relaize this was VXA, but maybe the same exists for it.
Edit: Sorry I didn't relaize this was VXA, but maybe the same exists for it.
I believe if you take out the exclamation mark it would work.
item.is_a?(RPG::Item) && item.key_item?
item.is_a?(RPG::Item) && item.key_item?
Wow... It really was that simple!
I swear, Ruby confuses me so much. Why does an exclamation point make item.key_item exclude Key Items? Lol
Well, thank you so much for solving my problem 🙂
The exclamation mark is to signify a 'not' or 'opposite' condition. Normally you check for a value, when it's a ! you're checking for the opposite.
In this case it was ! (not) item.key_item which shows all items that are not key items.
Original thread: https://forums.rpgmakerweb.com/threads/104766/