Jump to content

Multiple Quest Rewards w/ Fallback


Xeno

Recommended Posts

I'd like to share my method for creating multiple quest rewards. This method checks each time to see if there is available space in your inventory, so that you can have as many rewards as you want without having to worry about the player not getting the items.

To do this simply create a variable for your event (the one that has the quest). This will be used to determine which page you are on. Next create a variable called "(Something) Rewards". This variable will determine which item is being rewarded in the sequence. 

Here are the conditions for the 3rd page. Here, the player is tasked to return to the Disciple with 20 Poisoner Flower. The condition is that Disciple Worship is 1 & the player is on the task to return to the Disciple (Event Driven):

16d3e63c290cf4744cb3c95fe804fc21.png

And here are the event commands. This part is as simple as using conditional branches to determine whether or not you already received the reward. If the quest was to retrieve items, be sure to take the items first. Afterwards, increment the variable to begin giving the rewards.

3e5039b1327e98f9ffbeefb7e7793a1f.png

757ddfab56196ee374a184e2debe84ec.png

If the item is not given, it is assumed the player doesn't have space. The dialogue then says "You need more room in your inventory".

In this case I have a repeatable quest so at the end of the page I am setting the "Disciple Worship" variable back to 0 (1st page), and "Disciple Rewards" to 0. In the case of non-repeatable quests, simply make a 4th page with a condition "Some Quest = 2" and set the page variable to 2 instead of 0. Be sure to run End Task or End Quest as well. (May differ depending on your setup)

Link to comment
Share on other sites

1 hour ago, Khaikaa said:

As an add to this system, I designed one which lets you know how many empty slots a player has, so you can decide if give him the items or not:

 

 


Nice. These will work good together.

Link to comment
Share on other sites

Edited the main post to include commands for taking items (in the case of retrieval quests), and slightly altered the Execution Conditions - using Quest in Progress instead of Quest Complete.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...