MZ Quest System - Adds a quest system.

Author: DKPlugins
Version: 0.1.0 ALPHA
Description: Adds a quest system.

Features:
  • Quest objectives:
    • Objectives that can be completed by the plugin command.
    • Objectives with progress, which can be managed either through the plugin command, or automatically track progress, for example, from variables or any of your Javascript code.
    • Objectives can be hidden, encoded, or optional.
  • Quest description:
    • You can specify a multi-line description of the quest, insert images using the special code \img[filename]
    • You can hide and replace description using plugin commands.
  • Quest rewards:
    • Items, exp and gold.
  • Ability to track quests on the game map.
  • Lots of appearance settings.

Planned features:
  • Periodic quests (daily, weekly).
  • Repeatable quests.
  • Ability for the player to refuse the quest. [Added]
  • Ability to select rewards upon completion of the quest.
  • More appearance settings.
  • Support for multi-currency rewards plugins.
  • Transfer quests from other plugins.
  • Graphic button to open the quest log on the map. [Added]
  • Show/hide quest log window by keyboard/gamepad button. [Added]
  • Quest acceptance window.

Preview:
Spoiler
Screenshot_2.png

GIF.gif

Screenshot_3.png

Attention!!!
This is the ALPHA version of the plugin!!!
This means that the plugin contains errors, shortcomings, and some functions may not work at all.
The plugin has virtually no documentation, some parameters are not translated.
Each new version of the plugin may not be compatible with the previous one, so you will have to configure it again. It is also not recommended to use game saves with different versions of the plugin.

Send your ideas for improving the plugin, as well as screenshots of the appearance you were able to achieve using the settings!

Plugin page:
https://dk-plugins.ru/quest-system/
Version 0.0.2 ALPHA
  • The setting for tracking new quests has been changed. You can now add a setting to the game options to track new quests.
  • Changed the quest description setting. Now you can set the visibility of each line. The plugin command for adding new description lines has been removed.
  • Added the ability to hide the quest log from the menu
  • Added the ability to hide quest rewards
  • Added the ability to hide the Objectives label
  • Fixed an issue with progress objectives
  • Other fixes and improvements

First post updated.
Version 0.0.3 ALPHA
  • Added quest grouping settings
  • Added new quest indicator
  • Added a graphic button to open the journal on the game map
  • Added the ability to open the journal on the game map using the keyboard and gamepad
  • Added the ability to display objective progress as percentages
  • Added quest sorting
  • Added new appearance settings
  • Added the ability to hide the Rewards label
  • Other fixes and improvements

First post updated.
Version 0.0.4 ALPHA
  • Bug fixes
Perfect plugin. Later, I will download it !
New version coming soon

Spoiler
Screenshot_2.png
Version 0.0.5 ALPHA
  • Grouping quests by difficulty
  • Ability to decline quest
  • Changed the appearance of the quests log window on the game map
  • Ability to open a journal at a specific quest
  • Ability to display objectives with progress as a fillable scale
  • Added display of a hierarchical tree for quests within a group
  • Other fixes and improvements
Spoiler
Screenshot_2.png
Version 0.1.0 ALPHA
  • The plugin settings have been regrouped for greater convenience. The regrouping will continue in the next updates.
  • Added many appearance settings.
  • Other fixes and improvements.
i love your plugin! i have small problem i keep getting an error saying "Cannot read property 'id' of null
i love your plugin! i have small problem i keep getting an error saying "Cannot read property 'id' of null
At what point in the game do you get the error? If you upgraded from version 0.0.5 (or earlier) to version 0.1.0, then you need to reconfigure the plugin (remove the plugin from the plugin manager, save the project, add the plugin again)
At what point in the game do you get the error? If you upgraded from version 0.0.5 (or earlier) to version 0.1.0, then you need to reconfigure the plugin (remove the plugin from the plugin manager, save the project, add the plugin again)
Hi, apologies for the late reply. I encountered an error whenever I interacted with one of my NPCs, Marco. To provide some context in my game, Marco asks the player to kill 3 wolves in exchange for information. I'm not sure if I'm using your plugin command correctly; this is just based on my understanding, but it somehow works. The only problem is that it gives me a "cannot read property id" error whenever I talk back to Marco after getting the quest. I'll also include a picture of the error. Additionally, I would like to ask how to create the objective bar, similar to what's shown in your preview. Your help will be greatly appreciated. I'll attach pictures for reference.
Spoiler: Pictures
GettingTheQuest.png

QuestisAcceptedandDisplayed.png

WhenTheQuestIsComplete.png

Journal.png

Bar.png

Error.png
Additionally, I would like to ask how to create the objective bar, similar to what's shown in your preview
Go to the quest objective settings. In the "Mode" parameter, select “Progress” (as in the first screenshot), then set the maximum objective progress (as in the second screenshot).
You also need to enable the display of the progress bar. To do this, open the Details window settings -> Quest objectives -> Progress style and select "bar" (as in the third screenshot)

Spoiler
1)
Screenshot_3.png

2)
Screenshot_4.png

3)
Screenshot_5.png
Go to the quest objective settings. In the "Mode" parameter, select “Progress” (as in the first screenshot), then set the maximum objective progress (as in the second screenshot).
You also need to enable the display of the progress bar. To do this, open the Details window settings -> Quest objectives -> Progress style and select "bar" (as in the third screenshot)

Yes, thank you! The progress bar is functional, but it currently starts with a value of 1. I would like it to begin at zero and only increment when I successfully defeat a wolf. Could you please confirm if this is possible through your plugin? The error still persists when I interact with Marco. I'll attach some pictures of the plugin parameters for my objectives perhaps my input is incorrect.
Spoiler: Picture
SameError.png

Bar2.png
Spoiler: PluginParameters
ObjParameters.png
I inserted the number 26 as it serves as the identifier for my Variable for DeadWolf, to know that the quest has been completed.
Spoiler: Variable
Variable.png
Yes, thank you! The progress bar is functional, but it currently starts with a value of 1. I would like it to begin at zero and only increment when I successfully defeat a wolf. Could you please confirm if this is possible through your plugin? The error still persists when I interact with Marco. I'll attach some pictures of the plugin parameters for my objectives perhaps my input is incorrect.
Spoiler: PluginParameters
I inserted the number 26 as it serves as the identifier for my Variable for DeadWolf, to know that the quest has been completed.
Spoiler: Variable
The first screenshot from the previous post shows that you first add a quest using the AddQuest command, and then immediately increase the progress of the first objective using the AddQuestObjectiveProgress command. Remove the second command.

I inserted the number 26 as it serves as the identifier for my Variable for DeadWolf, to know that the quest has been completed.
The Complete condition and Fail condition parameters are intended only for Mode = "auto". This mode is designed to automatically check the quest objective (complete or fail), in other modes ("manual" and "progress") these 2 parameters are ignored. And you have incorrectly specified the parameters by using one variable because these 2 conditions are checked at the same time and if variable 26 is less than 3 (by default all variables are 0) then the objective will automatically fail. But as I said above, for "progress" mode these parameters are ignored. The "progress" mode has its own "Progress mode" parameter, which can be "manual" or "auto". "Manual" is used only for manually control the progress of the objective (using the plugin command), in the "auto" mode you can write Javascript code in the "Progress" parameter so that the plugin automatically tracks the progress of the objective. For example, $gameVariables.value(26). Then you can simply change the variable and the progress will change with it. As soon as the progress is equal to the maximum, the goal will be automatically completed.

P.S. I can't answer your error yet, I need time to search.
P.S.S. In one of the screenshots I noticed that you first call the command to complete the quest and then to complete the quest objective. This may give an error, but nevertheless, you should not change the objectives after completing or failing the quest. The ShowQuestObjective command may also throw an error.
The first screenshot from the previous post shows that you first add a quest using the AddQuest command, and then immediately increase the progress of the first objective using the AddQuestObjectiveProgress command. Remove the second command.


The Complete condition and Fail condition parameters are intended only for Mode = "auto". This mode is designed to automatically check the quest objective (complete or fail), in other modes ("manual" and "progress") these 2 parameters are ignored. And you have incorrectly specified the parameters by using one variable because these 2 conditions are checked at the same time and if variable 26 is less than 3 (by default all variables are 0) then the objective will automatically fail. But as I said above, for "progress" mode these parameters are ignored. The "progress" mode has its own "Progress mode" parameter, which can be "manual" or "auto". "Manual" is used only for manually control the progress of the objective (using the plugin command), in the "auto" mode you can write Javascript code in the "Progress" parameter so that the plugin automatically tracks the progress of the objective. For example, $gameVariables.value(26). Then you can simply change the variable and the progress will change with it. As soon as the progress is equal to the maximum, the goal will be automatically completed.

P.S. I can't answer your error yet, I need time to search.
P.S.S. In one of the screenshots I noticed that you first call the command to complete the quest and then to complete the quest objective. This may give an error, but nevertheless, you should not change the objectives after completing or failing the quest. The ShowQuestObjective command may also throw an error.
Thank you for clarifying my questions. It now makes more sense to me, and I have a better understanding of how to use the plugin. Your help is greatly appreciated!
Thank you for clarifying my questions. It now makes more sense to me, and I have a better understanding of how to use the plugin. Your help is greatly appreciated!
I will try to add more information to the plugin help in the next updates, but I cannot yet describe the operation of the entire plugin, because with each update something changes and it will simply be double work.
I also hope that the next updates will have fewer bugs.
Hi!
I'm trying to use the plugin in my project but everytime I open the quest journal I get a "Cannot read property 'match' of undefined".

I'm using the Item and Equip core from Visustella and if I turn it off, the quest journal works, but I want to use both of them. Anyone has some idea of what's happening?

(Sorry if my english is not very good, is not my first languague)
Hi!
I'm trying to use the plugin in my project but everytime I open the quest journal I get a "Cannot read property 'match' of undefined".

I'm using the Item and Equip core from Visustella and if I turn it off, the quest journal works, but I want to use both of them. Anyone has some idea of what's happening?

(Sorry if my english is not very good, is not my first languague)
Hi.
I'll look into why these plugins may not be compatible with the journal.

P. S. The next update should be coming soon and will revamp the quest rewards.

Original thread: https://forums.rpgmakerweb.com/threads/quest-system-adds-a-quest-system.162078/