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
  • Creating the location
  • Adding the Location
  • Adding NPCs
  • Adding Travel Data
  • Adding Search Data
  • Done!
  1. Guides
  2. Creating a Location

Creation

PreviousCreating a LocationNextIf Block

Last updated 6 years ago

Creating the location

In order to create the location, we need to have some basic data for the location to make the creation as simple as possible.

If we refer to the we see what data we need.

In order to efficiently keep track of the data, I like to write a small note with the data, keeping the different types of data on their own line, and using == to seperate different sections of the data.

To specify a location in the travelling data we'll use square brackets with the location name in them ([Location Name])

For now, let's go with the following:

Name: Vexdence
Kingdom: Illeria
Description: An enchanted location filled with mystery
Minimum Level: 10
Members Only: No
Has Market: Yes
Can Adventure: Yes

== Sides ==

Can Fish: Yes
Can Chop: No
Can Mine: Yes
Can Forage: Yes

== NPCs ==

Josh <ID: 200>

== Travel Data ==

[Silverkeep]
    ID: 1
    Travel Time: 10 seconds
    Travel Type: Default

== Search Data ==

[Rock]
    ID: 42
    Amount: 1
    Chance: 100

Adding the Location

Great! Now we have our location data written down, and we can start actually creating it.

Adding NPCs

Now that we've got our fields in, let's add our NPC.

Adding Travel Data

Alright! Now we have to add our travel data!

Adding Search Data

We're almost done, we just have to add our search data now.

Done!

And we're done!

If everything was done right, you should end up with something such as this:

To do this, drag a into the workspace from the Locations category of the toolbox and fill it in with the values we specified in our data file, giving the Location ID the value of 2 for now and giving the Recommended Level field the same value as our Min Level field as specified in the blocks documentation.

To do this, drag a block to the workspace and attach it to the NPCs field of the location block, then remove two items from the list by clicking the cogwheel, dragging the item blocks to the grey area and clicking the cogwheel again to close it.

Next, add a block to the list and set it to the ID of our NPC, 200.

Block With NPC

To do this, drag a block to the workspace and attach it to the Travel Data field of the location block, then remove two items from the list by clicking the cogwheel, dragging the item blocks to the grey area and clicking the cogwheel again to close it.

When there is one item left in the list, drag a block to the spot in the list and fill it with our Travel Data from the Location Data we wrote earlier.

To add the search data, drag a block to the workspace and attach it to the Search Data field of the location block, then remove two items from the list by clicking the cogwheel, dragging the item blocks to the grey area and clicking the cogwheel again to close it.

After this, drag a block to the spot in the list we just added and fill it with the values we have in our location data.

Location Block Documentation
New Location Block
Create List With
Text
Create List With
New Travel Data
Create List With
New Search Data
Location Block Filled
Travel Data Block Filled
Search Data Block Filled
Location Done