The in-game character creator. What This Module Does
A quest is a record in data/ReactorQuests.json, authored in Database > Quests (its own file and global: plugins own data/Quests.json and $dataReactorQuests - YEP_QuestJournal, GS_QuestSystem - and must keep them): a name, a category, who gives it and where, a description, objectives and rewards (each can start hidden, and each can give gold, an item, EXP or a common event), and the rule that makes it appear - an event command, a switch, a variable, or the start of the game. The player's progress lives on $gameSystem, so it saves with the game. The tracked quest shows on the map in Window_QuestTracker.
Classes & Namespaces
ReactorQuests
23 functions →
Game_Quests
27 functions →
Game_System
1 function →
Game_Map
1 function →
Scene_Boot
3 functions →
Scene_Quest
12 functions →
Window_QuestCategory
6 functions →
Window_QuestList
10 functions →
Window_QuestDetail
8 functions →
Window_QuestTracker
14 functions →
Scene_Map
2 functions →
Design Notes from the Source Code
A quest is a record in data/ReactorQuests.json, authored in Database > Quests (its own file and global: plugins own data/Quests.json and $dataReactorQuests - YEP_QuestJournal, GS_QuestSystem - and must keep them): a name, a category, who gives it and where, a description, objectives and rewards (each can start hidden, and each can give gold, an item, EXP or a common event), and the rule that makes it appear - an event command, a switch, a variable, or the start of the game. The player's progress lives on $gameSystem, so it saves with the game. The tracked quest shows on the map in Window_QuestTracker.
$gameSystem.quests() the progress record (Game_Quests) .discover(id) .complete(id) .fail(id) .reset(id) .status(id) .setObjective(id, index, "show" | "hide" | "complete" | "fail" | "reset") .setReward(id, index, visible) .giveRewards(id, index) .setTracked(id) .tracked() .known() .completed() .failed() ReactorQuests.find(idOrKey) the data record by id or key Scene_Quest the quest log; "Quests" in the main menu
Plugin commands (plugin "RPGReactor"): QuestSet, QuestObjective, QuestReward, OpenQuestLog - the event editor offers them under Reactor > Game Flow. A stock MZ runtime ignores all of it.
View reactor_quests.js on GitHub · Show internal (_) functions