Need Script Help.

I am trying to do a quest where the player 1 single in party is to bring 4 Junk to a guy to progress to next phase
however when it comes to the if branch conditional thing i need a script

$game_party.items.include?($data_items[item_id]) is what i currently have All I want is for the npc to check for 4 junk #0007 in DB then more on with rest of if statement wtf am I doing wrong. I am using RPG Maker VM
Why not use a variable and a conditional check?

Control Variable, select 'Game Data'
Select Item Possession Count.

Conditional check - is that variable equal to or greater than 4?
If it is, do stuff
else do other stuff.
What you have there is just a check to see if the player has ANY of the item. This is exactly the same as using the Item [X] in Inventory test in the Conditional Branch. To check that they have a certain number (or more) of an item, you need to set a variable first, as shown above, and then use the variable in your conditional branch.
Hey thanks for the replies it means a lot to me. It helped a lot and I learned something. I just realized what game data... you mean Database?
No, Game Data and Database are 2 quite different things.
Database is the editor where you have the various tabs.
Game Data contains all sorts of things - I suggest you click on it and look through all your possible options.
As I looked it up I found a video that when through a Control Variable thing... I will have to self teach how to make the Junk = 4 continue with conditional... But I am not longer stuck thank you 🙂

Original thread: https://forums.rpgmakerweb.com/threads/need-script-help.96064/