Needing some assistance with a job specific item finding ability

Ok, so my basic concept I am trying to figure out is. I have created a farmer job, on all the maps I want only the farmer to be able to find and pick up items like carrots from a carrot field. I want it to have a small pop up over his head and for him to be able to pick up the item. I want the graphic on the map to switch from a crate of carrots to an empty crate, or from planted carrots to an empty plot. Is this possible? I am very new with the scripting aspect of this program so I'm sorry in advance if I ask too many questions. If you know of tutorials out there already I would so very much appreciate it because I have been looking for them, but I have just had no luck finding them. I might even just be searching the wrong thing too. Thank you again in advance for any help anyone gives me.
absolutely no need for scripts, this is basic eventing.
just make crate events with two pages, one empty and one full, and condition the second (full crate) page to either actor or switch or however you want the case triggered.

Some eventing tutorials are linked in my starting point tutorial (see my signature)
I tried that but it still was obtainable items by other jobs. It wasn't a job specific ability.
Does the farmer job has a variable/switch that represents it? If not, you'll have to add it so you can do what you want to do here. You can do that by adding a variable/switch whenever the farmer job starts, and then you can use that variable with a conditional so only the farmer can see the special crates.
Wow that sounds so confusing to me.
What Marsigne is doing is, or to break it down for us, when does the player take on the farmer job? From the start?

Also is it a class or job? By that, I mean is it an option in the class tab of the database and has its own stats and stuff.
OK here is a fairly long winded detailed concept I'm thinking. I have my six main classes, that will branch off to advanced classes. I then have several job classes. Examples are, farmers, alchemists, lumber jacks, and a bunch of others as well. Jobs can be easily switched at any "Trade" Center. Witch will give the player the ability to switch and level up every job whenever they want if they would like.
Now with my Farmer.
I want the farmer job class to have an ability when he gets close to a "harvest able" item on any of the maps the exclamation bubble pops up, and he can then harvest the item, but I want it to work for that class and that class only. I also am trying to figure out how to switch the crates/carrots and other tiles from something that looks full to something that looks empty.
I am also setting up weather, and time in the game that way crops can grow back over several days passing by.
Is that a little better explanation?
So here is a couple of ideas. One, I don't know whether you are using Vx Ace or MV for this project but I am going to assume MV since it is listed as your primarily used engine. Yanfly has a plugin for class changing and subclasses. In the plugin (link below), you can set it to Subclass-only. A nifty feature I think you'll like. Because it is a subclass, I believe the subclass will go into the regular class tab. The theory is that you'd use a conditional branch for sensing if the character(s) set as a farmer.

If something like that doesn't work, I'm sure you'll have choice options at the Trade Centers, in which case every single trade center could have, in the farmer branch of choices, a switch that turns on. Let's say: Farmer Harvest. Then for each container, you could also set the switch trigger for the filled up boxes for if it senses the character being a farmer versus if none were. However, the problem I see with this is in each subclass you have you'd have a switch, or variable setting, and you'd have to make sure to turn off every switch. If you use a variable, set Farmer to one, Alchemist to 2, and so forth. So every time you switch it would just say set var: subclass = ? whatever the number to the subclass.

Let me know if that makes sense and if one sounds better than the other.

Link to Yanfly's Subclass Plugin: HERE!
I do understand that, but with RPG Maker MV I have no clue how to make that happen. Honestly, I think I just need to learn how all the scripting works on this thing. I would rather do all of my own scripting instead of using someone else's. I will never really figure this out if I just keep using everyone else's plugins.
'Game Mechanics Design' is for looking at aspects of game play at a more conceptual level. "How do I...?" (implementation) questions go in the Support forum for the engine you are using.
Moved to: RPGMaker MV
Honestly, I think I just need to learn how all the scripting works on this thing.
I tried that but it still was obtainable items by other jobs. It wasn't a job specific ability.
I think you misunderstood several things.
Doing this by script or plugin is a rather bad way to have it done - as I told you before, it is a pure eventing task that you have here. And the event engine is written in a way that these tasks are made simpler by eventing, it is extremely complex to have such a thing done by scripting.
And if it didn't work with your first try, then that is because you did something wrong with that event and not that it is impossible.

Before this, you hadn't posted enough info to even give you basic advice on how to do it - and if you have problems with an event you should post a screenshot of that event, because then we can tell you what you did wrong.

That said, with the added info you gave in your later posts the solution by eventing is probably very simple.
The first step is to go into the events where you change jobs/classes. There you need to add control switch commands that turn on or off the abilities depending on whether a farmer (or whatever else) is in the party after the change.

The second step is the crates, which need to be two pages.
The first page has a sprite or a tile of an empty crate and no condition.
the second page has a sprite or tile of a filled crate and is conditioned to the switch for farmer.
and the contents of both pages are what should happen with the crate when the player interacts with it.

There are a few more points to handle depending on what exactly you want to happen and whether you want the crates to have different contents for different jobs - that usually will require additional pages and perhaps a few tricks with timers or so, but it is still an eventing solution.

Scripting and plugins should only be used if you want changes in the menues or implement complex game mechanics, but not for something simple as deciding what contents a chest on the map should have.
Why I agree with the fact of having plugins should change menus and or game mechanics, I also see nothing wrong in using something completely free to use for the first project of this kind. Yanfly didn't make it so that people wouldn't use it and did put hard work into making all of their plugins. However, Andar is correct in that you could just script it. There are probably a few different ways of going about it. But that is up to you to figure out how exactly you'd like to do it.

I'm also not the most known in MV, because I have not used it in a while. I've only kind of dabbled in it when I early ordered it. I could try to help you at some point if you are free.

Just look up some tutorials and ask more questions here with screenshots about the scripting window if you need help.
Why I agree with the fact of having plugins should change menus and or game mechanics, I also see nothing wrong in using something completely free to use for the first project of this kind. Yanfly didn't make it so that people wouldn't use it and did put hard work into making all of their plugins. However, Andar is correct in that you could just script it. There are probably a few different ways of going about it. But that is up to you to figure out how exactly you'd like to do it.

I'm also not the most known in MV, because I have not used it in a while. I've only kind of dabbled in it when I early ordered it. I could try to help you at some point if you are free.

Just look up some tutorials and ask more questions here with screenshots about the scripting window if you need help.
Oh I am not saying other people's scripts are bad by any means at all, I was just saying, since this is my first game I would rather make and do all aspects of it myself. Sadly that is just how I am in life in general. I never do anything the easy way, even my own death will be the hard way. LOL
When it comes to making the events, so far I got transfer player, and the easy things figured out. I tried to make an animated treasure chest, but all I manged to do in the event was make the dumb box dance. Yup I am that new.

I think you misunderstood several things.
Doing this by script or plugin is a rather bad way to have it done - as I told you before, it is a pure eventing task that you have here. And the event engine is written in a way that these tasks are made simpler by eventing, it is extremely complex to have such a thing done by scripting.
And if it didn't work with your first try, then that is because you did something wrong with that event and not that it is impossible.

Before this, you hadn't posted enough info to even give you basic advice on how to do it - and if you have problems with an event you should post a screenshot of that event, because then we can tell you what you did wrong.

That said, with the added info you gave in your later posts the solution by eventing is probably very simple.
The first step is to go into the events where you change jobs/classes. There you need to add control switch commands that turn on or off the abilities depending on whether a farmer (or whatever else) is in the party after the change.

The second step is the crates, which need to be two pages.
The first page has a sprite or a tile of an empty crate and no condition.
the second page has a sprite or tile of a filled crate and is conditioned to the switch for farmer.
and the contents of both pages are what should happen with the crate when the player interacts with it.

There are a few more points to handle depending on what exactly you want to happen and whether you want the crates to have different contents for different jobs - that usually will require additional pages and perhaps a few tricks with timers or so, but it is still an eventing solution.

Scripting and plugins should only be used if you want changes in the menues or implement complex game mechanics, but not for something simple as deciding what contents a chest on the map should have.
OK so one step at a time. The biggest step is how do I event a the player and characters with JOBS when they have a class? Like the main character, if he chooses to be a mage he can, but he can also have a job. So he would be a mage-farmer. That's the part I'm having the most difficulty with right now.
When it comes to making the events, so far I got transfer player, and the easy things figured out. I tried to make an animated treasure chest, but all I manged to do in the event was make the dumb box dance. Yup I am that new.

So for the chest, you can always right click and do the quick chest event and then go in to edit it. See what the engine does for chests and learn based off of that. Maybe you want to tweak it, but there is a stepping stone to learning how the RPG Maker does it automatically for you.


OK so one step at a time. The biggest step is how do I event a the player and characters with JOBS when they have a class? Like the main character, if he chooses to be a mage he can, but he can also have a job. So he would be a mage-farmer. That's the part I'm having the most difficulty with right now.

Well, again, this can be done in a few ways. At least some I can think of. Ander might have an easier way, not sure, but you could use switches for the subclasses. So he picks farmer, a switch goes on for farmer. You can do variables, one called Farmer, turn it to one. Maybe you even have a bonus if four characters pick farmer. Easy to do that this way with variables.

I don't know the flow of your game, but I'd go with variables just because I know I would do something with bonus' on how many characters choose to be farmers, or something around that.
OK so one step at a time. The biggest step is how do I event a the player and characters with JOBS when they have a class? Like the main character, if he chooses to be a mage he can, but he can also have a job. So he would be a mage-farmer. That's the part I'm having the most difficulty with right now.
OK, had I known you didn't even have that part ready, my answer would have been different.

There are several ways to do this depending on what exactly your game has as options.

First way is to simply assign a few variables and tell the player indirectly what the characters are.
This works best with only a few party members (because you'll need those variables for every actor in the party) and it means that the actor has no additional benefits other than those that are given by eventing.
In this case the jobchange event would do nothing thatn change those variables, and the player would not be able to see the current job unless he goes to an event that checks this.

Second way is to store the job data in states - this will give you the ability to add features to the actor on receiving a job, but it also means that the jobstate is lost on death and needs to be reset after death.

The third option is to use a plugin for secondary classes and declare the secondary class to be the job.

The fourth option is to request a new plugin specifically for what you want.
^^ If you use the state method you can stop them being removed with a yanfly plugin

http://yanfly.moe/2016/04/03/yep-89-state-categories/

Original thread: https://forums.rpgmakerweb.com/threads/needing-some-assistance-with-a-job-specific-item-finding-ability.97010/