Quest Editor
  • Docs Home
  • Guides
    • Creating a Quest
      • Storywriting
      • Starting Out
      • Adding Stages
      • Stage 1
      • Stage 2
      • Stage 3
    • Creating an Enemy
    • Creating a Location
      • Creation
  • Logic Blocks
    • If Block
    • Equals Block
    • And/Or Block
    • Not Block
    • Boolean Block
    • Null Block
    • Ternary Block
  • List Blocks
    • Create Empty List Block
    • Length Of List Block
    • Create List Block
    • Find Index Block
    • Is Empty Block
    • Get In List Block
    • Edit In List Block
    • Split String Block
  • Text Blocks
    • Text Block
  • Quest Blocks
    • Quest Block
    • Continue Check Block
    • Dialog Block
    • Take Item Block
    • Has Item Block
    • Option Block
    • Option Dialog Block
    • Promise Block
    • Stage Block
    • Switch Stage Block
    • Update Quest Block
    • End Quest Block
    • Start Quest Block
    • Send Message Block
    • User Inventory Block
    • NPC Block
    • Set Adventure Block
    • Remove Adventure Block
    • New Adventure Class Block
  • Item Blocks
    • Dummy Item Block
    • Weapon Item Block
    • Healing Item Block
    • Helmet Item Block
    • Chestplate Item Block
    • Boots Item Block
    • Ring Item Block
  • Import Blocks
    • Import Adventure Block
  • Enemy Blocks
    • New Enemy Block
  • Locations Blocks
    • New Location Block
    • Search Data Block
    • Travel Data Block
Powered by GitBook
On this page
  • Building the stage
  • Completed
  1. Guides
  2. Creating a Quest

Stage 3

PreviousStage 2NextCreating an Enemy

Last updated 6 years ago

Alright, let's focus on the last stage of our quest.

Recalling the story we wrote at the start of this guide, we can see that the third and last stage is

== Stage 3 ==

{If User Has 5 Pine Logs}
    Julian - Thank you, now I can solve this issue!
    {Continue Check}
        {Take 5 Pine Logs from User Inventory}
        {End Quest}
        {Send End Quest Dialog}
{Else}
    Julian - Have you gotten the pine logs yet?

Building the stage

In the quest block, let's focus on the New Stage: 3 block.

Starting out, drag an from the Logic tab to the workspace and edit it to have an else block by clicking the cogwheel icon and dragging an else block from the gray area to the if block, then clicking the cogwheel to close it again.

Drag a Dialog block into the else argument of the if block and set the Dialog Text to Have you gotten the pine logs yet?

Drag another Dialog block into the do argument of the if block and set the Dialog Text to Thank you, now I can solve this issue!

Drag three more Promise blocks and attach them to the bottom of the first one in our current stage.

Completed

Alright! We've completed the quest!

Next up, you can write your own quest and build it yourself, then submit it to Mackan!

After this, attach a block from the Quest to the if condition, set the Item ID to the ID of the Pine Logs which was 408 as we recall from our storywriting, and the Item Amount to 5, then attach it to the New Stage: 3 block.

Drag a from the Quest tab and attach it to the bottom of the Dialog block we just added and change the returns variable to msg, then add a to the promise block.

In the first one, add a , set the Item ID to the ID of the Pine Logs and the amount to 5.

In the second one, add a .

In the last one, add a .

After this is done, drag a and attach it right under the Has Item block.

Has Item
Promise Block
Continue Check Block
Take Item Block
End Quest Block
End Quest Dialog Block
User Inventory Block
if block
If Else
Has Item
Dialog box
Promise with continue check
Stage 3 Completed