oasis-b

Docs / Quests

LW_QuestLog

Quests
RPG Maker MV and MZ quest log and quest journal plugin

Quest log in the menu: quests from data/LW_Quests.json with steps, giver, place and reward, plus a tracked quest on the map.

Free World Pack (free)Story & World Essentials ($9.99)Full Collection ($19.99)

Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.

LW_QuestLog in a test project

A quest log your players actually read.

Highlights

Ideas for your game

Works well with

LW_MainMenuLW_GamepadLW_EventGlow

Introduction

Requires LW_Core. Works with LW_Gamepad and LW_MainMenu. With LW_MainMenu, add a command with the action "scene Scene_LWQuests" to its list.

A quest log the player can open from the menu. You write every quest once in data/LW_Quests.json: title, who gave it, where it happens, the reward and its steps. Events only say "start", "done" or "failed". The current step is worked out from switches, variables and items, so you never have to update the log text by hand.

In the log, L1 and R1 (Q and W on the keyboard, or the arrows at the top with the mouse) switch between the tabs Active, Done and Failed. Cross (Enter) tracks the selected quest on the map, or stops tracking it. Circle (Escape) goes back.

data/LW_Quests.json

{
  "categories": ["Main Story", "Side Quests"],
  "quests": {
    "herbs": {
      "title": "Herbs for the Healer",
      "category": "Side Quests",
      "giver": "Mara",
      "place": "Willow Village",
      "reward": "200 G and a Potion",
      "text": "Mara is out of moonleaf. It grows by the river.",
      "steps": [
        { "text": "Pick 3 moonleaf", "doneIf": "I(12) >= 3" },
        { "text": "Bring them to Mara", "doneIf": "S(21)" }
      ],
      "autoDone": true,
      "startIf": "",
      "doneSwitch": 22
    }
  }
}

Only "title" is needed, everything else is optional.

category    groups the quest under this heading. Headings come in the
            order of "categories", quests without one at the end.
steps       shown as a checklist. A step counts as done while its
            "doneIf" is true. The first open step is the objective the
            tracker shows. A step without "doneIf" stays open until the
            quest is done.
autoDone    the quest finishes by itself once every step is done.
startIf     the quest starts by itself once this is true.
doneSwitch  this switch is turned ON when the quest is done, so your
            events can check it with a normal Conditional Branch.
hidden      true = not listed while active (for secret quests).

Conditions are short script lines. You can use:

S(5)    switch 5 is ON
V(3)    value of variable 3
I(12)   how many of item 12 the party has
W(4)    how many of weapon 4, A(4) of armor 4
P(2)    actor 2 is in the party
Q('herbs')  state of another quest: 'active', 'done', 'failed' or ''
and combine them, for example "S(5) && V(3) >= 10".

Writing JSON by hand is easy to get wrong. If the file has a mistake, the console (F8) says where, and the log stays empty instead of crashing.

Plugin Commands

LW_Quest start herbs       starts the quest (no effect if it runs)
LW_Quest done herbs        finishes it, also turns on its doneSwitch
LW_Quest fail herbs        marks it as failed
LW_Quest reset herbs       forgets it, as if it never started
LW_Quest track herbs       tracks it on the map
LW_Quest untrack           hides the tracker
LW_QuestLog open           opens the log

Script Calls

LW.quest.state('herbs')      'active', 'done', 'failed' or ''
LW.quest.isActive('herbs')   true while it runs
LW.quest.isDone('herbs')     true once it is done
LW.quest.objective('herbs')  text of the current step
LW.quest.count('done')       number of done quests, for a variable
LW.quest.start(id), LW.quest.done(id), LW.quest.fail(id)

Use them in a Conditional Branch (Script) or Control Variables (Script).

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - 2026-11-24 - First release.

Plugin commands in MZ

In MZ these come as Plugin Command in the event editor, with fields to fill in. Old MV text commands from copied events keep working.

Start Quest

Starts a quest. Nothing happens if it already runs.

  • Quest ID: The ID from data/LW_Quests.json, for example herbs.

Complete Quest

Finishes a quest and turns on its doneSwitch.

  • Quest ID: The ID from data/LW_Quests.json, for example herbs.

Fail Quest

Marks a quest as failed.

  • Quest ID: The ID from data/LW_Quests.json, for example herbs.

Reset Quest

Forgets a quest, as if it never started.

  • Quest ID: The ID from data/LW_Quests.json, for example herbs.

Track Quest

Shows a quest in the tracker on the map. Empty ID hides the tracker.

  • Quest ID: The ID from data/LW_Quests.json, for example herbs.

Open Quest Log

Opens the quest log.

Introduction

Requires LWZ_Core. Works with LWZ_Gamepad and LWZ_MainMenu. With LWZ_MainMenu, add a command with the action "scene Scene_LWQuests" to its list.

A quest log the player can open from the menu. You write every quest once in data/LW_Quests.json: title, who gave it, where it happens, the reward and its steps. Events only say "start", "done" or "failed". The current step is worked out from switches, variables and items, so you never have to update the log text by hand.

In the log, L1 and R1 (Q and W on the keyboard, or the arrows at the top with the mouse) switch between the tabs Active, Done and Failed. Cross (Enter) tracks the selected quest on the map, or stops tracking it. Circle (Escape) goes back.

data/LW_Quests.json

{
  "categories": ["Main Story", "Side Quests"],
  "quests": {
    "herbs": {
      "title": "Herbs for the Healer",
      "category": "Side Quests",
      "giver": "Mara",
      "place": "Willow Village",
      "reward": "200 G and a Potion",
      "text": "Mara is out of moonleaf. It grows by the river.",
      "steps": [
        { "text": "Pick 3 moonleaf", "doneIf": "I(12) >= 3" },
        { "text": "Bring them to Mara", "doneIf": "S(21)" }
      ],
      "autoDone": true,
      "startIf": "",
      "doneSwitch": 22
    }
  }
}

Only "title" is needed, everything else is optional.

category    groups the quest under this heading. Headings come in the
            order of "categories", quests without one at the end.
steps       shown as a checklist. A step counts as done while its
            "doneIf" is true. The first open step is the objective the
            tracker shows. A step without "doneIf" stays open until the
            quest is done.
autoDone    the quest finishes by itself once every step is done.
startIf     the quest starts by itself once this is true.
doneSwitch  this switch is turned ON when the quest is done, so your
            events can check it with a normal Conditional Branch.
hidden      true = not listed while active (for secret quests).

Conditions are short script lines. You can use:

S(5)    switch 5 is ON
V(3)    value of variable 3
I(12)   how many of item 12 the party has
W(4)    how many of weapon 4, A(4) of armor 4
P(2)    actor 2 is in the party
Q('herbs')  state of another quest: 'active', 'done', 'failed' or ''
and combine them, for example "S(5) && V(3) >= 10".

Writing JSON by hand is easy to get wrong. If the file has a mistake, the console (F8) says where, and the log stays empty instead of crashing.

Plugin Commands

Start Quest        starts the quest (no effect if it runs)
Complete Quest     finishes it, also turns on its doneSwitch
Fail Quest         marks it as failed
Reset Quest        forgets it, as if it never started
Track Quest        tracks it on the map, without an ID hides the tracker
Open Quest Log     opens the log

Each one takes the quest ID from LW_Quests.json, for example herbs. Events copied from MV with "LW_Quest start herbs", "LW_Quest untrack" or "LW_QuestLog open" keep working.

Script Calls

LW.quest.state('herbs')      'active', 'done', 'failed' or ''
LW.quest.isActive('herbs')   true while it runs
LW.quest.isDone('herbs')     true once it is done
LW.quest.objective('herbs')  text of the current step
LW.quest.count('done')       number of done quests, for a variable
LW.quest.start(id), LW.quest.done(id), LW.quest.fail(id)

Use them in a Conditional Branch (Script) or Control Variables (Script).

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - First release for MZ.

Get it

LW_QuestLog is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.

Free World Pack (free)Story & World Essentials ($9.99)Full Collection ($19.99)
LW_QuestBoard →