Need Assistance, Making a Job List Event

So this is my first post - I'm usually the one looking around at other posts trying to find a solution.

The problem I am having right now is creating a conditional branch with variables to make a job list.

What I am doing is in my game you have the option to join a guild and the guy at the front desk can offer you jobs, if you are in the guild (have their insignia), and you get paid for it and you have to complete 3 Easy jobs in order to gain access to Intermediate jobs; I have it set so each time you complete a job it goes to +1 in my Job variable. The current 3 are Wolf Hunter (where you have to go kill 10 wolves and return with their 10 pelts to complete the job), Cave Troll (where a troll is hiding in a cave to kill), and Lost Dog (self-explanatory). The main issue I have is when I tried to make the list with only switches and not variables you could complete two jobs but when you talk to him again one of the previous jobs would come back on the list. So now I'm trying it with variables in a conditional branch. And for whatever reason after completing a job it would go back to the text after accepting the job and not the list. So I don't want to screw up, but I really want to make this work.

What do I need to do to make it so the same job would not be listed again after completed, without having to make more event pages (using variables and conditional branch)?

What my list looks like: 

List.PNG

How the list is set up:

howlist.PNG

One of the choices for the list, Lost Dog (switch lo goes to the page in the next picture):

acceptdog.PNG

Here is a page of completion for the Lost Dog job:

dog even.PNG

The first text is if you talk to the guy after accepting the job, and then as you can see the lines after that are if you have the dog, Minne, with you. What changes need to be done to bring it back to the job list, but have it, Lost Dog, taken off the list at the same time?

Thank you for any help!!  
biggrin.png
Yeah, this is a bit of a messy one, if you don't use scripts. Tsukihime has a Choice Options script that allows you to turn individual choices on and off based on certain conditions being (or not being) met. It might be worth taking a look and seeing if it's useful to you.

I haven't had a good look at your events, but if you've got it working as far as offering/accepting/completing the quest, and only talking about relevant things while a quest is active, then it seems the only thing you need to fix is to remove already-completed quests from the list?

In that case, start your event with a series of nested conditional branches, which check if each quest has been completed or not, and results in offering just the quests that haven't been done. I would use Labels and Jump to Label commands to avoid the need to repeat logic for each quest.

Something like this ... (some of this may revert to pseudocode, so you might have to figure out the correct commands to use)

Spoiler
# All of the code below is JUST checking what quests have been# done and what haven't been, and giving the player the choice.# Look further down to see what actually happens when a choice is made.Conditional Branch: Switch [0001: Wolf Hunter Completed] is ON Conditional Branch: Switch [0002: Cave Troll Completed] is ON Conditional Branch: Switch [0003: Lost Dog Completed] is ON # This means all quests at this level have been done # You might add logic here to advance the level, which # then activates another page for the next lot of quests. # Or you might already have this logic worked out in your # quest completion code - in that case, just leave this empty Else # Wolf Hunter and Cave Troll both done - Lost Dog not done Jump to Label: Lost Dog Quest Branch End Else # Wolf Hunter done, but Cave Troll not done Conditional Branch: Switch [0003: Lost Dog Completed] is ON # Wolf Hunter and Lost Dog both done - Cave Troll not done Jump to Label: Cave Troll Quest Else # Wolf Hunter done, Cave Troll and Lost Dog not done Show Choices: Cave Troll, Lost Dog When Cave Troll Jump to Label: Cave Troll Quest When Lost Dog Jump to Label: Lost Dog Quest Branch End Branch End Branch EndElse # Wolf Hunter not completed Conditional Branch: Switch [0002: Cave Troll Completed] is ON Conditional Branch: Switch [0003: Lost Dog Completed] is ON # Cave Troll and Lost Dog done - Wolf Hunter not done Jump to Label: Wolf Hunter Quest Else # Cave Troll done - Wolf Hunter and Lost Dog not done Show Choices: Wolf Hunter, Lost Dog When Wolf Hunter Jump to Label: Wolf Hunter Quest When Lost Dog Jump to Label: Lost Dog Quest Branch End Branch End Else # Wolf Hunter and Cave Troll not done Conditional Branch: Switch [0003: Lost Dog Completed] is ON # Lost Dog done - Wolf Hunter and Cave Troll not done Show Choices: Wolf Hunter, Cave Troll When Wolf Hunter Jump to Label: Wolf Hunter Quest When Cave Troll Jump to Label: Cave Troll Quest Branch End Else # None of the quests have been done yet Show Choices: Wolf Hunter, Cave Troll, Lost Dog When Wolf Hunter Jump to Label: Wolf Hunter Quest When Cave Troll Jump to Label: Cave Troll Quest When Lost Dog Jump to Label: Lost Dog Quest Branch End Branch End Branch EndBranch End # At this point, all the quests have been checked and the player # has been given the choice of available quests.# If there is a "cancel" option where they don't have# to choose, include the segment below# ---------------------------------------------------Show Text: <<whatever you want the NPC to say if they cancel>>Exit Event Processing# Exit Event Processing is used to skip all the choice processing# stuff below# ---------------------------------------------------# Now we get to actually processing the choices.# The following logic will happen for each one.# ------ WOLF HUNTER ------Show Text: <<talk about wolf hunter quest>>Show Choices: Accept, DeclineWhen Accept # turn on switches or self switches, whatever is # needed to activate the wolf hunter questWhen DeclineBranch EndExit Event Processing# ------ CAVE TROLL ------Show Text: <<talk about cave troll quest>>Show Choices: Accept, DeclineWhen Accept # turn on switches or self switches, whatever # is needed to activate the cave troll questWhen DeclineBranch EndExit Event Processing# ------ LOST DOG ------Show Text: <<talk about lost dog quest>>Show Choices: Accept, DeclineWhen Accept # turn on switches or self switches, whatever # is needed to activate the lost dog questWhen DeclineBranch EndExit Event Processing# ^ since this is at the end of the event anyway, it's a bit# redundant, but I included it for consistency
If that hasn't instilled enough fear into your heart to go with the scripting option, and you want to go through with this, shout if you get stuck.

Original thread: https://forums.rpgmakerweb.com/threads/need-assistance-making-a-job-list-event.37083/