QuestSystem.js
Vlue's Plugin's (Crafting,Quests,Inventory,Time,Steal)
● ARCHIVED · READ-ONLY
-
-
Okay, down the list:There is one small issue/bug remaining with the Quest Plugin. When you have more than 4 categories, and you initially open the Quest Journal... If you press down, to select a quest, instead it cycles down into the fifth category... The only way then, to select your quest is to press up. Likewise when you are in the 5th category, all you can do is select by pressing down. ;)
I hope I explained that adequately.
A few requests for the Quest Plugin, would be:
- Some information on the expScale: optiion. Specifically how its used correctly.
- A way to call the quest log to open on a specific quest. (For when objectives are updated, auto accepted, auto failed, etc...)
- A clear way for the player to know they failed a quest. (Perhaps a failed quest category. Currently, the only way I can think of let them know is with a revealed objective.)
- A way to change a quest objectives max: value. (So the players actions my change the values or remove them completely - make them 0 - without requiring a totally separate quest)
- A way to query a current objectives values. (Max & Current value)
A few things I'd like to request for the Crafting Plugin.
- The ability to manually name the recipe. (Rather than have it auto name via the results)
- For the recipe ingredients to reflect their name, like the quest plugin rewards do. (So item name color - added by other plugins - is reflected)
- There are a few line padding issues for recipes with gold costs.
15_1211_crafting_issues_1.PNG
Thanks for everything!
-Changed the quest journal so both category and list window are not active at the same time (fixing the 5+ category bug)
-Added info in the help file to explain expScale - what it does is modify the exp gained by that percentage times the difference in player level and quest level (i.e questLevel 10, playerLevel 5, expScale 10 : (10-5)*10=50% increase in exp)
-You can now append a number to the end of the plugin command quest call and if that quest is present on the initial list it will focus on that one
-Added a Failed quest category
-New plugin command to alter the max value of an objective: quest max # # #
-You could already get the current value of an objective (thats quite needed, i wouldnt leave it out D:) with the script call: this.obj(questId, objId)
-You can now get the max value of an objective with a similar script call: this.objMax(questId, objId)
-You can now supply a name for a recipe with name:recipeName
-Yes, oddly enough materials didn't use the built in drawItemName function... fixed
-Padding issues fixed, as well as scrolling windows added for recipes with 8+ materials
In addition:
-Error messages added to certain quest plugin commands to tell if quest/objective not found (objective ids start at value 0 - also clarified in help)
-Added 'recipe' items to Recipe Crafting, these items grant a single recipe as long as they are in the inventory. Set via notetag.
http://daimonioustails.weebly.com/recipe-crafting-mv.html
http://daimonioustails.weebly.com/quest-system-mv.html -
Thanks! I'll get to seeing if I can't break something.
-
Small issue with the new note tag. ;)
Code:TypeError: Cannot read property 'note' of null at Game_Party.gainItem (/X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/recipecrafting.js:1189) at Game_Actor.tradeItemWithParty (rpg_objects.js:3633) at Game_Actor.changeEquip (rpg_objects.js:3616) at Game_Actor.changeEquip -
Odd, didn't know null got normally passed around in there. Fixed! ...probably. I'm sure. (1.3d)Small issue with the new note tag. ;)
TypeError: Cannot read property 'note' of null at Game_Party.gainItem (/X:/SkyDrive/_RMMV%20Projects/Projects/Prequel%20Project/js/plugins/recipecrafting.js:1189) at Game_Actor.tradeItemWithParty (rpg_objects.js:3633) at Game_Actor.changeEquip (rpg_objects.js:3616) at Game_Actor.changeEquip
http://daimonioustails.weebly.com/recipe-crafting-mv.html -
Thanks for the quick fix Vlue!
The addition of having a recipe item to grant a recipe is great, and opens up some consumable recipe possibilities. But could I request a small addition to that functionality?
Specifically the ability to have a recipe item, ignore or override the learned recipe level. Possibly, allow for the item to define its own level?
Thanks again. :)
edit: I understand that you can simply make a second recipe identical in every way other than the level and just use that. I was mostly thinking of the fact that its easier to create items in the database than it is to stuff the recipe list with duplicate recipes. It gets enormous already. ;) (and its an added step)
I won't complain if you refuse. :D -
Can anyone help me with this error

I'm trying to setup for quest ID5, but it keeps throwing this error at me because I got token illegal error before and I decide to remake it, but this error keeps coming.
Quests.txt
I uploaded the quest text file. -
its because you skipped quest5 you cant skip numbers
-
I did not skip a number. I go like this
Quest 1, 2 , 3, 4 and 5 -
Quest System still crashing game
Uncaught Reference Error: item is not defined. -
the file you attached went 1.2.3.4.6I did not skip a number. I go like this
Quest 1, 2 , 3, 4 and 5 -
can you show screen of the console pleaseQuest System still crashing game
Uncaught Reference Error: item is not defined. -
rpg_managers.js:1588 Uncaught ReferenceError: item is not definedcan you show screen of the console please
rpg_managers.js:1589 file:///E:/Enterbrain/MV/Moon2f%20Discord/index.html?test
index.html:2 Uncaught ReferenceError: item is not defined -
When I try to call the crafting scene via event, the game throws the error "incorrect category name". However, it's spelled the exact same way as it is spelled in the Plugin Manager for the crafting plugin. I also have a .txt document under data that uses that same category as their category.
Is there something I'm doing wrong? -
can you upload your .txt and a screen of your event where your calling it pleaseWhen I try to call the crafting scene via event, the game throws the error "incorrect category name". However, it's spelled the exact same way as it is spelled in the Plugin Manager for the crafting plugin. I also have a .txt document under data that uses that same category as their category.
Is there something I'm doing wrong? -
Here's what's in my .txt file:
<recipe1>
result:{type:"item", id:5, amount:1}
<materials>
{type:"item", id:9, amount:2, cons:true}
{type:"item", id:7, amount:1, cons:true}
{type:"item", id:25, amount:1, cons:true}
<materials>
success:100
category:Kitchen
reverse:false
craftMultiple:false
known:true
<recipe1>
<recipe2>
result:{type:"item", id:24, amount:1}
<materials>
{type:"item", id:23, amount:1, cons:true}
{type:"item", id:8, amount:1, cons:true}
<materials>
success:100
category:Kitchen
reverse:false
craftMultiple:false
known:true
<recipe2>
http://sta.sh/0gir2b88xva - The event page I'm using to call the crafting scene
http://sta.sh/0xqarcdet6i - How the "Categories" parameter is set up in the Plugin Manager
(Please excuse the fact that I'm using dA's sta.sh, it's the only site I have for uploading images privately, since I don't know how to/if I can upload to my gallery on here.) -
Seams like you have the plugin saved as recipecrafting.js when it should be RecipeCrafting.jsHere's what's in my .txt file:
<recipe1>
result:{type:"item", id:5, amount:1}
<materials>
{type:"item", id:9, amount:2, cons:true}
{type:"item", id:7, amount:1, cons:true}
{type:"item", id:25, amount:1, cons:true}
<materials>
success:100
category:Kitchen
reverse:false
craftMultiple:false
known:true
<recipe1>
<recipe2>
result:{type:"item", id:24, amount:1}
<materials>
{type:"item", id:23, amount:1, cons:true}
{type:"item", id:8, amount:1, cons:true}
<materials>
success:100
category:Kitchen
reverse:false
craftMultiple:false
known:true
<recipe2>
http://sta.sh/0gir2b88xva - The event page I'm using to call the crafting scene
http://sta.sh/0xqarcdet6i - How the "Categories" parameter is set up in the Plugin Manager
(Please excuse the fact that I'm using dA's sta.sh, it's the only site I have for uploading images privately, since I don't know how to/if I can upload to my gallery on here.) -
I have it saved as Vlue_Crafting, mostly because I didn't realize that the name of the plugin would affect whether it works or not.
Just out of curiosity, what should the Quest plugin be called, because I'm also using that one. -
QuestSystem.jsI have it saved as Vlue_Crafting, mostly because I didn't realize that the name of the plugin would affect whether it works or not.
Just out of curiosity, what should the Quest plugin be called, because I'm also using that one. -
Thank you so much, it's working now.